v44

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-05-192301780.0 KB
Agents

Get run details

Full audit trail for a run including output, steps (tool calls, text), and token usage.

get/agent/v1/run/{id}/details

Path parameters

idstring required

Run ID

Response

Run details with full step trace

idstring
agentIdstring
status'queued' | 'running' | 'completed' | 'failed' | 'cancelled'
promptstring
guidancestring nullable
modelstring nullable
workflowIdstring nullable

Durable workflow run ID

modalSandboxIdstring nullable

Deprecated legacy Modal sandbox ID. Prefer provider and runtimeId.

provider'daytona' | 'vercel' nullable

Runtime provider for this run

runtimeIdstring nullable

Provider-specific runtime identifier

runtimeState'running' | 'stopped' | 'archived' | 'ended' | 'error' nullable

Current runtime state, when available

createdAtstring date-time
startedAtstring date-time nullable
completedAtstring date-time nullable