Skip to content
AutomatedOn Help Centre

Run History API: runs

A run is one execution of a process: it fetches the process's dataset, then handles each record.

The run object

FieldTypeDescription
idintegerUnique run identifier.
processIdstring (UUID)The process that ran.
processNamestringThe process name at the time of the run.
statusstringOne of the run statuses in Run History API: paging, dates and filters.
startedAttimestampWhen the run started.
finishedAttimestamp or nullWhen the run finished. Null while Running.
fetchedCountintegerRecords returned by the dataset.
succeededCountintegerRecords handled successfully.
failedCountintegerRecords that failed.
errorMessagestring or nullRun-level error, such as the dataset not being collected. Record errors are on each record.
dismissedbooleanWhether someone has dismissed the run in AutomatedOn.
parametersobject or nullThe parameter values the run used.
{
  "id": 4182,
  "processId": "8b1f2c3d-6e7a-4b9c-a0d1-2e3f4a5b6c7d",
  "processName": "Weekly learner reminders",
  "status": "PartiallySucceeded",
  "startedAt": "2026-10-21T07:00:00+00:00",
  "finishedAt": "2026-10-21T07:02:14+00:00",
  "fetchedCount": 50,
  "succeededCount": 48,
  "failedCount": 2,
  "errorMessage": null,
  "dismissed": false,
  "parameters": { "cohort": "2026-A" }
}

List runs

GET /runs returns runs across all processes, newest first.

Query parameterTypeDescription
processIdUUIDOnly runs of this process.
statusstring listOnly runs with these statuses, for example Failed,PartiallySucceeded.
fromdate or timestampRuns started at or after this time.
todate or timestampRuns started before this time.
includeDismissedbooleanInclude runs dismissed in AutomatedOn. Default false.
pageintegerDefault 1.
pageSizeintegerDefault 25, maximum 200.
curl "https://{tenantname}.automatedon.io/api/v1/runs?status=Failed,PartiallySucceeded&from=2026-10-01&pageSize=50" \
  -H "X-Api-Key: $AO_API_KEY"

Response 200 OK: a page of run objects.

Get a run

GET /runs/{runId} returns one run object, or 404 Not Found if the run doesn't exist or has been cleared from history.

curl "https://{tenantname}.automatedon.io/api/v1/runs/4182" \
  -H "X-Api-Key: $AO_API_KEY"

List a run's records

GET /runs/{runId}/records returns the records handled in one run, newest first, as a page of record objects. It returns 404 Not Found if the run doesn't exist.

Query parameterTypeDescription
statusstring listSuccess, Failed, or both.
searchstringMatches part of recordKey or errorMessage.
includestringsteps to return the full step breakdown on each record.
pageintegerDefault 1.
pageSizeintegerDefault 25, maximum 200.
curl "https://{tenantname}.automatedon.io/api/v1/runs/4182/records?status=Failed&include=steps" \
  -H "X-Api-Key: $AO_API_KEY"

Was this guide helpful?