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.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The type of file being uploaded.
**Possible values:**
* `document` - Document files (PDF, Word, etc.)
* `image` - Image files (PNG, JPEG, etc.)document, image The file to upload