Skip to main content
GET
Get a durable agent run

Authorizations

Authorization
string
header
required

Permanent personal API key created in the dashboard. Example: curl -H "Authorization: Bearer aty_…" https://your-host/v1/projects

Path Parameters

sessionId
string
required

Session UUID returned by agent admission.

Minimum string length: 1
runId
string
required

Agent run UUID returned by agent admission.

Minimum string length: 1

Query Parameters

responseFormat
enum<string>
default:compact

Compact is the default: answer, deduplicated sources, outcome, and top-level billing. Use legacy explicitly for the previous detailed format. Applies only to this HTTP response. Does not change execution.

Available options:
legacy,
compact
include
string

Optional comma-separated details: artifacts,evidence,diagnostics. Requires responseFormat=compact. Evidence sourceId points to result.sources[].id. Details are omitted unless requested.

Maximum string length: 100
Example:

"evidence,diagnostics"

Response

Current agent run state. Compact results distinguish answered, partial, insufficient_evidence, needs_clarification, and rejected; completed describes execution, not evidence quality or scope acceptance.

runId
string<uuid>
required
sessionId
string<uuid>
required
userMessageId
string<uuid>
required

Stable identifier assigned to the admitted user message.

agentMessageId
string<uuid>
required

Stable identifier reserved for the agent response.

conversationTurn
integer
required

One-based position of this user and assistant turn within the conversation.

Required range: x >= 1
modelStepCount
integer
required

Completed model steps in the main Agent Core loop. Classifier, transcript analyst, repair, and timeout-finalizer calls are excluded.

Required range: x >= 0
toolCallCount
integer
required

Persisted tool calls for this run, including completed, failed, and finalization calls.

Required range: x >= 0
status
enum<string>
required
Available options:
pending,
running,
completed,
failed,
cancelled
route
object
result
object
error
string
extractionDiagnostics
object[]
Maximum array length: 64
extractionDiagnosticsTruncated
boolean
transcriptDiagnostics
object[]