v14

latestOpenAPI 3.0.32026-08-04377889.4 MB
sandboxes

Get a snapshot

Retrieves detailed information about a specific snapshot, including its creation time, size, expiration date, and the source session it was created from.

get/v2/sandboxes/snapshots/{snapshotId}

Path parameters

snapshotIdstring required

The unique identifier of the snapshot to retrieve.

Example:snap_abc123

The unique identifier of the snapshot to retrieve.

Query parameters

teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l

The Team identifier to perform the request on behalf of.

slugstring
Example:my-team-url-slug

The Team slug to perform the request on behalf of.

Response

Example response

{
  "snapshot": {
    "id": "snap_123a6c5209bc3778245d011443644c8d27dc2c50",
    "sourceSessionId": "sbx_123a6c5209bc3778245d011443644c8d27dc2c50",
    "region": "iad1",
    "status": "created",
    "sizeBytes": 104857600,
    "expiresAt": 1750344501629,
    "createdAt": 1750344501629,
    "updatedAt": 1750344501629,
    "lastUsedAt": 1750344501629,
    "creationMethod": "manual",
    "parentId": "snap_parent123"
  }
}