Skip to main content
GET
Retrieve a workflow run

Authorizations

Authorization
string
header
required

A project API key, created in the dashboard.

Path Parameters

workflow
string
required

ID of the workflow.

run
string
required

ID of the run.

Response

The run.

object
any
required
id
string
required
Example:

"9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d"

workflow_id
string
required
Example:

"3f2b8c1e-5d4a-4e7b-9c6f-1a2b3c4d5e6f"

status
enum<string>
required

waiting runs are paused at a wait step. partially_succeeded runs finished with a failed step that had a failure path.

Available options:
pending,
running,
waiting,
succeeded,
partially_succeeded,
failed,
cancelled
trigger
object
required
conversation_id
string | null
required

The conversation the run was about. null for contact events.

contact_id
string | null
required
workflow_version
integer | null
required

The published version that ran.

steps_completed
integer
required
error
string | null
required

Why the run failed.

started_at
string<date-time> | null
required
finished_at
string<date-time> | null
required
resumes_at
string<date-time> | null
required

For waiting runs, when the wait ends.

steps
object[]

Only in Retrieve a workflow run. The steps that ran, in order. The data each step sent and received is only in the dashboard's run history.