Deze referentie is alleen in het Engels. Naar het Nederlandse REST API-overzicht

Diese Referenz gibt es nur auf Englisch. Zur deutschen REST-API-Übersicht

Cette référence existe uniquement en anglais. Aller à la présentation de l'API REST en français

Esta referencia solo está en inglés. Ir a la introducción de la API REST en español

AutomationRun

AutomationRun

One run of an automation: what started it, how it went and when.

View as Markdown
Summary view
AutomationRunList, 30 fields. What a list returns by default.
Detail view
AutomationRun, 32 fields. The default for a single read and for every write.

What its steps worked with is shown only to whoever may see the run's record, or, for a run without a record, whoever may change the automation: reveals_data says which, and everything else is left out or told without data.

Used by

GETRead an automation run/automation-runs/{automation_run}AutomationRun
POSTCancel a waiting automation run/automation-runs/{automation_run}/actions/cancelAutomationRun

Fields

Detail only
Only in the detail view.
Only with include
Only when you ask for it with include.
Server-assigned
Set by plnnrly, never by a request.
idinteger

Unique identifier.

uuidstring≤ 36

The run's public id, which a webhook's answer hands the sender. Reads the same as id in the path.

automation_idinteger

The automation that ran.

automation_version_idinteger or null

The version of the flow the run started with. null once that version is gone.

statusstring

pending until a worker picks it up, running, waiting (such as at a Wait step), and finally completed, failed, halted (a step stopped it), skipped (not started, such as while switched off) or throttled (over a limit).

pending
running
completed
failed
halted
skipped
throttled
waiting

New values may be added.

modestring

live for a run its trigger started, test for one an editor started to try the flow out.

livetest

New values may be added.

trigger_kindstring≤ 20

What started it: record (a record event), schedule, date, manual, webhook or automation (a step of another automation).

trigger_eventstring or null

For a run a record event started, which event.

createdupdateddeleted

New values may be added.

record_typestring or null≤ 255

The record type the run started on, such as work_item; null without a record.

record_idstring or null≤ 255

The key of that record. Shown to every reader, as the run page shows it.

Variants

AutomationRunList 30 fields

What a collection returns, and what ?view=summary returns on a single record.

Leaves out: inputs, changes

Columns deliberately not published

awaiting_run_idNames a run of another automation, which the reader may not be allowed to see.
causationWhich automations led to the run: internal bookkeeping against loops.
counted_atWhen the run was counted for usage: internal bookkeeping.
triggerHolds a snapshot of the record's fields; published as trigger_kind, record_type, record_id, context_id, inputs and changes, each as the reader may see it.