v1
latestOpenAPI 3.1.02026-07-26132433.7 KBFiles
List files
List project files, newest first by default. Use last_id as after to page.
get/v1/files
Query parameters
purpose'batch' | 'batch_output'
Filter by purpose. batch_output includes success and error output files (is_error on each object).
order'desc' | 'asc'
afterstring
Cursor: file id from the previous page (or last_id from the prior response).
limitinteger
Headers
x-project-idstring
Optional project identifier. Scopes the request to a specific project when provided.
Response
File list