Let a sandbox see a volume attached locked
Unlocking a volume that is not locked answers it as it is.
POST/v1/sandboxes/{sandbox_id}/volumes/{volume_id}/unlock
Not available yet Volumes are not served by the API yet. Their calls answer from a stand-in.
Unlocking a volume that is not locked answers it as it is.
A key with the sandboxes:write scope.
Request
curl -X POST "https://api.pod.mapier.ai/v1/sandboxes/sbx_3ahrz6dmv29gqy5ckt18fpx4b/volumes/vol_3ahrz6dmv29gqy5ckt18fpx4b/unlock" \
-H "Authorization: Bearer $POD_API_KEY"Parameters
| Name | In | Type | Required | What it is |
|---|---|---|---|---|
sandbox_id | path | string | Yes | |
volume_id | path | string | Yes | A block volume. |
Idempotency-Key | header | string | No | Makes a repeat of this call safe for 24 hours. |
Answer
200. The volume, unlocked.
{
"volume": "vol_3ahrz6dmv29gqy5ckt18fpx4b",
"sandbox": "sbx_3ahrz6dmv29gqy5ckt18fpx4b",
"locked": false,
"throwaway": false,
"attached_at": "2026-11-23T12:00:00.000Z"
}| Field | Type | Always | What it is |
|---|---|---|---|
volume | string | Yes | A block volume. |
sandbox | string | Yes | |
locked | boolean | Yes | |
throwaway | boolean | Yes | |
attached_at | string | Yes | RFC 3339 in UTC with milliseconds, for example 2026-11-23T17:04:05.123Z. |
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
| Client | Call |
|---|---|
| TypeScript | pod.volumes.unlock(sandbox, volume) |
| Python | pod.volumes.unlock(sandbox, volume) |