Docs
POST /v1/pdf/data
Use POST /v1/pdf/data to pull fields that match a JSON Schema, with page citations. Omit schema to get Markdown per page. Uses the text layer; set ocr true or send a scan and the API processes selected scanned pages in vision batches, up to the 500-page document limit. Use /v1/pdf/ocr for a searchable PDF output. Billed at the AI rate. Failures are not billed.
PDF + optional JSON Schema → structured JSON and citations. Omit schema for Markdown. AI rate; failed jobs are free.