# list_agent_automation_runs

Source: https://modulify.ai/docs/mcp/agent-automations/list-agent-automation-runs

Lists recent runs of the agent automations on a site, newest first, 25 to a page.

- Title: List agent automation runs
- Scope: `config:read`
- Access: Read only

Each run shows its status, when it was scheduled, who started it when it was run by hand, its report or its error, the tools it called and whether each call worked, whether the report was emailed, and the credits it has charged so far. A run interrupted on Modulify's side, stopped because the AI model did not answer, or out of credits says so in its error and does not count as a failed run.

The response carries `nextCursor`. Pass it back as `cursor` for the next page, and it is null once there is nothing more. Runs are kept for 30 days. See [Agents](https://modulify.ai/docs/automations/agents#run-history).

## Inputs

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `projectId` | string | Yes | The site id. |
| `automationId` | string | No | Only the runs of this one automation, by its id from `list_agent_automations`. Leave it out for the runs of every automation on the site. |
| `cursor` | string | No | The `nextCursor` from the previous page. Leave it out for the first page. |