Huddle01 Cloud
Volumes

List volumes

List all volumes.

GET
/volumes
X-API-Key<token>

GPU API key (format: mk_...). Generate from the dashboard or via POST /api-keys.

In: header

Query Parameters

status?string

Filter by volume status

Value in"ordered" | "attached" | "attaching" | "detached" | "deleted"

Response Body

application/json

application/json

curl -X GET "https://gpu.huddleapis.com/api/v1/volumes"
{
  "code": "OK",
  "data": {
    "data": [
      {
        "id": "string",
        "instance_id": "string",
        "name": "string",
        "status": "ordered",
        "size": 0,
        "is_os_volume": true,
        "type": "string",
        "location": "string",
        "created_at": "2019-08-24T14:15:22Z",
        "contract": "string",
        "base_hourly_cost": 0,
        "monthly_price": 0,
        "currency": "string"
      }
    ],
    "meta": {
      "total": 0
    }
  }
}
{
  "code": "BAD_REQUEST",
  "error": "Missing required field: hostname"
}