Trace a workflow run
get_workflow_runUse this when the user wants to read one CronCool workflow execution and a bounded page of its step statuses for troubleshooting. Returns the run's status, timings and error code plus its steps with status, attempt, timings and error code, 50 steps by default and 200 at most. Not for listing runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | Workflow run id | |
| projectId | Yes | Project id that owns the run | |
| stepLimit | No | How many steps to return, from 1 to 200; defaults to 50 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | ||
| steps | Yes | Step status, attempt, timings and machine error code. Workflow inputs, outputs, error messages, deployment details and ownership fields are excluded. | |
| status | Yes | ||
| stepsTruncated | Yes | True when the run has more steps than were returned |