List all files
Returns a list of the files that your account has access to, sorted by creation date. Set order to desc to return the most recently created files first.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Page size, 1-200. Unset uses the server default.
Cursor for forward pagination. Set to the file_id of the last item
from the previous page. Mutually exclusive with ending_before.
Cursor for backward pagination. Set to the file_id of the first item
from the previous page. Mutually exclusive with starting_after.
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.
Sort order by creation. Defaults to ascending (oldest first).

