Sandbox
Create team volume
Create a new team volume.
POST
/sandbox/v1/volumes● SupportedRequest body
namestring必填Volume name, unique within your team. Use one or more ASCII letters, digits, underscores or hyphens.
Returns
201
Errors follow the E2B format — see error codes
Response
HTTP 201
Successfully created a new 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.