Skip to main content
On Thursday 10 December 2026 at 19:00 CET (18:00 UTC) API v3 changes shape in one release. It breaks existing clients. There is no version pinning and no period where old and new names both work. Until then, the API preview serves the new shape so you can adapt your code.

Who this is for

Why we are doing this

You are building more on the API than you were a year ago: workflows with several steps, typed schemas, and reviews that trace each value back to the page it came from. This release makes the API fit that work. Results come back ready to use, every value can be traced to its exact place in the document, and the API behaves the same way on every route.

What we did

We reviewed the whole public API, every route and every key, and brought it to one consistent shape:
  • A run returns every parse it produced, and document blocks have their own read.
  • Extracted values come in their field’s type.
  • Ids and workflow versions have one name on every route.
  • Requests are validated strictly, and results that are still being prepared ask you to poll.
It ships as one release, so you adapt your integration once.

What gets better

Test it now on the API preview

The preview serves the new shape in front of production: same API key, same workflows, same runs.
Read one of your own runs on both hosts and compare the answers. The preview stays available until the release. From 10 December at 19:00 CET, https://api.anyformat.ai/v3/ answers in the new shape. Runs you start through the preview are real runs on your account and are charged as usual.
Preview only: leave out delivery=url. The preview answers results inline, so a read that sends delivery=url answers 400 VALIDATION_ERROR. URL delivery cannot be tested on the preview. If your integration sends it, drop the parameter for your preview requests and keep it in production: delivery=url works on https://api.anyformat.ai/v3/ today and after the release.

What breaks

Six things. Each one says what to change.

1. Reading a run: GET /v3/runs/{id}/

Action: read results.parses[0] where you read results.parse, and call the parse read when you need blocks.

2. Results that are not ready answer 202

Today the API waits up to 30 seconds and then answers 504 GATEWAY_TIMEOUT. From 10 December it answers at once with 202, a Retry-After header and results: null. Action: treat 202 as “not ready”, wait Retry-After seconds, and ask again. A 200 is final.

3. The shape of a parse and its blocks

Action: update the code that walks blocks and tables. If you match anchors in the markdown, send markdown_anchors=true.

4. Extracted values and evidence

Action: stop parsing value from text, and handle null in value and in evidence[].page_number.

5. Renamed keys and parameters

A request that sends an old name answers 400 VALIDATION_ERROR with a retired item that names the new key. Answers carry only the new names. Action: search your code for run_id, eval_id, version_id, source_version_id and ?version=.

6. Unknown parameters are refused

  • On the run read and the parse read, an unknown query parameter, a repeated one, or a value the read does not take answers 400 VALIDATION_ERROR. That includes include= on the run read and any exclude= value other than parse.
  • On the multipart routes (upload/run/, upload/, dataset/upload/, edit-references/, report-templates/ and parse/), a form field the route does not take answers 400 with extra_forbidden at ["form", name].
Today both are ignored. Action: send only the parameters each route documents.

New: the parse read

GET /v3/runs/{id}/parse/ answers one parse with its blocks, as {run_id, status, parse}.
  • ?node= picks a parse node. Without it you get the entry parse. An unknown node answers 404 with params.parse_node_ids.
  • include= and exclude= take the parts markdown, blocks, content, cells, regions, sequences and elements. The default is markdown,blocks,content,cells. A part you leave out is null, so keys never disappear.
  • It answers 202 with Retry-After while the run is processing or the parse is being prepared. A run that ended in error or cancelled answers 200 with parse: null.
  • sequences (elements grouped by proximity, often a line), elements (words, or lines boxed as one) and regions (layout detections) are opt-in layers.
  • A layer too large to inline comes as sequences_link, elements_link, markdown_link or blocks_link: {url, size_bytes}, gzip, valid for 15 minutes.
  • A layer that cannot be served is null, with a layer_unavailable warning and a reason: not_for_tier, not_for_file_type, processing_error, too_large or parsed_before_available.
  • It refuses with 400 a part named in both include and exclude, the parts content, cells or regions beside exclude=blocks, and table_format.

Also new

None of these break a client. results_url for results above 6 MB and delivery=url work as they do today. The preview is the one exception: it refuses delivery=url.

Known limitations

  • A link’s box can be misplaced on a page that was rotated upright during parsing.
  • Block types differ by tier. An agentic parse has no caption, list_item, footnote or formula, and a form comes back as figure.
  • The evidence text of an agentic extraction is often empty.
  • Evidence text is what the engine read, not a verbatim quote of the document.

SDKs and tools

  • Python and TypeScript SDKs. anyformat 3.0.0 and @anyformat/sdk 3.0.0 ship with the release and speak the new shape. The 2.x releases stop working against https://api.anyformat.ai at the release. Until then, test the REST answers on the preview.
  • MCP. The tools take the new shape at the release.

Checklist

  • Read one of your runs on https://api-preview.anyformat.ai/v3/ and compare it with production.
  • Read results.parses[], and fetch blocks from GET /v3/runs/{id}/parse/.
  • Poll on 202, honouring Retry-After.
  • Read value in its field’s type, and handle null.
  • Handle evidence[].page_number: null.
  • Replace run_id, eval_id, version_id, source_version_id and ?version=.
  • Remove parse_format and every parameter or form field a route does not document.
  • Update block handling: page_number, the type list, confidence, links and table.
  • Send an Idempotency-Key on retried writes.
  • Upgrade the SDKs to 3.0.0 on 10 December.

Help

Write to support@anyformat.ai if a change blocks you, or if you cannot be ready by 10 December.