Skip to main content
GET
Get a procedure run

Authorizations

Authorization
string
header
required

Effective API key. Send Authorization: Bearer sk-eai-...

Path Parameters

runId
string<uuid>
required

Tenant-scoped logical procedure run identifier

Response

The run.

id
string<uuid>
required

Tenant-scoped logical procedure run identifier

procedureId
string
required

Stable procedure identifier

Maximum string length: 256
Pattern: ^[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*$
version
integer | null
required

The published version the run runs. Null for a draft.

Required range: 0 < x <= 9007199254740991
draft
boolean
required

True for a draft: a run of unpublished source, started with source. Nothing a draft stores can be published; to keep the procedure, publish its source.

title
string
required
status
string
required

unavailable when the run’s state could not be read. completed, failed, cancelled, terminated and timed_out are final. New statuses may be added; treat an unknown one as not final.

visibility
enum<string>
required
Available options:
collaborative,
private
projectId
string | null
required
cause
object
required
startedBy
object | null
required

The person the run acts for, when one did.

createdAt
string<date-time>
required
finishedAt
string<date-time> | null
required
webUrl
string<uri>
required

The run’s page in Effective.

paused
boolean
required

True while the run is paused.

failure
object | null
required

Why the run failed. Null unless status is failed.

tasks
object[]
required

Tasks the run created for people, such as approvals. Read one with getProcedureTask, or list them with listProcedureTasks and runId.

output
any | null

The value the run returned. Present only when status is completed.