result.result_type: "parse". lane is the
source’s file type: pdf, spreadsheet (also CSV and Parquet), document
(Word), image, presentation, html, plaintext, markdown, json,
jsonl, email, diagram, audio, or video. The text payload lives on
result.document. Historical audio and video results also carry transcript_url and, on the
single-job read, inline transcript.
Formats
document.markdown, document.text, and document.blocks are present only
when you asked for them in output.formats. Default is markdown + blocks.
text is a plaintext rendering: headings and images stripped, tables flattened.
blocks are layout elements with a Location:
PDF table alignment and extraction notices
For a continuation table, Parse retains the preceding header as context and repairs missing cells only when their positions can be verified against the rendered source. Empty cells remain empty; verified values can be recovered into their original columns. This preserves source rows without inserting another header. When the column alignment remains uncertain, the affected table block ends with this sentence and the page Markdown repeats it at the end of the page:[extraction notice: possible table continuation: column alignment is ambiguous; do not interpret cell positions using a nearby header.]This can also occur on scanned pages. Keep the notice when displaying or consuming the table; the positions of its values have not been established. A block’s content can therefore include both table HTML and a trailing notice. Workspace
read-file shows the same cells as pipe-delimited rows and keeps the
notice line unchanged.
A separate extraction notice can retain source text that could not be placed in
layout blocks. Those lines remain visible without invented table cells or layout
coordinates.
Chunks
chunking.strategy:
none—chunksis emptypage— onepage_regionchunk per pagesection— chunks follow section headers
markdown for display.
Oversized results
Most Parse results keep every requested rendering inline. If the final result is too large to store safely, NDI keeps a bounded inline preview and publishes the complete parsed content through an authenticated URL instead of dropping it. Acontent_truncated disclosure explains what was previewed:
target: "document_content"meansdocument.markdownand/ordocument.textis a preview. Fetchdocument.content_urlfor the complete finalized content.target: "spreadsheet_region"means the workbook’s inline rendering is a preview. Fetch each affecteddocument.spreadsheet.sheets[].content_urlfor that sheet’s complete Markdown.
X-API-Key as the job
request. Blocks, chunks, OCR data, and transcripts are not silently removed to
make a result fit. If those remaining fields are themselves too large, the job
fails with file_too_large.
An oversized OOXML package can also use the reduced-layout structural-text
path before final result sizing. In that case document.content_url contains
the complete extracted text and parse_fidelity has
mode: "reduced_layout"; content_truncated is present only if the finalized
inline result also required a bounded preview.
Full Markdown downloads and Parquet browsing
Large Parquet files finish Parse once their complete row snapshot and small preview are ready. Full Markdown is generated only when requested. Small Parquet files keep their normal inline result. Binary cells are size placeholders; their bytes remain in the stored Parquet. After Parse succeeds, stream an authenticated GET ofdocument.content_url
(or the sheet’s content_url) to a file. For a deferred export, the first
request returns HTTP 202 with status: "pending" and a Retry-After
header. Wait that many seconds and repeat the same request. HTTP 200
returns the complete Markdown stream. Never save a 202 JSON response as Markdown,
and avoid loading the entire 200 response into memory.
For browser downloads, POST /v1/jobs/{job_id}/content-download with your
X-API-Key. It is available only when the result carries
document.content_url or the sheet’s content_url; otherwise it returns 404
file_not_found. Poll while it returns 202 and status: "pending". When ready,
the 200 response contains status: "ready", url, and expires_at (Unix
seconds). Open url to save the full .md. If status is failed, POST
with ?retry=true to try again. Add sheet_name=... to select a workbook
sheet. The signed URL temporarily grants access, so treat it as a credential.
It never outlives the job’s payload_expires_at.
Repeated requests to a job reuse its export. Repeating Parse with the same
uploaded bytes, filename, and settings can reuse the cached result and source
snapshot; a shortened preview no longer prevents that reuse.
Parquet sheets also provide rows_url, row_count, and column_count.
GET rows_url?start_row=...&limit=... with your API key to read a small page;
row numbers start at zero. Pages come from the exact Parquet snapshot parsed
by the job. The console uses this endpoint, including when jumping directly
to a row near the end. Its MD/JSON downloads remain previews; Download full
Markdown saves all the text.
Historical jobs are not rewritten. Run Parse again to produce the complete
artifact for a result created before this behavior was available.
Images
output.include_images=true attaches figure crops on PDF and
png / jpg / jpeg / webp uploads. figures.mode=describe captions
those blocks. diagrams.mode=mermaid keeps flowchart fences.
Warnings
warnings lists the Parse settings a job accepted but did not apply, one line
each, for example page_ranges was not applied: email has no pages. It
is left out when empty. A later server release starts filling it.
Each setting is named where you sent it. On Split, Classify, and Extract, a
setting inside the parse section reads as parse.<setting>, for example
parse.figures.mode was not applied: email files do not support it. A
parse_mode of medium or high on a file type that parses the same at every
mode runs the low Parse and bills as low. So does medium on a PowerPoint file,
which has a high slide check and no medium step.
Some settings do not reach every part of a file yet. A follow-up release will
make these apply:
- Images inside emails, HTML files, and spreadsheets are read with OCR, but
parse_mode="high"does not correct that text andfigures.mode=describedoes not caption those images. - A PDF attached to an email adds its text layer only: the first 50 pages, up to 50,000 characters, with no OCR. A scanned PDF attachment adds no text.
- A Word or PowerPoint file attached to an email adds its filename only.
- Any non-image file attachment over 8 MiB adds its filename only. A spreadsheet attachment does the same when its uncompressed size is over 8 MiB. Image attachments have no size cap and are still read with OCR.
.docx or .docm) whose uncompressed size is over 2 GiB, or whose
uncompressed size cannot be read, is extracted as text. parse_mode="high" does
not run on that path, and the job is still billed at the high price. .pptx and
.vsdx use the same size check.
Spreadsheets
Workbook results may includedocument.spreadsheet.sheets[].cell_map_url —
an authenticated, job-scoped URL that maps rendered table axes to physical
rows and columns. Fetch it with the same X-API-Key. See
GET /v1/jobs/{job_id}/spreadsheet-cell-maps/{artifact_ref}.
Each document.spreadsheet.sheets[] entry names its tab in sheet_name. Only
sheets with downloadable artifacts are listed; for every tab read
blocks[].sheet_name or blocks[].location.sheet. Pass those names to
spreadsheet / --sheets.
When an XLSX/XLSM workbook uses the oversized-result path, each affected sheet
has content_url. Blocks do not claim coverage of rows omitted from the inline
preview. Classify, Split, and Extract continue to refuse this oversized lane
until their own consumers can process every part.
Converted-PDF artifacts (Word, PowerPoint and Visio sources rendered to PDF) are at
GET /v1/jobs/{job_id}/converted-pdf/{artifact_ref}.
Historical audio and video results
New audio/video processing is no longer supported. The following fields describe previously saved results, which remain readable.lane is "audio" or "video". transcript_url is an authenticated,
job-scoped MediaTimeline. Fetch it with the same X-API-Key via
GET /v1/jobs/{job_id}/parse-transcript/{artifact_ref}.
It is null on every other lane, and when no timeline
was stored. Ground jobs keep a separate transcript_url on
GET /v1/jobs/{job_id}/ground-transcript/{artifact_ref}.
GET /v1/jobs/{job_id} also inlines the same object as result.transcript.
GET /v1/jobs keeps transcript_url and omits transcript.
All times are integer milliseconds on the source recording.
start_ms is
inclusive, end_ms exclusive. Segments are ordered, non-overlapping, satisfy
end_ms > start_ms, and tile 0..duration_ms with no holes.
frames is populated for video only.