Skip to content
中文

List sandboxes (v2)

GET/e2b/v2/sandboxes● Supported

Official E2B docs ↗

Request parameters

  • metadatastringoptional

    query: Metadata query used to filter the sandboxes (e.g. "user=abc&app=prod"). Each key and values must be URL encoded.

  • statearrayoptional

    query: Filter sandboxes by one or more states

  • orderstringoptional
    default "desc"

    query: Sort direction by sandbox start time. Defaults to desc (newest first).

    values ascdesc
  • startedAfterstringoptional

    query: Return sandboxes started at or after this timestamp.

  • templatestringoptional

    query: Filter sandboxes by a template ID or alias.

  • nextTokenstringoptional

    query: Cursor to start the list from

  • limitintegeroptional
    default 100

    query: Maximum number of items to return per page

Returns

200

Errors follow the E2B format — see error codes

Request

curl
curl https://api.deepraxis.com/e2b/v2/sandboxes \
  -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(**opts)
sandboxes = paginator.next_items()
print(sandboxes)
TypeScript
import { Sandbox } from "e2b";

const opts = {
  apiKey: "$PRAXIS_API_KEY",
  apiUrl: "https://api.deepraxis.com/e2b",
  domain: "sandbox.praxisusercontent.com",
};

const paginator = Sandbox.list(opts);
const sandboxes = await paginator.nextItems();
console.log(sandboxes);

Response 200

[
  {
    "templateID": "node22",
    "sandboxID": "sbib185b70d57718fd1f3df06d4",
    "clientID": "iuf9ho516lcexp7svm6td",
    "startedAt": "2026-10-04T15:32:41.457Z",
    "endAt": "2026-10-04T15:37:40.907Z",
    "state": "running",
    "cpuCount": 1,
    "memoryMB": 1983,
    "diskSizeMB": 24242,
    "envdVersion": "0.9.0",
    "metadata": {},
    "volumeMounts": []
  }
]

Response

HTTP 200

Successfully returned all running sandboxes

application/json

Name Type Description
[].templateID string Identifier of the template from which is the sandbox created
[].alias string Alias of the template
[].sandboxID string Identifier of the sandbox
[].clientID string Identifier of the client
[].startedAt string Time when the sandbox was started
[].endAt string Time when the sandbox will expire
[].cpuCount integer CPU cores for the sandbox
[].memoryMB integer Memory for the sandbox in MiB
[].diskSizeMB integer Disk size for the sandbox in MiB
[].metadata any
[].state string State of the sandbox
[].envdVersion string Version of the envd running in the sandbox
[].volumeMounts array<object>
[].volumeMounts[].name string Name of the volume
[].volumeMounts[].path string Path of the volume