> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anyformat.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# API changes on 10 December 2026

> The breaking changes to API v3 that ship on 10 December 2026 at 19:00 CET, how to test them on the API preview today, and what to change in your code.

> [!WARNING]
>
> 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](#test-it-now-on-the-api-preview) serves the new shape so you can adapt your code.

## Who this is for

| You | Affected? |
| - | - |
| Use only the anyformat app | No. Nothing to do. |
| Use the MCP server | No. The tools move to the new shape at the release. |
| Use the Python SDK or the TypeScript SDK | Yes. Upgrade to version 3.0.0 at the release, and check the code that reads results. |
| Call the REST API directly | Yes. Read [What breaks](#what-breaks). |

## 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

| | What you get |
| - | - |
| **Values ready to use** | A number is a number, a boolean is a boolean, a date is ISO 8601. Each value is checked against its field's type when it is written, so there is nothing to parse |
| **Complete results for multi-step workflows** | A run returns every parse it produced, and each extraction names the parse it read |
| **Every value traced to its source** | Pages, blocks, table cells and links carry a `span` into the markdown, and evidence names the block and the cells it came from. Highlighting a value in the document is a lookup |
| **Tables with real structure** | Rows, columns, header rows and merged cells, with a box, a confidence and a span per cell |
| **Smaller responses** | The run read carries markdown and pages. You ask for blocks, words or layout detail only when you need them |
| **One confidence per block** | One object, on one scale from 0 to 100 |
| **One name per thing** | An id is `id` and a workflow version is `workflow_version_id`, on every route |
| **Clear answers when something is off** | A parameter the API does not know is refused by name. Results still being prepared answer at once and say when to ask again. A retried write with an `Idempotency-Key` never starts a second run |

## Test it now on the API preview

The preview serves the new shape in front of production: same API key, same workflows, same runs.

```
https://api-preview.anyformat.ai/v3/
```

```bash theme={null}
curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://api-preview.anyformat.ai/v3/runs/RUN_ID/
```

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.

> [!NOTE]
>
> **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}/`

| Today | From 10 December |
| - | - |
| `results.parse`, one parse | `results.parses[]`, one per parse node the run ran, the entry parse first, each with its `node_id` |
| The parse carries every block | The parse carries no blocks. It has `node_id`, `tier`, `markdown`, `markdown_info`, `pages` and `warnings`. Blocks come from the [parse read](#new-the-parse-read) |
| `results.extraction` | Removed. Read `results.extractions` |
| `results.document_packet_id` | Removed. Read the run's top-level `document_packet_id` |
| `results.verification_url` | Moves to the top level of the run. `null` until the run is processed |
| `parse_format=markdown\|blocks\|none` | Refused with `400`. Use `exclude=parse` where you sent `parse_format=none` |

**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

| Today | From 10 December |
| - | - |
| Markdown carries `<a id>` block anchors and `data-cell-id` on cells | Clean markdown. Send `markdown_anchors=true` to get both back |
| Parse `text` | Removed. Read `markdown` |
| Parse `layout_confidence`, `parse_confidence` | Removed. Only blocks carry a confidence |
| Block `page` | `page_number` |
| Block `type`, open labels such as `section-header` and `picture` | One of `title`, `section_header`, `text`, `list_item`, `table`, `figure`, `caption`, `footnote`, `page_header`, `page_footer`, `key_value`, `formula`, `code`, `other`, plus a `subtype` (`chart`, `handwritten`) |
| Block `layout_confidence`, `parse_confidence` | `confidence {layout, text, text_min}`, whole percents from 0 to 100 |
| Block `hyperlinks: [{text, uri}]` | `links: [{text, uri, span, bbox}]` |
| Table `rows: [[{cell_id, text}]]` | `table {n_rows, n_cols, header_rows, rows, cells}`. `rows` is a matrix of strings. Each cell has an `id` such as `p3_b0.r0c0`, `row`, `col`, `row_span`, `col_span`, `text`, `bbox`, `confidence` and `span` |
| `image_base64`, always `null` | Removed |
| `regions` on every block | `null` unless you send `include=regions` on the parse read |
| Block `bbox` of a sheet, a CSV or a text file: `{}` | `null` |

**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

| Today | From 10 December |
| - | - |
| `fields.*.value` is text | `value` is in its field's type: a number for `float` and `integer`, `true` or `false` for `boolean`, ISO 8601 for `date` and `datetime`, one of the options for `enum`, a list for `multi_select` |
| An empty yes/no is `false` | `null` |
| A model value that does not fit its type is stored truncated (`12.7` as `12`) or lost | `value` is `null`, and the run continues |
| A correction through the API stores any text | A correction that does not fit the field's type is refused with an error code |
| `value_override`, always `null` | Removed. A person's correction is in `value` |
| `evidence[].page_number` is always a number | `null` for a quote that could not be placed. That item has no file, block or box |
| Evidence `text` of a table carries `data-cell-id` | It does not, unless you send `markdown_anchors=true` |

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

### 5. Renamed keys and parameters

| Where | Today | From 10 December |
| - | - | - |
| Answer of `POST /v3/workflows/{id}/run/`, `POST /v3/workflows/{id}/upload/run/`, `POST /v3/document-packets/{id}/run/`, `POST /v3/parse/` and `POST /v3/parse/from-url/` | `run_id` | `id` |
| Answer of `POST /v3/workflows/{id}/evals/` | `eval_id` | `id` |
| Items of `GET /v3/workflows/{id}/versions/` | `version_id` | `id`. The display number `version` does not change |
| Eval launch body, eval list and eval detail | `version_id` | `workflow_version_id` |
| Ground truth, `GET` and `PUT`: body, answer and query | `version_id`, `?version=` | `workflow_version_id` |
| `GET /v3/workflows/{id}/` | `?version=` | `?workflow_version_id=` |
| `GET /v3/workflows/{id}/knowledge/entry` | `source_version_id` | `workflow_version_id` |
| Upload-and-run form | `version_id` | `workflow_version_id` |
| Optimizations | `version_id` | `workflow_version_id`. This one is not on the preview yet |

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.

| Where | What |
| - | - |
| Run read | `extractions[].parse_node_id`, the parse that extraction read |
| Both reads | `pages=1-20,25` keeps those pages and their markdown. `markdown_anchors=true` serves the markdown with its block anchors |
| Parse | `tier`: `flash`, `lite`, `standard`, `agentic` or `format` |
| Parse | `pages[]`, one per page, with `width`, `height`, `unit`, `rotation`, `status`, `text_source` and `span` |
| Parse | `span {start, end}` on pages, blocks, cells and links, in code points of the served markdown, pinned by `markdown_info` (`sha256`, `length`, `anchors`) |
| Blocks | `order`, the block's place in its page's reading order, and `origin`, `described` for a figure description |
| Pages, blocks and records | `file_id`, `file_name` and `file_page` on a one-file packet too |
| Evidence | `block_id` names a block of the parse read. `cell_ids` match `table.cells[].id` |
| Boxes | Rounded to 6 decimals. Parses stored before 10 November 2026 keep 4 |
| Unknown run | `404 NOT_FOUND` with `params.resource_type: run` |

`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`](#test-it-now-on-the-api-preview).

## 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](mailto:support@anyformat.ai) if a change blocks you, or if you cannot be ready by 10 December.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.