Get Run
Check one run: status, timing, task count, and, while it is still running, the step it is on.
Path
The run's id, from List Runs.
Headers
Optional. The id of the organization to act in. Leave it out to act in the API key's own organization. A key can also act in its child organizations, and, with "Use this key across all of your organizations" on, in every organization its creator can open in the app. List them with GET /v2/companies. Every response's X-Company-Id header names the organization it acted in. See Organizations.
Response fields
idstringUnique id of the run.
workflowIdstringThe workflow this run belongs to.
statusstringWhere the run stands or how it ended: waiting, running, finished, failed, cancelled, interrupted, limitExceeded, or cancelling.
versionstringThe workflow version that ran, or "draft".
environmentIdstringThe environment the run targeted.
environmentNamestringThat environment's name.
startedOndateWhen the run started.
finishedOndateWhen the run finished. Empty while it is still going.
durationMsnumberHow long the run took, in milliseconds.
operationsnumberHow many tasks the run used. This is the number that counts against your limit.
errorCountnumberHow many errors the run logged.
warningCountnumberHow many warnings the run logged.
infoCountnumberHow many info entries the run logged.
endUserIdstringThe embedded end user the run belongs to, if any.
installationIdstringThe embedded installation the run belongs to, if any.
triggerAppSlugstringThe app that triggered the run.
summarystringA short summary of what the run did.
activeStepIdstringThe last step the run reached: while it runs, the step it is on now; once it ends, it still names the step it was on last, so read status, not this field, to tell whether it is running.
activeMessagestringReserved: always null on this route.