Path parameters
The org's slug or id. A caller with no role in the org gets 404.
A Project's handle (name) or id, resolved inside {org} — OR the
reserved sentinel _ meaning "no Project" (a direct-repo / repo-less
dispatch on POST; "no Project constraint, resolve by session id
alone" everywhere else). A real handle that doesn't match the
session's actual Project is 404.
The session's full id (execution_id).
Responses
200The session.
cloudlocalThe harness.
paused is a resumable session parked between turns; needs_review finished without the proof it was asked for.
queuedallocatingrunningpausedinput_requiredneeds_reviewcompletedfailedcancelledexpiredephemeralresumablenullThe sandbox's own lifecycle (preparing, running, pausing, paused, resuming…), separate from status.
Increments on every resume.
2 fields
Uncached input plus cache writes plus output; null when the run reported none.
Files the caller attached when starting the run.
5 item fields
The first 6 artifacts; artifact_count has the total.
3 item fields
Bytes.
The saved agent the run started from.
3 fields
2 fields
What a saved-agent run actually ran with.
6 fields
The saved-agent configuration the run was pinned to.
What the sandbox loaded (harness version, plugins, hooks, commands), as the runtime reported it.
completepartialfailednull401No bearer, an unknown, revoked or expired one, or an API key on a route keys cannot call.
A sentence for a person.
Stable machine code, e.g. AUTH_FAILED, NOT_FOUND, VALIDATION_ERROR, RATE_LIMITED, PLAN_REQUIRED.
The machine code on routes that name it this way.
404No such resource for the caller, including one that exists in an org the caller cannot see.
A sentence for a person.
Stable machine code, e.g. AUTH_FAILED, NOT_FOUND, VALIDATION_ERROR, RATE_LIMITED, PLAN_REQUIRED.
The machine code on routes that name it this way.