Parse document

Parses an uploaded document (PDF, DOCX, etc.) and extracts structured content for use by agents.

Body Params

Document parsing request. document file is required (multipart/form-data). Supports multiple formats: PDF, DOCX, XLSX, PPTX, HTML, XML, JSON, Markdown, EPUB, RTF, ODT, ODS, ODP, CSV, TSV, YAML, TOML, INI, EML, VCF, ICS, LaTeX, and image formats (with OCR). Optional query parameter use_ocr enables OCR for PDFs and images. Optional form fields: convertForDatatable (boolean), xlsx_mode (smart/raw), xlsx_output_format (csv/json), skip_headers (integer), detect_categories (boolean), preserve_structure (boolean).

file
required
Responses

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json