get_workflow_status
Retrieve the current status of a workflow and its steps. Poll every 5–10 seconds until the workflow reaches COMPLETED, FAILED, PARTIALLY_FAILED, or CANCELLED.
Instructions
Get the current status of a workflow and all its steps. Each call may advance the workflow by dispatching steps whose dependencies have completed. Poll every 5–10 seconds until status is COMPLETED, FAILED, PARTIALLY_FAILED, or CANCELLED.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes | Workflow ID returned by submit_workflow. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes | ||
| status | Yes | ||
| total_cost_usd | No | ||
| steps | No | Array of step status objects. | |
| completed_at | No | ISO timestamp when workflow reached terminal state. |