Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
File upload form data schema
File to upload and process
Optional container tags. Can be either a JSON string of an array (e.g., '["user_123", "project_123"]') or a single string (e.g., 'user_123'). Single strings will be automatically converted to an array.
"[\"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
"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')
Optional metadata for the document as a JSON string. This is used to store additional information about the document. Keys must be strings and values can be strings, numbers, or booleans.
"{\"category\": \"technology\", \"isPublic\": true, \"readingTime\": 5}"