List all files
Returns a list of the files that your account has access to. orq.ai sorts and returns the files by their creation dates, placing the most recently created files at the top.
Query parameters
Page size. Unset uses the server default.
Cursor for forward pagination. Set to the file_id of the last item from the previous page.
Cursor for backward pagination. Set to the file_id of the first item from the previous page.
Restrict results to files declared with this purpose. Accepts a purpose alias (retrieval, knowledge_datasource, batch, code_interpreter) or canonical FILE_PURPOSE_* name case-insensitively. Omit to list files of every purpose.
Response
OK
Changes
Changed in 8 of the 254 revisions of this API.44
- ○
added the new optional
queryrequest parameterpurposenew-optional-request-parameter
- ○
- ●
added the new
FILE_PURPOSE_CODE_INTERPRETERenum value to thedata/items/purposeresponse property for the response status200response-property-enum-value-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
removed the
FILE_PURPOSE_CODE_INTERPRETERenum value from thedata/items/purposeresponse property for the response status200response-property-enum-value-removed
This revision also has 49 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
added the new
FILE_PURPOSE_CODE_INTERPRETERenum value to thedata/items/purposeresponse property for the response status200response-property-enum-value-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
removed the
FILE_PURPOSE_CODE_INTERPRETERenum value from thedata/items/purposeresponse property for the response status200response-property-enum-value-removed
This revision also has 49 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
added the new
FILE_PURPOSE_CODE_INTERPRETERenum value to thedata/items/purposeresponse property for the response status200response-property-enum-value-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
removed the
FILE_PURPOSE_CODE_INTERPRETERenum value from thedata/items/purposeresponse property for the response status200response-property-enum-value-removed
This revision also has 43 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
added the new
FILE_PURPOSE_CODE_INTERPRETERenum value to thedata/items/purposeresponse property for the response status200response-property-enum-value-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
Of the 254 revisions, 71 have no diff computed.