Query Parameters
Look up a specific drive by its slug (e.g., alice/research-q1).
# 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"
}
]
}
Response
Returns an array of drive objects.
Unique identifier for the drive.
Human-readable identifier (username/drive-name). Null for unclaimed drives.
The description of the drive.
The number of files in the drive.
Total size of all files in the drive, in bytes.
Auto-deletion date for unclaimed drives. Null for claimed drives.
ISO 8601 timestamp of when the drive was created.
ISO 8601 timestamp of when the drive was last updated.