Cloud Panel

List volumes

GET/api/v1/volumes

Every volume of the account, with the server each one is attached to.

Example request

curl -X GET "https://platform.serverscamp.com/api/v1/volumes" \
  -H "Authorization: Bearer $API_TOKEN"

Answer

Status 200 with this body.

FieldTypeDescription
itemslist of Volumerequired
items[].disk_uuidstringrequiredVolume id
items[].display_namestring, optionalName given at create
items[].size_gbintegerrequiredSize, GB
items[].storage_class_idintegerrequiredDisk id: standard, enterprise or their dedicated twins
items[].storage_class_namestring, optionalDisk name
items[].limitsVolLimitsrequired
items[].limits.read_iops_limitintegerrequiredRead operations a second, at most
items[].limits.write_iops_limitintegerrequiredWrite operations a second, at most
items[].limits.read_bandwidth_limitintegerrequiredRead throughput, MB/s, at most
items[].limits.write_bandwidth_limitintegerrequiredWrite throughput, MB/s, at most
items[].statestringrequiredcreating while it is made, then created; attaching, detaching, resizing and deleting while those run; failed when something went wrong
items[].vm_uuidstring, optionalServer it is attached to; null when it is free
items[].attached_vm_namestring, optionalName of that server
items[].monthly_cost_eurnumber, optionalWhat the volume costs a month at its size, EUR
items[].provision_phasestring, optionalWhile a volume is made from a backup: preparing, restoring, then ready
items[].provision_pctinteger, optionalHow far that restore got, percent
items[].created_atstringrequiredWhen it was created, ISO 8601
totalintegerrequired
{
  "items": [
    {
      "disk_uuid": "c7a1e3f9-52b8-4d06-9e41-8b3f2a6d0c75",
      "display_name": "data",
      "size_gb": 100,
      "storage_class_id": 18,
      "storage_class_name": "standard",
      "limits": {
        "read_iops_limit": 100000,
        "write_iops_limit": 100000,
        "read_bandwidth_limit": 1024,
        "write_bandwidth_limit": 1024
      },
      "state": "created",
      "vm_uuid": "6f1c2a9e-4b3d-4e8a-9c71-2d5e8f0a1b34",
      "attached_vm_name": "web-1",
      "monthly_cost_eur": 8,
      "provision_phase": null,
      "provision_pct": null,
      "created_at": "2026-11-01T09:40:02+00:00"
    }
  ],
  "total": 1
}

Errors

StatusWhen
401No token, or a token that is not valid
422The body or a parameter is not what the operation takes

Every operation can also answer 401 without a valid token. All errors