Skip to main content
List all volumes in your organization with optional filtering.

Query parameters

includeDeleted
boolean
default:false
Include volumes that have been deleted in the response

Response

Returns an array of volume objects.
id
string
Unique identifier for the volume
name
string
Volume name
size
integer
Volume size in GB
state
string
Current state: creating, ready, deleting, deleted, error
organizationId
string
ID of the organization that owns the volume
createdAt
string
ISO 8601 timestamp of volume creation
deletedAt
string
ISO 8601 timestamp of volume deletion (only present if deleted)

Example request

curl https://api.daytona.io/volumes \
  -H "Authorization: Bearer YOUR_API_KEY"

Example response

[
  {
    "id": "vol_abc123",
    "name": "my-data-volume",
    "size": 50,
    "state": "ready",
    "organizationId": "org_123",
    "createdAt": "2024-01-15T10:30:00Z"
  },
  {
    "id": "vol_def456",
    "name": "cache-volume",
    "size": 100,
    "state": "ready",
    "organizationId": "org_123",
    "createdAt": "2024-01-14T09:15:00Z"
  }
]

List only deleted volumes

curl https://api.daytona.io/volumes?includeDeleted=true \
  -H "Authorization: Bearer YOUR_API_KEY"

Build docs developers (and LLMs) love