Upload single document file

Deprecated
Upload a single document file with metadata for processing. Allowed formats are: - Images: .jpeg, .jpg, .png, .tiff (.tif) - PDFs: .pdf The API accepts a single file with optional JSON metadata. A DocumentId is pre-assigned and returned immediately. Note: This endpoint does not use splitter functionality. **DEPRECATED:** This endpoint will be removed. Use the batch upload endpoint (`/upload-direct`) instead, which supports single or multiple files.