GET
/
volumes
List volumes
curl --request GET \
  --url https://api.blaxel.ai/v0/volumes \
  --header 'Authorization: Bearer <token>'
[
  {
    "events": [
      {
        "message": "<string>",
        "revision": "<string>",
        "status": "<string>",
        "time": "<string>",
        "type": "<string>"
      }
    ],
    "metadata": {
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "createdBy": "<string>",
      "updatedBy": "<string>",
      "displayName": "<string>",
      "labels": {},
      "name": "<string>",
      "plan": "<any>",
      "workspace": "<string>"
    },
    "spec": {
      "region": "<string>",
      "size": 123
    },
    "state": {
      "attachedTo": "<string>"
    },
    "status": "<string>",
    "terminatedAt": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

successful operation

The response is of type object[].