Files
API key in Authorization header using Bearer .
Filter by purpose
Max number of files.
100Number of files to skip.
0Successful Response
OpenAI-compatible list response for files.
Object type identifier.
listTotal number of items available for this resource.
Bad Request
Unauthorized
Forbidden
Validation Error
Too Many Requests
Internal Server Error
Upstream Unavailable
API key in Authorization header using Bearer .
Successful Response
Bad Request
Unauthorized
Forbidden
Conflict
Validation Error
Too Many Requests
Internal Server Error
Upstream Unavailable
API key in Authorization header using Bearer .
File id (UUID)
Successful Response
OpenAI-compatible file object (subset).
We keep id as the DB UUID string, and expose the OpenAI-ish envelope.
File id (UUID).
Object type.
fileFile size in bytes.
Unix timestamp (seconds).
Original filename.
Intended file purpose.
Current file status.
Optional status details.
Bad Request
Unauthorized
Forbidden
Not Found
Validation Error
Too Many Requests
Internal Server Error
Upstream Unavailable
API key in Authorization header using Bearer .
File id (UUID)
Successful Response
OpenAI-compatible delete response.
File id (UUID).
Object type.
fileDeletion status.
trueBad Request
Unauthorized
Forbidden
Not Found
Validation Error
Too Many Requests
Internal Server Error
Upstream Unavailable
API key in Authorization header using Bearer .
File id (UUID)
Raw file bytes
Bad Request
Unauthorized
Forbidden
Not Found
Validation Error
Too Many Requests
Internal Server Error
Upstream Unavailable
No content
Last updated