Skip to content
中文

Team volume

GET/sandbox/v1/volumes/{volumeID}● Supported

Official E2B docs ↗

Request parameters

  • volumeIDstringrequired

    path: Id of the team volume, the volumeID returned by createVolume or listVolumes.

Returns

200

Errors follow the E2B format — see error codes

Request

curl
curl https://api.deepraxis.com/sandbox/v1/volumes/sbv_123 \
  -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/volumes/sbv_123",
    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/volumes/sbv_123`, {
  headers: { "X-API-Key": apiKey },
});
console.log(resp.status, await resp.text());

Response 200

{
  "volumeID": "sbv_3bba8bcb484b29a99e68",
  "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.

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

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.