Upload a file for use when sending messages, enabling multimodal understanding of images, documents, audio, and video. Uploaded files are for use by the current end-user only.
API Key authentication. For all API requests, include your API Key in the Authorization HTTP Header, prefixed with Bearer. Example: Authorization: Bearer {API_KEY}. Strongly recommend storing your API Key on the server-side, not shared or stored on the client-side, to avoid possible API-Key leakage that can lead to serious consequences.
File upload request. Requires multipart/form-data.
File uploaded successfully.
Unique file ID.
File name.
File size in bytes.
File extension.
MIME type of the file.
ID of the user who uploaded the file.
Upload timestamp (Unix epoch seconds).
Preview URL for the file.
Source URL of the file.
Original URL of the file.
ID of the associated user.
ID of the associated tenant.
ID of the associated conversation.
Storage key for the file.