Create and poll
{"url": ...} or {"id": ...} from files.upload. See Migrating Parse.
Schema changes
Chunkr accepted any JSON Schema generated by Pydantic or Zod. Extend validates schemas more strictly. Review your schemas against these rules before migrating:Before and after
system_prompt parameter maps to config.extractionRules, a plain-language string applied across the whole extraction:
Reading the output
Chunkr returned three parallel objects that mirrored your schema:results, citations, and metrics. Extend returns value (your data) and a flat metadata map keyed by field path.
Field paths
Chunkr’s docs described field paths likeline_items[0].description as a way to think about the mirrored structure. On Extend, those paths are literally the keys of metadata.
Confidence
A simple replacement for Chunkr’s
Low flag is a threshold on ocrConfidence, for example < 0.8. For a stronger signal, enable the Review Agent and route anything with reviewAgentScore <= 3 to review. See Extend’s confidence guide.
Citations
Chunkr citations carriedbboxes[] in {left, top, width, height} pixels. Extend citations carry a polygon[] of {x, y} points. Reduce the polygon to a rectangle and normalize by the page size to get a Chunkr-style box:
Chunkr returned segment-level citations always and word-level when available. On Extend you choose one granularity per run with
citationMode. "line" is the default; "word" is closest to Chunkr’s word citations; "block" is closest to segment citations.Reusing a parsed document
On Chunkr you passed a parsetask_id as the file to run several extractions over one parse. On Extend, pass the same file.id to each extract run. Extraction runs parse internally, and parseRunId on the response tells you which parse run was used.
parse_configuration on an extract task), set config.parseConfig with any Parse option.
Configuration mapping
Configuration mapping
Full reference: Extend extraction configuration.
Next Steps
Polling, Webhooks & Production
Async runs, webhooks, retention, and limits.
FAQ
Accounts, deployment, legacy API, and feature differences.