Get Session
Return the current state, configuration, and resource allocation for a sandbox session.
Authorizations
Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.
Headers
Optional external end-user identifier forwarded by the API gateway.
Path Parameters
Response
Successful Response
queued, pending, provisioning, running, idle, stopped, failed, terminated standard, browser, coding_harness Server-owned workload sizing classes.
Resource classes are deliberately independent of the language/runtime
profile. In particular, Coding Harness always uses the Medium class even when a
caller sends a smaller or absent legacy memory_mib value.
medium x >= 1x >= 1x >= 1Why a Coding Harness allocation entered stopped.
Recorded on the session row at the stop transition and cleared by resume, so a client that finds a stopped session can say whether the owner suspended it, the idle or absolute clock ran out, or the runner released it. Every value is resumable; termination is a different status.
user_suspend, idle_expired, absolute_expired, runner_drain, runner_recovery x >= 1python, git, claude-code standard, eval-python