Skip to content
中文

List snapshots

GET/sandbox/v1/snapshots● Supported

Official E2B docs ↗

Request parameters

  • sandboxIDstringoptional

    query: Filter by source sandbox ID.

  • namestringoptional

    query: Filter by the original user alias or platform snap_ snapshot ID.

  • limitintegeroptional
    default 100

    query: Maximum snapshots per page.

  • nextTokenstringoptional

    query: Cursor from the previous response's X-Next-Token header.

Returns

200

Errors follow the E2B format — see error codes

Request

curl
curl https://api.deepraxis.com/sandbox/v1/snapshots \
  -H "X-API-Key: $PRAXIS_API_KEY"
Python
import requests

api_key = "$PRAXIS_API_KEY"

# Call /sandbox/v1 directly over HTTP.
resp = requests.get(
    "https://api.deepraxis.com/sandbox/v1/snapshots",
    headers={"X-API-Key": api_key},
)
print(resp.status_code, resp.text)
TypeScript
const apiKey = "$PRAXIS_API_KEY";

// Call /sandbox/v1 directly over HTTP.
const resp = await fetch(`https://api.deepraxis.com/sandbox/v1/snapshots`, {
  headers: { "X-API-Key": apiKey },
});
console.log(resp.status, await resp.text());

Response 200

[
  {
    "snapshotID": "snap_e14812e6bfe34655b7443a83",
    "names": [
      "docs-snapshot"
    ]
  }
]

Response

HTTP 200

Successfully returned snapshots

application/json

Name Type Description
[].snapshotID string Identifier of the snapshot template including the tag. Uses namespace/alias when a name was provided (e.g. team-slug/my-snapshot:default), otherwise falls back to the raw template ID (e.g. abc123:default).
[].names array<string> Full names of the snapshot template including team namespace and tag (e.g. team-slug/my-snapshot:v2)

The own endpoint adds createdAt (string, ISO 8601 UTC creation time) to the response, or each list row.

Snapshots also include sourceSandboxID (string, public source sandbox ID) and sourceSandboxName (string or null). If the name is unavailable, it is null; display the ID as fallback.

The gateway sets X-Praxis-Face: own-v1; clients need not send it. The /e2b compatibility endpoint strips this header and retains its vendor response shape.