Skip to main content
Parse converts a document into structured text. OCR runs when the file needs it; ocr_applied on the result says whether it did.

Sources

Upload, URL, workspace file, or a prior parse (ParseResultSource / { type: "parse_result", job_id }). Reusing a parse skips page selection and include_images. See Sources.

Useful options

Async batch

Share one AsyncNdiClient. Each jobs.wait polls independently.
TypeScript is already async — Promise.all over the same client.

Errors

  • invalid_request — extra body fields, bad source, password on a non-PDF
  • unsupported_file_type
  • JobFailedError — job status=failed (for example corrupt_file)

Next