# List all drives
curl https://api.getagentdrive.com/v0/drives \
-H "Authorization: Bearer agd_your_key"
# Look up by slug
curl "https://api.getagentdrive.com/v0/drives?slug=alice/research-q1" \
-H "Authorization: Bearer agd_your_key"
{
"data": [
{
"id": "d7f3e-abc-123",
"name": "research-q1",
"slug": "alice/research-q1",
"description": "",
"file_count": 42,
"total_size": 1048576,
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-03-10T14:20:00Z"
}
]
}
Drives
List Drives
List all drives in your account, or look up a drive by slug.
GET
/
v0
/
drives
# List all drives
curl https://api.getagentdrive.com/v0/drives \
-H "Authorization: Bearer agd_your_key"
# Look up by slug
curl "https://api.getagentdrive.com/v0/drives?slug=alice/research-q1" \
-H "Authorization: Bearer agd_your_key"
{
"data": [
{
"id": "d7f3e-abc-123",
"name": "research-q1",
"slug": "alice/research-q1",
"description": "",
"file_count": 42,
"total_size": 1048576,
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-03-10T14:20:00Z"
}
]
}
Query Parameters
# List all drives
curl https://api.getagentdrive.com/v0/drives \
-H "Authorization: Bearer agd_your_key"
# Look up by slug
curl "https://api.getagentdrive.com/v0/drives?slug=alice/research-q1" \
-H "Authorization: Bearer agd_your_key"
{
"data": [
{
"id": "d7f3e-abc-123",
"name": "research-q1",
"slug": "alice/research-q1",
"description": "",
"file_count": 42,
"total_size": 1048576,
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-03-10T14:20:00Z"
}
]
}
