Skip to content
中文

Team volume

GET/e2b/volumes/{volumeID}● Supported

Official E2B docs ↗

Request parameters

  • volumeIDstringrequired

    path:

Returns

200

Errors follow the E2B format — see error codes

Request

curl
curl https://api.deepraxis.com/e2b/volumes/sbv_123 \
  -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",
)

info = Volume.get_info("sbv_123", **opts)
print(info.name)
TypeScript
import { Volume } from "e2b";

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

const info = await Volume.getInfo("sbv_123", opts);
console.log(info.name);

Response 200

{
  "volumeID": "sbv_d28b7b9a9b6c656f582d",
  "name": "docs-sample",
  "token": "<access-token>"
}

Response

HTTP 200

Successfully retrieved a team volume

application/json

Name Type Description
volumeID string ID of the volume
name string Name of the volume
token string Auth token to use for interacting with volume content
domain string Domain to use as the destination for volume content requests, replacing the default api.<E2B_DOMAIN>. Only returned when the team is connected to a custom (BYOC) cluster; absent otherwise, in which case the default domain is used.