v5
latestOpenAPI 3.1.02026-08-04166362486.5 KBList files
List all files for the authenticated user.
Args: pagination: The pagination options
Returns: A list of files belonging to the user.
Query parameters
Maximum number of items to return per page (1-100)
Maximum number of items to return per page (1-100)
Cursor for forward pagination - get items after this position. Use last_cursor from previous response.
Cursor for forward pagination - get items after this position. Use last_cursor from previous response.
Cursor for backward pagination - get items before this position. Use first_cursor from previous response.
Cursor for backward pagination - get items before this position. Use first_cursor from previous response.
Whether to include total count in response (expensive operation)
Whether to include total count in response (expensive operation)
Search query for fuzzy matching over name and description fields
Search query for fuzzy matching over name and description fields
Response
A list of files for the user
Example response
{
"pagination": {
"has_more": true,
"first_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNC0xMi0zMVQyMzo1OTo1OS4wMDBaIiwiaWQiOiJhYmMxMjMifQ==",
"last_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNC0xMi0zMFQyMzo1OTo1OS4wMDBaIiwiaWQiOiJ4eXo3ODkifQ==",
"total": 42
},
"data": [
{
"id": "file_abc123",
"filename": "document.pdf",
"bytes": 1024,
"mime_type": "application/pdf",
"version": 1
}
]
}