Skip to main content
GET
Get workflow run

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Scopes

read_only
PersonalAccessTokenAuth
read_only
WorkspaceApiKeyAuth
read_only
WorkspaceApiKeyBearerAuth

Headers

X-Active-Branch-Id
string

ID of the branch the editor shows. Used when branch_id is omitted, for users who work on protected-main branches.

Path Parameters

app_id
string
required

ID of the app whose workflows you want to work with.

workflow_id
string
required

ID of the workflow, as returned in id by List workflows.

run_id
string
required

ID of the run, as returned in run_id by List runs for a workflow.

Response

The run and its steps.

run_id
string
required

ID of the run.

Example:

"0195f2a1-4c3e-7b21-9f0d-2a5c8e1b4d77"

workflow_id
string
required

ID of the workflow that ran.

Example:

"68b1c0d4e7b91d003c45a1f2"

status
string
required

How the run is going: running, completed, failed, or cancelled. See Workflow status for how this compares to the workflow's own status.

Example:

"completed"

workflow_name
string
default:""

Name of that workflow at the time of the run.

Example:

"Email me new signups"

trigger_type
string
default:""

What started the run: scheduled, entity, connector, in_app_agent, app_user_auth, app_publish, app_payment, webhook, or goal_file. See Triggers for what each one fires on. A run started through Run a workflow now with no payload to replay reports manual instead.

Example:

"scheduled"

started_at
string | null

When the run started, as an ISO 8601 UTC timestamp.

Example:

"2026-08-25T09:12:44Z"

completed_at
string | null

When the run finished, as an ISO 8601 UTC timestamp. This is null while it is still running.

Example:

"2026-08-25T09:12:46Z"

duration_ms
integer
default:0

How long the run took, in milliseconds.

Example:

1840

steps_count
integer
default:0

Steps the run executed.

Example:

3

error_message
string | null

Why the run failed. This is null when it did not fail.

Example:

"The email step failed because the recipient address was missing."

is_test_run
boolean
default:false

This is true when the run was started by hand rather than by its trigger.

Example:

false

ai_analysis
string | null

Stored failure explanation, once Analyze a failed workflow run has generated one. This is null until then.

Example:

"The email step failed because the recipient address was missing from the trigger payload."

steps
Steps · object[]

The tasks the run executed, in order. Each carries task_name, task_type, status, started_at, completed_at, duration_ms and error_message, plus the data that went into and came out of the step, whose shape is whatever your workflow passes around.

Example:
credits_consumed
number
default:0

Credits the run used.

Example:

0.5

status_reason
string
default:""

Why the run failed or was cancelled. Empty on runs that finished successfully.

Example:

""

definition_version_id
string
default:""

Version the run executed, which can be older than the workflow's current one. Read it with Get workflow version.

Example:

"9f2c1a7b3e5d84f60c1b2a9e7d4f8c3b6a5e2d1f0c9b8a7e6d5c4b3a2f1e0d9c"

approved_by_name
string | null

On a workflow project's run whose version uses admin-only workspace triggers or actions, the name of the workspace admin whose save approved them. Empty once that person's account is erased or deleted, and null on every other run.

Example:

"Dana Levi"