Request body
string
required
Unique name for the volume. Must be unique within the organization.
integer
Volume size in GB. Defaults to 10GB if not specified.
Response
string
Unique identifier for the volume
string
Volume name
integer
Volume size in GB
string
Current state:
creating, ready, deleting, deleted, errorstring
ID of the organization that owns the volume
string
ISO 8601 timestamp of volume creation
Example request
Example response
Common use cases
- Data persistence: Store data that survives sandbox deletion
- Shared storage: Share data between multiple sandboxes
- Database volumes: Persistent storage for database containers
- Build caches: Speed up builds with cached dependencies