Docs

Get Run

Check one run: status, timing, task count, and, while it is still running, the step it is on.

GET

Path

Path parameters
stringrequired

The run's id, from List Runs.

Headers

Optional headers
string

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

idstring

Unique id of the run.

workflowIdstring

The workflow this run belongs to.

statusstring

Where the run stands or how it ended: waiting, running, finished, failed, cancelled, interrupted, limitExceeded, or cancelling.

versionstring

The workflow version that ran, or "draft".

environmentIdstring

The environment the run targeted.

environmentNamestring

That environment's name.

startedOndate

When the run started.

finishedOndate

When the run finished. Empty while it is still going.

durationMsnumber

How long the run took, in milliseconds.

operationsnumber

How many tasks the run used. This is the number that counts against your limit.

errorCountnumber

How many errors the run logged.

warningCountnumber

How many warnings the run logged.

infoCountnumber

How many info entries the run logged.

endUserIdstring

The embedded end user the run belongs to, if any.

installationIdstring

The embedded installation the run belongs to, if any.

triggerAppSlugstring

The app that triggered the run.

summarystring

A short summary of what the run did.

activeStepIdstring

The 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.

activeMessagestring

Reserved: always null on this route.