curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.sandbox.stateset.app/api/v1/sandbox/{id}/resume' \
--header 'Authorization: ApiKey YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"wait": true,
"timeout_seconds": 120,
"auto_resume": true
}'
Resume a paused sandbox
Sandbox running (resumed, or already running)
POST
/
api
/
v1
/
sandbox
/
{id}
/
resume
curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.sandbox.stateset.app/api/v1/sandbox/{id}/resume' \
--header 'Authorization: ApiKey YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"wait": true,
"timeout_seconds": 120,
"auto_resume": true
}'
Confirm your deployment before running this request. This page describes an API contract;
a published reference does not establish hosted availability. Check the dated
host report and obtain your deployment URL and credentials.
Replace the example host if your provisioned service uses a different URL.
Path parameters
string (uuid)
required
Sandbox identifier
Request body
PauseResumeSandboxRequest
boolean
Wait for the transition (default true); false answers 202 at once. Default:
true.integer
Longest wait before answering 202 with the transition still running (max 120). Minimum:
1. Maximum: 120.boolean
Pause only: a later exec/files/processes/REPL call resumes the sandbox on its own (default false).
Response
No response body. Sandbox running (resumed, or already running).Status codes
| Code | Meaning |
|---|---|
200 | Sandbox running (resumed, or already running) |
202 | Resume in progress (wait=false, or the wait ran out) |
402 | Billing does not allow compute |
404 | Sandbox not found |
409 | SANDBOX_INVALID_STATE (e.g. still pausing) |
429 | Concurrent limit exceeded |
503 | RESUME_FAILED: the pod did not come up; the sandbox stays paused |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.sandbox.stateset.app/api/v1/sandbox/{id}/resume' \
--header 'Authorization: ApiKey YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"wait": true,
"timeout_seconds": 120,
"auto_resume": true
}'
Last modified on October 20, 2026