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

NameInTypeRequiredWhat it is
sandbox_idpathstringYes
volume_idpathstringYesA block volume.
Idempotency-KeyheaderstringNoMakes a repeat of this call safe for 24 hours.

Answer

200. The volume, unlocked.

200
{
  "volume": "vol_3ahrz6dmv29gqy5ckt18fpx4b",
  "sandbox": "sbx_3ahrz6dmv29gqy5ckt18fpx4b",
  "locked": false,
  "throwaway": false,
  "attached_at": "2026-11-23T12:00:00.000Z"
}
FieldTypeAlwaysWhat it is
volumestringYesA block volume.
sandboxstringYes
lockedbooleanYes
throwawaybooleanYes
attached_atstringYesRFC 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

ClientCall
TypeScriptpod.volumes.unlock(sandbox, volume)
Pythonpod.volumes.unlock(sandbox, volume)