Returns every snapshot recorded for this sandbox — periodic, pause-induced, and
manual — ordered by created_at descending.
Ownership is enforced: the caller must be the owner of the sandbox for any
snapshot metadata to be returned.
Path Parameters
The sandbox identifier. Format: sbx-<8 chars>.
Response
Array of snapshot objects, newest first.
Snapshot object
Unique snapshot identifier.
The sandbox this snapshot belongs to.
How this snapshot was created: "periodic", "pause", or "manual".
Blob store key for the memory image.
Blob store key for the Firecracker VM state.
Size of the memory image in bytes, when recorded.
UTC timestamp when the snapshot was created.
Example
curl "https://api.declaw.ai/sandboxes/sbx-a1b2c3d4/snapshots" \
-H "X-API-Key: YOUR_API_KEY"
{
"snapshots": [
{
"snapshot_id": "snap-a1b2c3d4",
"sandbox_id": "sbx-a1b2c3d4",
"source": "manual",
"mem_blob_key": "snapshots/.../mem",
"vmstate_blob_key": "snapshots/.../state",
"mem_size_bytes": 268435456,
"created_at": "2026-04-14T10:30:00Z"
}
]
}
Error Responses
| Status | Cause |
|---|
401 | Missing or invalid API key |
404 | Sandbox not found |
500 | Internal error listing snapshots |