Get workflow execution
get_workflow_executionGet a workflow execution's status, billing, timing, credits, and per-step payloads. Use fault details to diagnose why a run ended.
Instructions
Get one workflow execution's status, billing, timing, credits, and full persisted per-step input/output payloads. fault explains why a non-succeeded execution ended. user means the workflow's own steps or limits. A platform fault is never billed. fault is null when the execution succeeded. billed is the billing flag. Use this tool to poll a run or inspect each step. list_workflow_executions omits step payloads.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes | The workflow's UUID. | |
| execution_id | Yes | The execution's UUID (from run_workflow). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| error | No | Arbitrary JSON owned by the producing engine. | |
| fault | Yes | Why a non-succeeded execution ended. User means the workflow's own steps or limits. A platform fault is never billed. This field is null when the execution succeeded. | |
| steps | No | Arbitrary JSON owned by the producing engine. | |
| billed | Yes | The billing flag. True only for a user-fault succeeded, failed, or timed-out execution. | |
| status | Yes | ||
| credits | Yes | ||
| ended_at | Yes | ||
| created_at | Yes | ||
| started_at | Yes | ||
| step_stats | No | Arbitrary JSON owned by the producing engine. | |
| duration_ms | Yes | ||
| workflow_id | Yes | ||
| trigger_source | Yes |