# GET /automations/errors

**Resource:** [Automations](./automations.md)  
**MCP tool:** `list_automation_errors`  
**Scopes:** `automations:read`  
**Write operation:** no

List the automation steps that failed in this workspace, newest first, each explained in plain words with the one place to fix it. Each row: kind (customer_details | trigger | setup | step | paused | outside | temporary | other), automation_name, automation_id, step (the failed step in words), explanation (a sentence you can show a customer), fix ({ label, path } in the app, or null when nothing needs fixing), detail (the technical reason), run_id, deal_id, contact_id. Narrow it with automation_id, deal_id (one job), contact_id or run_id.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `automation_id` | query | string | no | Only this automation's errors. |
| `deal_id` | query | string | no | Only errors on this opportunity (job). |
| `contact_id` | query | string | no | Only errors for this contact. |
| `run_id` | query | string | no | Only this run's errors. |
| `since` | query | string | no | ISO date-time; errors at or after it. Overrides days. |
| `days` | query | number | no | How far back, 1 to 90 days. Default 30. |
| `limit` | query | number | no | Up to 200. Default 50. |

## Request example

```bash
curl   "https://api.trustpager.com/functions/v1/api/v1/automations/errors"   -H "Authorization: Bearer YOUR_API_KEY"
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`