Step Types

Python SDK - Step type definitions

Types for step execution operations.

StepExecutionStatus

Status of an asynchronous step execution.

Fields:

  • data: dict[str, Any] | None - Result data (only present when status is SUCCESS).

  • error: str | dict[str, Any] | None - Error message or details (only present when status is ERROR).

  • execution_id: str - Unique execution ID.

  • model_config: Any

  • original_filename: str | None - Original filename of the processed file.

  • request_timestamp: datetime | None - Timestamp when execution was started.

  • response_timestamp: datetime | None - Timestamp when execution was completed (only for SUCCESS/ERROR).

  • status: StepExecutionStatusType - Current execution status.

  • step_id: str | None - Step ID that was executed.

On this page