Volumes

List volumes for the authenticated account. Filter by VM or region.

Pass X-Project-ID to scope the list to a single project. When omitted, returns volumes across every project the API key has access to.

get/api/v1/volumes

Request

  • Base URL
    https://api.rafftechnologies.com
  • URL
    https://api.rafftechnologies.com/api/v1/volumes
  • Auth
    API key in header X-API-Key

Query parameters

vm_idstring uuid

Filter by attached VM UUID

region'us-east'

Filter by region

limitinteger
offsetinteger

Headers

X-Project-IDstring uuid

Optional project ID to scope the list. Omit to list across all accessible projects.

Response

List of volumes

successboolean
totalinteger

Example response

{
  "data": [
    {
      "name": "data-vol-1",
      "volume_type": "nvme",
      "size": 100
    }
  ]
}

Changes