Endpoints
Upload File
Upload a file for use with AI chat completions.
This endpoint allows uploading documents or images that can later be referenced in chat completion requests via the metadata.files parameter.
POST
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
The type of file being uploaded.
Available options:
document, image Example:
"document"
Body
multipart/form-data
The file to upload

