Skip to content
中文

List team volumes

GET/e2b/volumes● Supported

Official E2B docs ↗

Returns

200

Errors follow the E2B format — see error codes

Request

curl
curl https://api.deepraxis.com/e2b/volumes \
  -H "X-API-Key: $PRAXIS_API_KEY"
Python
from e2b import Volume

opts = dict(
    api_key="$PRAXIS_API_KEY",
    api_url="https://api.deepraxis.com/e2b",
    domain="sandbox.praxisusercontent.com",
)

volumes = Volume.list(**opts)
print(volumes)
TypeScript
import { Volume } from "e2b";

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

const volumes = await Volume.list(opts);
console.log(volumes);

Response 200

[
  {
    "volumeID": "sbv_d28b7b9a9b6c656f582d",
    "name": "docs-sample"
  }
]

Response

HTTP 200

Successfully listed all team volumes

application/json

Name Type Description
[].volumeID string ID of the volume
[].name string Name of the volume