Shows the latest workflow runs, newest first: status, what started each run, the record, the step that failed with its error, calls and what Digital Workers reported.
- Changes data: no
- Who can use it: Any member of the brand.
What it is for
- Find out why a workflow run failed. See Studio.
Example prompts
- “Why did the last run of ‘Demo: Run that fails’ fail?”
- “Which workflows ran on the request “Kyiv → Lviv”?”
Reference
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
workflow_id | string | no | One workflow, by its ID, not its name. Leave it out only together with record_id. |
record_id | string | no | Only the runs started by or touching this record, in every workflow. |
limit | integer | no | How many runs, 1 to 20. 5 by default: for a record with many runs, the assistant asks for more. |
Returns
workflow_id, workflow_name, no_run and runs with status, trigger, times, error, failed_node, skipped_failures, voice_calls and agent_calls. skipped_failures lists steps that failed without stopping the run: a “completed” run can have one.
Errors
- “workflow_id must be a workflow id; leave it out only with record_id.”
- “Workflow not found.”