List files with optional status filtering.
cURL
curl --request GET \ --url https://api.cuadra.ai/v1/files \ --header 'Authorization: Bearer <token>'
{ "items": [ { "id": "<string>", "filename": "<string>", "contentType": "<string>", "sizeBytes": 1, "sha256": "<string>", "status": "uploading", "isDuplicate": true, "storageCharged": 1, "createdAt": "2023-11-07T05:31:56Z", "processingStatus": { "progress": 0, "error": "Failed to extract text from PDF" }, "processedAt": "2025-01-17T10:02:30Z", "associations": [ { "resourceType": "<string>", "resourceId": "<string>", "createdAt": "2023-11-07T05:31:56Z" } ], "source": "api", "sourceDetail": "dashboard", "connectorMetadata": { "externalId": "<string>", "externalUrl": "https://docs.google.com/document/d/1Bxi...", "externalPath": "/Marketing/Q4 Reports/Revenue.pdf", "modifiedBy": "Jane Doe", "sourceModifiedAt": "2026-01-10T14:30:00Z", "labels": [ "important", "q4-review" ], "extra": { "shared": true, "starred": false } } } ], "hasMore": true, "nextCursor": "file_xyz789" }
JWT token from Stytch B2B authentication (magic link, SSO, or M2M)
1 <= x <= 100
Opaque cursor
Paginated list of files
Paginated file list response. Uses cursor-based pagination for scalability.
List of files
Show child attributes
Whether more results are available
true
Cursor for next page (null if no more results)
"file_xyz789"
Was this page helpful?