Pause Sandbox
Sandbox API
Pause Sandbox
Freeze a running sandbox, preserving its in-memory state.
POST
Pause Sandbox
Transitions the sandbox to the
paused state. The underlying sandbox VM is
frozen and memory is preserved. Paused sandboxes do not consume CPU resources.
Returns an empty {} body on success.
Resume the sandbox with
POST /sandboxes/{sandbox_id}/resume.
If auto_resume was set to true in the sandbox’s lifecycle config, it
also resumes automatically when accessed.Path Parameters
The sandbox identifier. Format:
sbx-<8 chars>.Response
Returns an empty JSON object{} on success.
Example
Response
Error Responses
| Status | Cause |
|---|---|
401 | Missing or invalid API key |
404 | Sandbox not found |
409 | Sandbox is not in a state that can be paused |
500 | Pause succeeded on orchestrator but Postgres state update failed |
502 | Orchestrator unreachable or returned non-200 |
503 | No orchestrator available for the sandbox |