Pipeline Execution
AgentBaseStepResult
Bases: BaseModel
Base class for agent step results.
Attributes:
| Name | Type | Description |
|---|---|---|
step_type |
str
|
Type of the step (e.g., "LLMStep", "ToolStep", "ConditionalStep"). |
step_id |
UUID
|
Unique identifier for this step execution. |
type |
str
|
Discriminator field for polymorphic deserialization ($type field). |
PipelineExecutionAsyncStreamedResponse
Bases: BaseModel
Response model for streaming pipeline execution requests (asynchronous client).
This model contains an async iterator that yields SSEMessage objects as they are received from the streaming response.
Attributes:
| Name | Type | Description |
|---|---|---|
stream |
AsyncIterator[SSEMessage]
|
Async iterator that yields SSEMessage objects from the streaming response |
PipelineExecutionResponse
Bases: BaseModel
Response model for pipeline execution requests in mode.
Attributes:
| Name | Type | Description |
|---|---|---|
result |
Optional[str]
|
The execution result as a string |
report |
Optional[Dict[str, PipelineStepResult]]
|
Optional Dictionary containing debugging information and execution details |
is_backup_pipeline |
bool
|
Whether a backup pipeline was used for execution |
PipelineExecutionStreamedResponse
Bases: BaseModel
Response model for streaming pipeline execution requests (synchronous client).
This model contains an iterator that yields SSEMessage objects as they are received from the streaming response.
Attributes:
| Name | Type | Description |
|---|---|---|
stream |
Iterator[SSEMessage]
|
Iterator that yields SSEMessage objects from the streaming response |
PipelineStepResult
Bases: BaseModel
Result of a pipeline step execution.
Attributes:
| Name | Type | Description |
|---|---|---|
step_id |
UUID
|
Unique identifier for the step. |
step_type |
Optional[str]
|
Type of step that was executed (e.g., "LLMStep", "ToolStep"). |
step_title |
str
|
Human-readable title/name of the step. |
result |
Optional[AgentBaseStepResult]
|
Output result from the step execution. None if step failed or produced no output. |
input |
List[AgentBaseStepResult]
|
List of input data that was passed to this step. |
success |
Optional[bool]
|
Whether the step executed successfully. None if status is indeterminate. |
completion_status |
str
|
Status of step completion (e.g., "Success", "Failed", "Skipped"). |
time_tracking_data |
Optional[TimeTrackingData]
|
Timing information for this step's execution. |
exception_message |
Optional[str]
|
Error message if the step failed. None if successful. |
debug_information |
Dict[str, Any]
|
Additional debug data and metadata from step execution. |
TemporaryAssistantAsyncStreamedResponse
Bases: BaseModel
Response model for streaming TemporaryAssistant requests (asynchronous client).
Attributes:
| Name | Type | Description |
|---|---|---|
stream |
AsyncIterator[SSEMessage]
|
Async iterator that yields SSEMessage objects as they arrive from the streaming response. Each message contains incremental data from the assistant's response. |
TemporaryAssistantResponse
Bases: BaseModel
Response model for TemporaryAssistant pipeline execution.
This model represents the response from the TemporaryAssistant endpoint, which can return either string or array results based on the discriminator.
Attributes:
| Name | Type | Description |
|---|---|---|
type |
Literal['string', 'objectArray']
|
Discriminator field indicating the response type |
report |
Optional[Dict[str, PipelineStepResult]]
|
Pipeline execution debug report (optional) |
is_backup_pipeline |
bool
|
Whether a backup pipeline was used |
execution_id |
UUID
|
Unique execution identifier |
user_input_id |
Optional[UUID]
|
Identifier for the user input |
files |
Optional[List[str]]
|
Files processed during execution |
images |
Optional[List[str]]
|
Images processed during execution |
TemporaryAssistantStreamedResponse
Bases: BaseModel
Response model for streaming TemporaryAssistant requests (synchronous client).
Attributes:
| Name | Type | Description |
|---|---|---|
stream |
Iterator[SSEMessage]
|
Iterator that yields SSEMessage objects as they arrive from the streaming response. Each message contains incremental data from the assistant's response. |
TimeTrackingData
Bases: BaseModel
Time tracking data for pipeline execution.
Attributes:
| Name | Type | Description |
|---|---|---|
duration |
Optional[str]
|
Human-readable duration string (e.g., "2.5s", "1m 30s"). None if execution not completed. |
started_at |
datetime
|
Timestamp when the execution started. |
finished_at |
Optional[datetime]
|
Timestamp when the execution finished. None if still running or failed. |