Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
multipart/form-data
File upload form data schema
File to upload and process
Optional JSON string of container tags array. This can be an ID for your user, a project ID, or any other identifier you wish to use to group documents.
Example:
"[\"user_123\", \"project_123\"]"
Optional file type override to force specific processing behavior. Valid values: text, pdf, tweet, google_doc, google_slide, google_sheet, image, video, notion_doc, webpage, onedrive
Example:
"image"
Required when fileType is 'image' or 'video'. Specifies the exact MIME type to use (e.g., 'image/png', 'image/jpeg', 'video/mp4', 'video/webm')
Example:
"image/png"