List files
GET/v1/files
List the active organization's uploaded files, newest first, optionally filtered by purpose. Follows OpenAI's { object: "list", data: [...] } convention. Org-scoped via x-organization-id (falling back to the caller's current organization).
Request
Responses
- 200
- 401
The list of files for the active organization.
Unauthenticated, lacking the file:read ability, or no active organization could be resolved for the caller.