Skip to main content

PDF

Use this contract for PDF results. It is designed for fixed-layout document workflows where teams need search, OCR-aware extraction, policy review, contract analysis, and RAG over page-faithful content.

Supported modes

  • Basic Single Column: Standard extraction for single-column PDF layouts.
  • Basic Multi Column: Standard extraction for multi-column PDF layouts.
  • Advanced: OCR for scanned PDFs and OCR-aware extraction for complex digital layouts. Advanced runs are limited to 100 pages per run in beta.

Beta limits

  • Maximum file size: 25 MB
  • Advanced mode page limit: 100 pages per run

Top-level envelope

Document fields

Universal content/block shape

Every public content record uses the same base shape. Common record types include paragraph, heading, list, table, image, and header_footer.

Warnings

  • warnings is always present.
  • Use plain strings.
  • Keep warnings human-readable.
  • Use warnings for client-facing notes, not for hidden parser behavior.

What clients can rely on

  • Page order stays stable.
  • Section structure stays explicit.
  • bbox and source_ref stay attached to each block.
  • attributes carries PDF-specific details.
  • The public contract does not expose internal transport or worker details.

Example

Last modified on April 28, 2026