List Files
Changed onList files with optional filtering and pagination.
Filter by file_name, file_ids, or external_file_id. Supports cursor-based pagination and custom ordering.
Request
- The document declares no server URL.
- Auth: HTTP bearer
Query parameters
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.
Filter by specific file IDs.
Filter by file name (exact match).
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.
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"
}
]
}Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
added the new optional
queryrequest parameterexpand - info
added the optional property
//to the response with the status
- info