Retrieve a workflow run
Returns one workflow run of the customer: its name, workflow, run key values, signal count and the credits of the whole run, with one page of its signals, oldest first. The page opens at the first signal of the run, at startsAt, or at a cursor from signals.olderCursor or signals.newerCursor. {customer} takes the customer’s cus_ ID, your externalId, or one of its aliases, and {run} the run’s runId.
Authentication
Path parameters
The customer: its cus_ ID, your externalId, or one of its aliases.
The run’s runId: 32 hexadecimal digits, in upper or lower case.
Headers
This endpoint is in the workflows=v1 beta. Send this header to use it.
Query parameters
The signals.olderCursor or signals.newerCursor of a previous read of this run. Not with startsAt.
Open the page at the first signal at or after this time, then newer: any ISO 8601 timestamp, such as the startsAt of a day of the workflow run credits list. After the newest signal, the page has no signal, and signals.olderCursor reads the signals before this time. Leave it and cursor out to open at the first signal of the run.
Response
The type of object. Always workflowRun.
What the whole run spent at asOf, one entry per credit currency, by currency key. Two currencies are never added together. Empty when the run spent nothing.
The run’s ID: 32 hexadecimal digits, unique inside the customer. Paid makes it from the values of the workflow’s run keys.
The run’s name: the newest non-blank value (a text, a number or a boolean) of the workflow’s runNameField, else its run noun and run ID.
The value of each run key of the workflow, in the order of the workflow’s runKeys: what makes the run one run.
The signals of the whole run at asOf.
The wf_ ID of the run’s workflow.