Run log
Everything an automation did, newest first: each person entering, every step it ran for them, and each person finishing.
Runs any of 2 calls on your workspace.
GET /automations/{id}/runs
Everything an automation did, newest first: each person entering, every step it ran for them, and each person finishing.
Example
Needs automations:read. event is entered, step, completed or exited, stepKey keeps the runs of one step, and outcome keeps the steps that ended one way, such as failed. limit goes up to 200 and defaults to 50.
curl "$API/automations/aut_7c2e9a1f4b8d30c65e1a9f27/runs?outcome=failed" -H "$AUTH"{ "object": "list", "data": [ { "object": "automation_run", "id": "asr_6b1d9f3a7c2e48d05e9a1c74", "automationId": "aut_7c2e9a1f4b8d30c65e1a9f27", "enrollmentId": "aen_2d8f1b6c9e3a47d05b1c8e62", "contact": { "id": "con_8a3c1e7b5d9f42061c8e3a5b", "email": "[email protected]", "name": "Ana" }, "event": "step", "stepKey": "welcome", "kind": "send_email", "outcome": "failed", "source": null, "exitReason": null, "emailId": null, "detail": "The template could not be sent.", "at": "2026-10-11T09:12:44.000Z" } ], "hasMore": false, "nextCursor": null, "automationId": "aut_7c2e9a1f4b8d30c65e1a9f27"}A step entry carries the step’s stepKey, kind and outcome, the emailId of a send and, for a step that was skipped or failed, the reason in detail.
An entered entry says how the person got in, in source. A completed or exited entry says why they finished, in exitReason.
Pass nextCursor back as cursor to read on. One person’s whole way through, oldest first, is the enrollment its enrollmentId names.
The automations on a thread
Needs threads:read and automations:read. GET /threads/{id}/automations reads every run that touched one conversation, newest first: a run an email in it started, and a run that sent mail into it, such as an automatic reply. Each run says what started it, the case the email matched, the messages of the thread it started from or sent and every step it ran, oldest first.
curl "$API/threads/thr_5c1e9a7b3d2f48e6a0b4c7d1/automations" -H "$AUTH"{ "object": "list", "data": [ { "object": "thread_automation_run", "id": "aen_2d8f1b6c9e3a47d05b1c8e62", "automation": { "id": "aut_4e1a7c9b2d5f38e06a1c4b7d", "name": "Out of office", "status": "live" }, "version": 3, "status": "completed", "exitReason": "completed", "source": "trigger", "startedAt": "2026-10-28T08:02:11.000Z", "finishedAt": "2026-10-28T08:02:26.000Z", "trigger": { "kind": "email_received", "addresses": ["[email protected]"], "domains": [], "senders": [], "threadId": null, "match": "any", "filters": [] }, "match": { "to": "[email protected]", "from": "[email protected]", "reply": false, "address": "[email protected]", "domain": null, "sender": null, "thread": false, "match": "any", "filters": [] }, "messages": [ { "id": "msg_9b3d7f1c5a2e48d06b9c3e1f", "role": "started", "stepKey": null, "at": "2026-10-28T08:02:11.000Z" }, { "id": "msg_1c7e3a9b5d2f40e68c1a7e3b", "role": "sent", "stepKey": "away", "at": "2026-10-28T08:02:26.000Z" } ], "steps": [ { "id": "asr_6b1d9f3a7c2e48d05e9a1c74", "stepKey": "away", "kind": "reply", "outcome": "sent", "emailId": "msg_1c7e3a9b5d2f40e68c1a7e3b", "detail": null, "at": "2026-10-28T08:02:26.000Z", "step": { "key": "away", "kind": "reply", "next": null, "reply": { "mode": "text", "text": "Thanks for writing. I am away until Monday." } } } ] } ]}match is the case the email matched: address or domain is the rule of the trigger that received it, sender the sender rule it came from, and every filter in filters held. It is null for a run that started somewhere else and only mailed into this thread.
A message with role sent is mail the run put in the thread, such as an automatic reply. A run whose automation you cannot read is left out, so a member’s key sees only the automations that member made.