- Python
- TypeScript
- cURL
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
file | file | required | The file to upload |
filename | string | null | Override filename (optional) |
metadata | object | {} | Custom metadata to attach to the document |
use_colpali | boolean | true | Use Morphik multimodal embeddings for better image/table retrieval |
folder_name | string | null | Target folder path for organization |
Supported File Types
| Category | Extensions |
|---|---|
| Documents | .pdf |
| Word | .docx, .doc |
| PowerPoint | .pptx, .ppt, .ppsx |
| Excel | .xlsx, .xls, .xlsm |
| Images | .jpg, .png, .gif, .webp, .tiff, .bmp, .svg |
| Video | .mp4, .mpeg, .mov, .avi, .webm, .mkv, .3gp |
| Text | .txt, .md, .rst, .log |
| Data | .json, .csv, .tsv, .yaml, .xml |
| Web | .html, .htm |
Response
Waiting for Processing
Documents are processed asynchronously. Use these methods to wait for completion:- Python
- TypeScript
- cURL

