Create Snapshot
Sandbox API
Create Snapshot
Create a snapshot of the current sandbox state for later restoration.
POST
Create Snapshot
Takes a point-in-time snapshot of the sandbox VM. Snapshots capture the full
memory and filesystem state, allowing you to restore a sandbox to a known-good
checkpoint. Returns a
Snapshot object with the new snapshot ID.
Use snapshots to checkpoint long-running agent workflows, save expensive setup
steps, or create reusable starting points.
Path Parameters
The sandbox identifier. Format:
sbx-<8 chars>.Response
Unique snapshot identifier. Format:
snap-<8 chars>.The sandbox this snapshot was taken from.
UTC timestamp when the snapshot was created.
Example
Response
Error Responses
| Status | Cause |
|---|---|
401 | Missing or invalid API key |
404 | Sandbox not found |
502 | Orchestrator unreachable or returned non-200 |
503 | Sandbox node unreachable |