List Files
List files with optional filtering and pagination.
Filter by file_name, file_ids, or external_file_id. Supports cursor-based pagination and custom ordering.
Query parameters
The maximum number of items to return. Defaults to 50, maximum is 1000.
The maximum number of items to return. Defaults to 50, maximum is 1000.
A page token received from a previous list call. Provide this to retrieve the subsequent page.
A page token received from a previous list call. Provide this to retrieve the subsequent page.
Filter by specific file IDs.
Filter by specific file IDs.
Filter by file name (exact match).
Filter by file name (exact match).
Filter by external file ID.
Filter by external file ID.
A comma-separated list of fields to order by, sorted in ascending order. Use 'field_name desc' to specify descending order.
A comma-separated list of fields to order by, sorted in ascending order. Use 'field_name desc' to specify descending order.
Fields to expand on each file.
Fields to expand on each file.
Cookies
Response
Successful Response
Example response
{
"items": [
{
"id": "dfl-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"name": "invoice.pdf",
"external_file_id": "ext-12345",
"file_type": "pdf",
"project_id": "123e4567-e89b-12d3-a456-426614174000",
"purpose": "parse"
}
]
}