Parse File
Parse a file into a structured Markdown representation. The file size must be less than 100MB and the number of pages must be less than 400.
Email parse-feedback@contextual.ai with any feedback or questions.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The file to be parsed. The file type must be PDF, DOC / DOCX, PPT / PPTX.
The settings to use for parsing. 'basic' is for simple, text-only documents. 'standard' is for complex documents with images, complex hierarchy, and/or no natively encoded textual data (e.g. for scanned documents).
basic
, standard
Optional string representing page range to be parsed. Format: comma-separated indexes (0-based) e.g. '0,1,2,5,6' or ranges (inclusive of both ends) e.g. '0-2,5,6'
Controls whether tables are split into multiple tables by row with the headers propagated. Use for improving LLM comprehension of very large tables. Disabled in 'basic' parsing_mode.
Threshold number of table cells beyond which large tables are split if enable_split_tables
is True. Disabled in 'basic' parsing_mode.
Response
/parse response object.
Unique ID of the parse job
Was this page helpful?