Laws, fees, notices and guidance change quietly and live in pages, PDFs and spreadsheets. docpipeline reads them and returns structured facts, each with the exact words that support it, where those words sit in the source, and a score you can route on. When a value cannot be backed by its source, it is held and labelled, never quietly published.
Each step is checked before the next one trusts it. Most checks are deterministic code, not a model's opinion.
A value that fails a step is held with the reason, not dropped and not published. If the judge itself is unavailable or refuses a request, that is reported as what it is — not as a verdict on your document.
A value, and everything needed to check it without trusting us.
$ curl -X POST $URL/v1/extractions -H "X-Api-Key: $KEY" \ -H "Idempotency-Key: fee-check-1" -d @request.json # → 202, then poll the job { "output": { "application_fee": "AUD 2,000" }, "evidence": { "/application_fee": { "citations": [{ "quote": "The visa application charge for a Student visa is AUD 2,000 for the main applicant.", "cp_range": [39, 122], // exact offsets in the source text "markdown_sha256": "54a61ac7…", // the text it was read from "heading_path": ["Student visa (subclass 500)", "Fees"] }], "judge": { "supports": 0.98, "contradicts": 0.06 }, "applies_to": "main applicant" }}, "gaps": [], "usage": { "model_calls": 1, "input_tokens": 1215, "output_tokens": 273 }, "versions": { "extractor": "extraction-run/16" } }
Abridged, from a synthetic document. A field the source does not state comes back as a gap with a reason, not as a plausible guess.
A converter that silently returns garbage is worse than one that fails. Every parse carries a score and the signals behind it, so you can route on quality instead of hoping.
$ curl -X POST $URL/v1/parse \ -H "X-Api-Key: $KEY" -F "file=@notice.pdf" { "status": "complete", "parser": "pdf-inspector", "tier": "local", "score": 0.843, "signals": { "density": 429.0, "replacement": 0, "alnum_ratio": 0.928, "vowel_ratio": 0.357 }, "escalations": [], "engine_version": "2026-10-06", "duration_ms": 21 }
An exhausted ladder is not an error. If every permitted tier fails, you still get the best Markdown obtained, its score, every signal, and a warning saying why it stopped. A low score is a routing signal — send it to a human — not a failure.
engine_version changes whenever a
scoring weight or guard threshold does, so you can tell whether two
results are comparable.
Every response carries an x-request-id. Every error says where it came from: request, source (the page you pointed us at) or service.
Work is a job. A retried request with the same key is the same job, never a second one. At capacity you get a 503 with a computed Retry-After and the scope that is full.
The model that scores support is named in the result, and a held fact tells you why it is held.
Fetch a page as a stored, hashed snapshot, over plain HTTP or a headless browser. Its text can then be extracted again later without fetching it again.
A file in, scored Markdown out. 200 if it finishes inside the deadline, 202 with a job id if not. Both are success.
Your schema, your sources (a URL, a file, a stored parse or text), typed values with exact quotes. A focus hint reads the right sections of a long document.
Adopt a schema once and name it later. Versioned and immutable, so a result always says which version read it.
Validate claims against sources, reconcile values that disagree, and report what your questions cover.
Poll a job. Failures carry a real status — 415 unsupported, 503 at capacity.
The full contract, with every field and error, is in the API documentation.
docpipeline was built to keep a public rulebook honest: official pages, each fact traceable to its sentence, each change visible. The pipeline is the same for any rules-heavy public source — legislation, fees, regulator notices, statistics releases — and what varies is your schema, not the engine.
Stated plainly: today it reads, grounds, scores and reconciles. Watching sources for change, and a registry of official sources by jurisdiction, are next, not shipped.
Parsing and OCR run on the instance and keep the file there. Extraction sends the passages it reads to the model the operator configures, and nothing else.
It will not invent a value to fill a field, and it will not call a page a rule. Interpretation stays with you.
Uploads up to 50 MB. Job results are kept one hour; stored files and parses for the retention your key has. Usage comes with every result, and an estimated cost when the operator has set prices.