Skip to main content
POST
/
volumes
Create Volume
curl --request POST \
  --url https://api.declaw.ai/volumes \
  --header 'X-API-Key: <api-key>'
Uploads a gzip-compressed tar archive to object storage and registers it in the volume catalog. Attach the returned volume_id to sandboxes with mode: copy (the default) and Declaw hydrates the archive under the mount path at boot. The body streams end-to-end (up to 4 GiB).