Snapshots are persistent, point-in-time captures of sandbox state stored as OCI images. They are independent of the source sandbox — once created, a snapshot outlives the sandbox it was captured from and can be used to provision new sandboxes by passingDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/opensandbox-group/OpenSandbox/llms.txt
Use this file to discover all available pages before exploring further.
snapshotId to POST /v1/sandboxes. Snapshot creation is asynchronous: the source sandbox remains running while the runtime captures state, and the snapshot transitions from Creating → Ready (or Failed) in the background.
For a complete walkthrough of pause, snapshot, and resume patterns, see Pause and Resume guide.
http://localhost:8080/v1 and require the OPEN-SANDBOX-API-KEY header.
POST /v1/sandboxes//snapshots
Creates a persistent snapshot from the current state of a running sandbox. The source sandbox must be inRunning state. Returns 202 Accepted with a snapshot object in Creating state — poll GET /v1/snapshots/{snapshotId} to track progress.
Auth: OPEN-SANDBOX-API-KEY header required.
Path Parameters
Unique identifier of the source sandbox. Must be in
Running state.Request Body (optional)
Optional human-readable name for the snapshot. Minimum 1 character.
Response — 202 Accepted
Unique snapshot identifier.
Source sandbox identifier used to create this snapshot.
Optional human-readable snapshot name.
Snapshot lifecycle status.
RFC 3339 snapshot creation timestamp.
Example
GET /v1/snapshots
Lists all snapshots with optional filtering by source sandbox ID and lifecycle state, plus pagination support. Auth:OPEN-SANDBOX-API-KEY header required.
Query Parameters
Filter snapshots by source sandbox identifier.
Filter by snapshot lifecycle state. Pass multiple times for OR logic. Example:
?state=Ready&state=Failed.Page number for pagination (minimum 1, default 1).
Number of items per page (minimum 1, default 20).
Response — 200 OK
Array of snapshot objects.
Example
GET /v1/snapshots/
Returns the current state and metadata for a single snapshot. Auth:OPEN-SANDBOX-API-KEY header required.
Path Parameters
Unique snapshot identifier.
Response — 200 OK
Unique snapshot identifier.
Source sandbox identifier.
Optional human-readable snapshot name.
Snapshot lifecycle status with
state, reason, message, and lastTransitionAt.RFC 3339 creation timestamp.
Example
DELETE /v1/snapshots/
Deletes a snapshot by ID. Snapshots still inCreating state cannot be deleted — wait for Ready or Failed first. Returns 204 No Content on success.
Auth: OPEN-SANDBOX-API-KEY header required.
Path Parameters
Unique snapshot identifier.
Example
Snapshot Lifecycle States
| State | Description |
|---|---|
Creating | Snapshot creation accepted; runtime capture is in progress. |
Ready | Snapshot is available for restoring sandboxes. |
Deleting | Snapshot deletion requested; cleanup is in progress. |
Failed | Snapshot creation failed. Check status.message for details. |