# get_automation_runs (/docs/mcp/tools/get-automation-runs)

{/* Generated by scripts/sync-mcp-tools.mjs from happierleads-api. Do not edit: change src/routes/mcp/toolDocs.json there, or add content/mcp-notes/get_automation_runs.mdx. */}

**Get an automation's runs** · Read-only

The runs of one automation, newest first: which lead each run handled, when, and whether it succeeded (and why not). Use it to check that an automation really sent leads to Slack, your CRM or a webhook. Free.

| Connection | Account URL, team member URL or OAuth |
| --- | --- |

## Parameters [#parameters]

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `websiteId` | `string` | Yes | Website ID from list_websites. |
| `automationId` | `string` | Yes | Automation ID from list_automations. |
| `limit` | `number` | No | Runs to return (1-200). |
| `skip` | `number` | No | Runs to skip, for paging. |

## Tool definition [#tool-definition]

What your assistant receives from `tools/list`:

```json
{
  "name": "get_automation_runs",
  "title": "Get an automation's runs",
  "annotations": {
    "title": "Get an automation's runs",
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
  },
  "inputSchema": {
    "type": "object",
    "properties": {
      "websiteId": {
        "type": "string",
        "description": "Website ID from list_websites."
      },
      "automationId": {
        "type": "string",
        "description": "Automation ID from list_automations."
      },
      "limit": {
        "type": "number",
        "minimum": 1,
        "maximum": 200,
        "description": "Runs to return (1-200)."
      },
      "skip": {
        "type": "number",
        "minimum": 0,
        "description": "Runs to skip, for paging."
      }
    },
    "required": [
      "websiteId",
      "automationId"
    ]
  }
}
```
