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"
}
]
}Changes
Changed in 7 of the 33 revisions of this API.49
- ○
added the optional property
detail/items/ctxto the response with the422statusresponse-optional-property-added
- ○
added the optional property
detail/items/inputto the response with the422statusresponse-optional-property-added
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the new optional
queryrequest parameterexpandnew-optional-request-parameter
- ○
added the optional property
items/items/download_urlto the response with the200statusresponse-optional-property-added
- ○
- ●
deleted the
queryrequest parameterexpandrequest-parameter-removed
- ●
removed the optional property
items/items/download_urlfrom the response with the200statusresponse-optional-property-removed
This revision also has 46 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the new optional
queryrequest parameterexpandnew-optional-request-parameter
- ○
added the optional property
items/items/download_urlto the response with the200statusresponse-optional-property-added
- ○
- ●
deleted the
queryrequest parameterexpandrequest-parameter-removed
- ●
removed the optional property
items/items/download_urlfrom the response with the200statusresponse-optional-property-removed
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the new optional
queryrequest parameterexpandnew-optional-request-parameter
- ○
added the optional property
items/items/download_urlto the response with the200statusresponse-optional-property-added
- ○
- ○
api tag
Filesaddedapi-tag-added
This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○