List snapshots
GET
/e2b/snapshots● SupportedRequest parameters
sandboxIDstringoptionalquery: Filter by source sandbox ID.
namestringoptionalquery: Filter by the original user alias or platform snap_ snapshot ID.
limitintegeroptionalquery: Maximum snapshots per page.
nextTokenstringoptionalquery: 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/e2b/snapshots \
-H "X-API-Key: $PRAXIS_API_KEY"Python
from e2b import Sandbox
opts = dict(
api_key="$PRAXIS_API_KEY",
api_url="https://api.deepraxis.com/e2b",
domain="sandbox.praxisusercontent.com",
)
paginator = Sandbox.list_snapshots(**opts)
print(paginator.next_items())TypeScript
import { Sandbox } from "e2b";
const opts = {
apiKey: "$PRAXIS_API_KEY",
apiUrl: "https://api.deepraxis.com/e2b",
domain: "sandbox.praxisusercontent.com",
};
const paginator = Sandbox.listSnapshots(opts);
console.log(await paginator.nextItems());Response 200
[
{
"snapshotID": "snap_43997ab2ab004b8c8cc8d42d",
"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) |