Skip to main content
POST
cURL

Body

multipart/form-data
document
file

The file to parse. The file must be a PDF or image; see the list of supported file types. Provide either document or document_url, not both.

document_url
string

A publicly accessible URL to the file to parse. The file must be a PDF or image; see the list of supported file types. Provide either document or document_url, not both.

model
string

The DPT-3 model snapshot to use for this request. Accepts a dated snapshot (for example, dpt-3-pro-20260710), the dpt-3-pro-latest alias, or the bare dpt-3-pro family name (equivalent to dpt-3-pro-latest). Defaults to the latest DPT-3 Pro snapshot.

options
ParseOptions · object

Optional object that customizes the parse. Use it to select which pages to process, adjust how content appears in the Markdown, or control how much detail the response includes. Sent as a JSON-serialized string in form data.

Response

The parse response

The parse result: the full document as markdown, its hierarchical structure (with per-node spatial grounding inline), and request metadata.

markdown
string
required

The full document as a single Markdown string, in reading order.

metadata
ParseMetadata · object
required

Information about the request: model version, page count, duration, billing, and more.

structure
Document · object
required

The document's hierarchical structure: pages and the elements detected on each page. Every node below the root carries its spatial data inline in a grounding object ({page, range, box}, normalized page coordinates); leaf elements additionally carry atomic_grounding.