Get run
get_runRetrieve workflow run details: use executionId for step status, durations, inputs, and outputs; use instanceId for durable run state, history, output, error, and awaiting events.
Instructions
Get one run's details. Pass executionId (from list_runs source history) for step-by-step status, durations and recorded inputs and outputs. Pass instanceId (from run_workflow or list_runs source instances) for a durable run's state, step history, output and error, plus awaitingEvents: the event types it is parked on, which control_run send_event must use. Pass exactly one of the two. Set simple with instanceId to get only the status, for cheap polling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| simple | No | With instanceId only: skip step detail and return status and stepCount. | |
| instanceId | No | A durable run's id from run_workflow or list_runs (source instances). | |
| workflowId | Yes | The workflow's id, from list_workflows or create_workflow. | |
| executionId | No | A run-log id from list_runs (source history). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| steps | No | ||
| output | No | ||
| source | Yes | ||
| status | Yes | ||
| startedAt | No | ||
| stepCount | No | ||
| instanceId | No | ||
| executionId | No | ||
| awaitingEvents | No |