List all volumes in your organization with optional filtering.
Query parameters
Include volumes that have been deleted in the response
Response
Returns an array of volume objects.
Unique identifier for the volume
Current state: creating, ready, deleting, deleted, error
ID of the organization that owns the volume
ISO 8601 timestamp of volume creation
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"