Skip to main content
POST
Error

Authorizations

X-API-Key
string
header
required

Body

application/json
cpu_millicores
integer

CPUMillicores optionally requests CPU at millicore granularity (e.g. 500 = 0.5 vCPU); takes precedence over VCPUs. Fractional (sub-vCPU) values are not available for every sandbox.

delete_after_stop_seconds
integer
env_vars
object
fs_capacity_bytes
integer
idle_ttl_seconds
integer
mem_bytes
integer
mount_config
object
name
string
preserve_memory_on_stop
boolean

PreserveMemoryOnStop, when true, suspends the sandbox's memory on a voluntary stop (idle timeout or explicit stop) so the next start resumes from where it left off. Default false discards memory and keeps only the filesystem, so the next start is a cold boot. Restarts triggered by infrastructure maintenance always preserve memory regardless of this setting.

proxy_config
object
restore_memory
boolean

RestoreMemory selects how the sandbox handles a snapshot's captured memory:

nil → if-present: resume from memory when the snapshot has it, else cold-boot (default). true → always: resume from memory; rejected if the snapshot has none. false → never: always cold-boot.

Applies to this request only.

snapshot_id
string
snapshot_name
string
tag_value_ids
string[]
vcpus
integer

Response

Created

cpu_millicores
integer
created_at
string
created_by
string
dataplane_url
string
delete_after_stop_seconds
integer
fs_capacity_bytes
integer
id
string
idle_ttl_seconds
integer
mem_bytes
integer
mount_config
object
name
string
preserve_memory_on_stop
boolean
proxy_config
object
size_class
string
snapshot_id
string
status
string
status_message
string
stopped_at
string
updated_at
string
updated_by
string
vcpus
integer