curl "https://api.getagentdrive.com/v0/files?drive_id=drv_abc123&prefix=documents/&delimiter=/&limit=20" \ -H "Authorization: Bearer YOUR_API_KEY"
{ "data": [ { "id": "file_xyz789", "drive_id": "drv_abc123", "path": "documents/report.pdf", "filename": "report.pdf", "mime_type": "application/pdf", "size": 24576, "content_hash": "sha256:abcdef1234567890", "content_preview": null, "tags": ["report"], "metadata": {}, "created_at": "2026-01-15T10:30:00Z", "updated_at": "2026-01-15T10:30:00Z" } ], "folders": ["documents/images/", "documents/drafts/"], "total": 1, "page": 1, "limit": 20 }
List files in a drive with optional folder navigation and pagination.
documents/
/
delimiter