List automation runs
list_automation_runsThe runs of DM automations: one row per run with the automation, what started it (a comment or the DM conversation), conversation, comment, contact, status, current step, start and end time and error. include=steps adds every step run (type, status, times, the message it sent, error); include=surveyResponses adds survey answers. Newest first by default. Comment automations that only act on comments (reply, like, hide) record no runs here; their actions are comment_automation_run rows in list_events.
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": {
"brand": "<brand>"
},
"name": "list_automation_runs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Only runs started at or before this time; a plain date covers the whole day. | |
| from | No | Only runs started at or after this time. | |
| brand | Yes | ||
| limit | No | ||
| order | No | desc | |
| cursor | No | ||
| status | No | ||
| include | No | ||
| timeZone | No | ||
| commentId | No | Only runs started by this comment. | |
| automationId | No | ||
| updatedSince | No | Only runs started, finished, or with a step started or finished at or after this time, ISO 8601. | |
| conversationId | No |