Skip to main content

Overview

Returns full information about a run, including its status, payload, output, metadata, and all attempt history. If authenticated with a Public API key, payload and output are omitted for security.

Endpoint

Path parameters

string
required
The unique run ID, prefixed with run_.

Response

string
Unique run ID, prefixed with run_.
string
Current status. One of: PENDING_VERSION, DELAYED, QUEUED, EXECUTING, REATTEMPTING, FROZEN, COMPLETED, CANCELED, FAILED, CRASHED, INTERRUPTED, SYSTEM_FAILURE.
string
The task that was run.
string
Worker version that executed the run.
string
Idempotency key used when triggering, if provided.
boolean
Whether this is a test run.
object
The payload passed to the task (omitted for Public API keys).
object
The output returned by the task (omitted for Public API keys).
object
Key-value metadata attached to the run.
string[]
Tags attached to the run.
string
ISO 8601 creation timestamp.
string
ISO 8601 last-updated timestamp.
string
When execution started.
string
When the run finished.
string
If delayed, when the run will be enqueued.
string
Time-to-live set on the run, if any.
string
If the TTL elapsed before execution, when the run expired.
number
Compute cost in cents (excludes DEV).
number
Invocation cost in cents (excludes DEV).
number
Total compute time in ms (excludes waits).
integer
Depth in the task hierarchy. Root runs have depth 0.
string
Batch ID if this run was created as part of a batch.
string
One of trigger, triggerAndWait, batchTrigger, batchTriggerAndWait.
Runs related to this one in the task hierarchy.
object
Schedule that triggered the run, if applicable.
object[]
History of all execution attempts.

Examples

Response example