Get a prompt run by ID
Retrieves the current state of a prompt run, including status, outputs, token usage, cost, and errors. Poll this endpoint after receiving a webhook notification, or use it to check the status of a run in progress.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Prompt run ID
Response
Prompt Run
Prompt run status and result.
Prompt run ID.
Current run status.
pending, completed, failed Timestamp when the run was created.
Payloads produced by emit tools during this run, in call order. Empty until the run completes.
The run as a renderable sequence: assistant text, the tools it used, and emit payloads in position. Empty until the run completes. output remains the flat text for callers that only need the answer.
A block of assistant text.
- TranscriptText
- TranscriptTool
- TranscriptData
Timestamp when the run finished. Null while the run is pending.
LLM output text produced so far; read status for completeness. Null when the run failed, or when the model returned no text — e.g. a turn that was only tool calls or only reasoning.
Error message from the latest failed attempt, kept even once a retry recovers — so a pending or completed run can carry one. Read status for the outcome.
Token usage accumulated over successful turns — a run that failed later still reports the earlier ones. Null until the first turn succeeds.
Cost breakdown for the run. Null while pending, or when no published rate covers the run.