Get Automation Runs
get-automation-runsCheck automation run statuses, list recent runs, or inspect a specific run's step-by-step execution to diagnose failures.
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.Without
runId: Lists runs for the automation with optional status filter.
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, completed, failed, cancelled 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>) |