Get Automation Runs
get-automation-runsList an automation's runs or inspect a specific run to see step status, outputs, and failure reasons; use it to verify execution and debug why a run failed.
Instructions
Purpose: List runs for an automation, or get details of a specific run.
Modes:
With
runId: Returns detailed run info with step-by-step execution status, outputs, and errors. Failed and skipped runs include the reason they ended.Without
runId: Lists runs for the automation with optional status filter. Failed and skipped runs include the reason they ended (for example missing_variable or contact_deleted).
When to use:
User wants to see if an automation is working
User wants to debug a failed automation run
User asks "why did this automation fail?" or "show me recent runs"
Run statuses:
running: still going, including while it waits in a delay or wait_for_event step
quota_exceeded: paused until the team has sending quota again
completed: every step on the run's path finished
failed: a step hit an error it could not recover from. Something needs fixing
cancelled: stopped on purpose, not by an error. Someone cancelled the run, stopped the automation and its runs, or disabled or deleted the automation while the run was in progress
skipped: ended on its own because it could no longer continue. Not an error, nothing to fix, and it cannot be cancelled. The step it ended at has the reason, for example contact_deleted when the run's contact was deleted while the run was in progress
Every run is for one contact, the one named in the event that triggered it. A run cannot go on without it. For cancelled and skipped runs, steps that already finished stay finished and emails already sent are not recalled. Step statuses: pending, running, completed, failed, skipped, waiting
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"automationId": "<automationId>"
},
"name": "get-automation-runs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Cursor for forward pagination (for list mode). | |
| limit | No | Number of runs to retrieve (for list mode). | |
| runId | No | Specific run ID to get details for. If omitted, lists all runs. | |
| before | No | Cursor for backward pagination (for list mode). | |
| status | No | Filter runs by status (for list mode only). | |
| automationId | Yes | The automation ID or Resend dashboard URL (e.g. https://resend.com/automations/<id>) |