GET /v1/sandboxes/snapshots/{snapshot_id}
Returns a snapshot's metadata and status.

Authentication

Bearer Token (b3os_sk_ API key or b3os_pat_ token) API Key (cookie: __Host-b3os_session)

Path Parameters

snapshot_id string required path
The snapshot ID (`snap_…`).
Example: "snap_01m5t5mnvax7tp9peav8jajw3y"

Responses

200 The snapshot.
application/json
id string REQUIRED
object string REQUIRED
Enum: snapshot
name string | null
status string REQUIRED
Enum: creating, ready, failed
sandbox_id string REQUIRED
template object REQUIRED
id string REQUIRED
name string REQUIRED
vcpu integer REQUIRED
memory_mib integer REQUIRED
disk_gib integer REQUIRED
size_bytes integer REQUIRED
created_at string (date-time) REQUIRED
expires_at string (date-time) | null REQUIRED
When the snapshot is deleted (7 days in the beta).
timing object
Server-side phase durations in milliseconds with microsecond resolution: the same phases as the `Server-Timing` header, keyed `<phase>_ms`. `total_ms` is always present. Phase names are product-specific and documented per operation. Example values in this reference are illustrative, not measurements.
total_ms number REQUIRED
metadata object REQUIRED
Up to 16 string key-value pairs you attach to an object for your own use. Keys are 1 to 40 characters of `A-Z a-z 0-9 _ . : -`; values are at most 500 characters. B3OS never interprets them.
400 The request failed validation (`invalid_request`, `invalid_url`).
401 Missing, malformed, expired or revoked credentials (`unauthorized`).
403 Authenticated but not allowed (`forbidden`, `egress_denied`).
404 No such snapshot in this project (`snapshot_not_found`).
429 A rate, concurrency or quota limit applies (`rate_limited`, `concurrency_limited`, `quota_exceeded`).
500 Something failed inside B3OS (`internal`). Retry with backoff.
503 The node or the product is not available right now (`node_unavailable`, `product_unavailable`, `capacity_unavailable`).
curl -X GET 'https://beta-api.b3os.org/v1/sandboxes/snapshots/snap_01m5t5mnvax7tp9peav8jajw3y' \  -H 'Authorization: Bearer YOUR_API_TOKEN'
const response = await fetch('https://beta-api.b3os.org/v1/sandboxes/snapshots/snap_01m5t5mnvax7tp9peav8jajw3y', {  method: 'GET',  headers: {      "Authorization": "Bearer YOUR_API_TOKEN"  }});const data = await response.json();console.log(data);
import requestsheaders = {    'Authorization': 'Bearer YOUR_API_TOKEN'}response = requests.get('https://beta-api.b3os.org/v1/sandboxes/snapshots/snap_01m5t5mnvax7tp9peav8jajw3y', headers=headers)print(response.json())
200 Response
{  "id": "snap_01m5t5mnvax7tp9peav8jajw3y",  "object": "snapshot",  "name": "deps-installed",  "status": "ready",  "sandbox_id": "sbx_01m5t68q1b590rj801nbzsqzkk",  "template": {    "id": "tpl_01m5t59b2ps0djyzdf082s18bz",    "name": "base"  },  "vcpu": 2,  "memory_mib": 2048,  "disk_gib": 4,  "size_bytes": 734003200,  "created_at": "2026-10-25T19:03:00.000Z",  "expires_at": "2026-11-01T19:03:00.000Z",  "metadata": {}}
Ask a question... ⌘I