沙箱
读取卷
读取一个团队卷的信息。
GET
/sandbox/v1/volumes/{volumeID}● 支持请求参数
volumeIDstring必填path: Id of the team volume, the `volumeID` returned by createVolume or listVolumes.
返回
200
错误按 E2B 格式返回,参见 错误码
响应
HTTP 200
Successfully retrieved a team volume
application/json
| 名称 | 类型 | 说明 |
|---|---|---|
| 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. |
自有入口在响应对象(列表为每行)追加 createdAt:创建时间,ISO 8601 UTC 字符串。
网关自动设置 X-Praxis-Face: own-v1,客户端无需传入;/e2b 兼容入口会剥除该头,保留厂商响应形状。