Cloud
The volume object
Persistent, encrypted storage in an environment. It is created on its own and attached to one service at a mount path; it survives deploys, and is backed up on a schedule you choose.
Attributes
volstring: The volume's id.namestring: Its name, unique in the environment.envstring: Its environment.regionstring: Its region.size_bytesnumber: Its size, whole GiB from 1 GiB.used_bytesnumber: Space used.statestring: creating, ready, restoring or soft_deleted (deleted, restorable for 7 days).backup_policyobject: {enabled, interval_s, retention}.last_backup_attimestamp: When the last backup finished.attachmentsarray: Where it is mounted: list of {svc, name, mount_path}.
Example
{
"data": {
"vol": "vol_01jdk5a2s4d6f8g0h2j4k6l8zx",
"name": "uploads",
"env": "env_01jdk3m9x5h2p8r4t6y1u3i0oa",
"region": "india",
"size_bytes": 10737418240,
"used_bytes": 1288490188,
"state": "ready",
"backup_policy": {"enabled":true,"interval_s":21600,"retention":7},
"last_backup_at": "2026-12-05T10:15:02Z",
"attachments": [{"svc":"svc_01jdk3n2f4g6h8j0k2l4z6x8ca","name":"api","mount_path":"/data"}]
}
}
Endpoints
POSTAttach a volumePOSTCreate a backupPOSTCreate a volumeDELETEDelete a volumeDELETEDetach a volumeGETGet a volumeGETGet volume metricsGETList backupsGETList volume activityGETList volumesPUTMove a volume to a groupPOSTRestore a backupPOSTRestore a deleted volumeGETStream volume eventsPATCHUpdate a volume