Skip to main content
POST
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.

Headers

string
Persist before first dispatch; exact retries retain principal, route, body and original result. Do not change keys to escape an uncertain mutation.

Request body

CreateSandboxRequest
string (uuid)
string
string
string
string
Requested admitted runtime tier; deployment allowlist, RuntimeClass and compatible nodes are required. Wasm is not available. Allowed values: 'container', 'gvisor', 'microvm', 'kata'.
integer
Sandbox lifetime including startup, subject to plan limits. Above 86400 requires enabled durable mode and an eligible plan; this is separate from the client startup wait and command timeout. Minimum: 60. Maximum: 604800.
object
Additional keys map to values of type string.
object
object
boolean
string
string
Minimum length: 1. Maximum length: 500.
string
Allowed values: 'linux', 'windows', 'macos'. Default: 'linux'.
string
Allowed values: 'shared', 'dedicated'.
object
object
object[]
Maximum items: 20.
object

Response

SandboxResponse
string (uuid)
required
Unique sandbox identifier.
string
required
Organization that owns this sandbox.
string
required
Session identifier.
string
required
Current sandbox status. Allowed values: 'creating', 'running', 'pausing', 'paused', 'resuming', 'terminating', 'terminated', 'error'.
string
Internal pod IP address.
integer
required
Sandbox recycle epoch counter. Minimum: -9007199254740991. Maximum: 9007199254740991.
number
Allocated vCPU cores.
number
Allocated memory in GiB.
string (date-time)
required
ISO 8601 creation timestamp.
string (date-time)
required
ISO 8601 expiration timestamp.
string (date-time)
required
Maximum possible expiration.
integer
required
Maximum sandbox lifetime in seconds. Minimum: -9007199254740991. Maximum: 9007199254740991.
integer
required
Seconds available for extension. Minimum: -9007199254740991. Maximum: 9007199254740991.
integer
required
Seconds of lifetime consumed. Minimum: -9007199254740991. Maximum: 9007199254740991.
number
required
Percentage of lifetime consumed.
string
required
Resource class: dedicated (guaranteed) or shared (burstable, preemptible Spot capacity). Allowed values: 'shared', 'dedicated'.
object
required
Workspace storage backing.
object
Startup timing breakdown.

Status codes

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.
Last modified on October 20, 2026