Skip to content

Sandboxes · 7 November 2026

Mount a volume through v2

POST /v2/sandboxes accepts spec.volumes, a list of at most one {volume, path} entry naming a volume of the same project by its ID (vol_...). The volume is mounted read-write at its path before the sandbox's phase is running; a volume that is still being created is waited for. The sandbox writes the volume alone: while it holds it, no other sandbox mounts it, and it cannot be forked. The API key needs volumes:attach, and must be able to read the volume: without volumes:attach the request returns 403, and a volume the key cannot read, or that does not exist, returns 400. volumes is set when the sandbox is created and cannot be changed. Each path must be absolute, outside /proc, /sys and /dev, and neither at nor inside a file share's path; otherwise the request returns 400.

Same day.

Cut your cloud billby 75%.

No card to start. Billed by the second after.

Start free, no card