List the volumes attached to a sandbox

List the volumes attached to a sandbox

GET/v1/sandboxes/{sandbox_id}/volumes

Not available yet Volumes are not served by the API yet. Their calls answer from a stand-in.

A key with the sandboxes:read scope.

Request

curl "https://api.pod.mapier.ai/v1/sandboxes/sbx_3ahrz6dmv29gqy5ckt18fpx4b/volumes" \
  -H "Authorization: Bearer $POD_API_KEY"

Parameters

NameInTypeRequiredWhat it is
sandbox_idpathstringYes

Answer

200. The sandbox's volumes.

200
{
  "data": [
    {
      "volume": "vol_3ahrz6dmv29gqy5ckt18fpx4b",
      "sandbox": "sbx_3ahrz6dmv29gqy5ckt18fpx4b",
      "locked": false,
      "throwaway": false,
      "attached_at": "2026-11-23T12:00:00.000Z"
    }
  ]
}
FieldTypeAlwaysWhat it is
dataVolumeAttachment[]Yes

Errors

The refusals this call is known for: not_found. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.

In the SDKs

ClientCall
TypeScriptpod.volumes.attached(sandbox)
Pythonpod.volumes.attached(sandbox)