Get a single run (live state or history)
Returns either the live Temporal workflow query (for running / awaiting_human runs) or the hydrated history payload. Requires agents:invoke.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Numeric agent id.
42
Temporal workflow id (run identifier).
Query Parameters
Response
Composite run identifier (workflowId:temporalRunId).
"wf_42_run_1:11111111-2222-3333-4444-555555555555"
Temporal workflow id.
"wf_42_run_1"
Parent agent id.
42
Snapshot of the agent name at the time the run was indexed.
"Daily Sales Report"
Agent type.
task, workflow "task"
Run status (running / awaiting_human / completed / error / cancelled).
"completed"
Where the payload was read from. live-query = Temporal workflow is still in progress; history = closed run reconstructed from event history.
live-query, history Temporal run id (one workflow may have multiple runs after retry).
Trigger type for the run (schedule / webhook / api / slack / manual).
ISO-8601 start timestamp.
ISO-8601 end timestamp; absent for in-flight runs.
Duration in milliseconds (when end timestamp is known).
Short human-readable summary of the run outcome.
Pending approval payload (only present when status is awaiting_human).
Display-only signal that the workflow closed for a non-success reason.
approval_timeout Final result of a task-typed agent run. Free-form (depends on the agent).
Error message for a failed task-typed agent run.
Per-node state for a workflow-typed agent run.
Set when history was unavailable; source will be live-query in that case.