Snapshot a sandbox
Life Cycle Management
Snapshot Sandbox
Create a snapshot of a running sandbox so you can restore the same filesystem and memory state later.
POST
Snapshot a sandbox
Create a snapshot of a running sandbox so you can restore the same filesystem and memory state later.
You can optionally pass
Use the created snapshot with Restore Sandbox when you want to boot a new sandbox from that saved state.
For the broader snapshot lifecycle, including listing and deleting snapshots, see Snapshots.
snapshot_type in the request body:
filesystem(default): captures filesystem state only and restores with a cold boot.memory: captures filesystem, memory, and running process state and restores with a warm start.
Endpoint
Example Request
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the sandbox.
Body
application/json
Snapshot type. memory captures filesystem, memory, and running process state for warm restore. filesystem captures filesystem state only for cold-boot restore. When omitted, the server default is filesystem.
Available options:
memory, filesystem