List files
GET/v1/files
Your files, newest first by default. Page with after set to the previous page's last_id.
Request
Responses
- 200
- 400
- 401
- 404
- 422
- 503
One page of files.
An invalid parameter (invalid_value), an unsupported type (unsupported_file_type), or a batch input that is not a .jsonl file (invalid_file).
Missing or invalid Authorization: Bearer mdb_… (invalid_credentials).
No file with this id, or it has expired or belongs to someone else (file_not_found).
Validation Error
The Files API is unavailable (files_api_unavailable).