Skip to Content

Parse

Recover headings, paragraphs, lists, and tables from your documents. Results keep the original page order, with source images available for checking the content.

Use the portal quickstart to try a document in your browser, or the SDK quickstart to set up your first script.

From file to content

With the SDK configured, one call uploads your file and waits for its result:

const result = await client.documents.create({ file: "statement.pdf" })

for (const page of result.pages) {
  console.log(page.page_number, page.markdown)
}

The SDK method is documents.create. For background processing, use jobs.create and collect the result later.

What comes back

Each page has a number and its recovered Markdown. Keep those together when you pass content to another application or an AI agent, so the reader can return to the source.

ResultUse it to
document.idRetrieve the document again without uploading it
pagesRead the recovered content in page order
warningsFind content that needs attention
Page confidenceChoose pages to review against the source

Tables that continue across pages remain separate. Confidence is an estimate, not a guarantee of accuracy. Read results explains the complete response and the difference between blank and failed pages.

Check the source

In the portal, open a document to compare its page image with the formatted Markdown. Switch to Raw to see the text your integration receives.

From code, documents.page retrieves one page and temporary access to its source image. documents.result retrieves the saved content. See page and result reads.

Use your own files

Upload PDFs, supported still images, office documents, and presentations. Supported files lists the formats and limits; Upload documents covers file inputs and linking submissions to your own records.

Once content is ready, Search can help you find passages, and Classify can apply your categories to the document.

On this page