# Changelog

> Dated changes of the Inola API, its models and this documentation, newest first, starting with the first public version of the documentation.

This page lists the changes of the Inola API, its [models](https://inola.ai/docs/reference/glossary.md#model) and this documentation,
newest first, each with its date. Nothing is needed to read it.

## 2026-12-01 — Tokens and billing rewritten

- [Tokens and billing](https://inola.ai/docs/concepts/tokens-and-billing.md) now shows which texts of a request are counted, with worked
  examples for `decider-mini` and `cordon-mini`, and which errors are billed (none: only a `200` answer is billed).

## 2026-11-30 — OpenAI-compatible chat completions

- New route `POST /v1/chat/completions` in the OpenAI chat completions form for `decider-mini` and `cordon-mini`: a
  closed step of a pipeline written for an OpenAI client changes only its base URL, key and model name. The answer is
  yes or no, or the value of the one property of `response_format`; "don't know" is `"unsure"`; the probabilities
  are in `inola`; `stream: true` is served as one chunk. See
  [Replacing an OpenAI call](https://inola.ai/docs/guides/replace-an-openai-call.md) and
  [Compatibility](https://inola.ai/docs/reference/compatibility.md#post-v1chatcompletions).

## 2026-11-30 — questions to the detector

- `cordon-mini` takes `input.questions` in the form of `decider-mini`: `{"<key>": {"type": "noul", "instructions":
  "ipi"}}`, where `instructions` names the kind of detection, and answers each question under its key. The kinds a
  detector runs are listed in the [API reference](https://inola.ai/docs/reference/api.md#detector-questions) and, per version, in
  `versions[].questions` of `GET /v1/models` (a new field). A request without `input.questions` is answered as before,
  under `injection`.
- `POST /v1/detect` and flat batch lines of `cordon-mini` take an optional `question` (default `ipi`).
- A detector question with another type, free text or a kind the model does not run returns
  `400 invalid_request`. Batch `custom_id` values may no longer begin with the control character U+001F.

## 2026-11-30 — `GET /v1/models` entries without `features`

- The model entries of `GET /v1/models` no longer carry the undocumented `features` field; no other field changed.

## 2026-11-30 — the API in OpenAPI

- The API is described in OpenAPI 3.1 at [`https://api.inola.ai/openapi.json`](https://api.inola.ai/openapi.json) and
  [`https://api.inola.ai/openapi.yaml`](https://api.inola.ai/openapi.yaml): every endpoint of the [API reference](https://inola.ai/docs/reference/api.md)
  with its fields, errors and examples. The file needs no key and can be imported into Postman, Swagger UI or an SDK
  generator.
- The file also describes the detector questions and `POST /v1/chat/completions`.

## 2026-11-30 — request options in snake_case

- The `POST /v1/infer` option `encodingFormat` is now `encoding_format`, so request options follow the same
  snake_case style as the rest of the API. The former name is no longer read.

## 2026-11-27 — two models removed from the catalog

- BGE-M3 removed from the catalog.
- `injection-detector-mini` removed, use `cordon-mini`: the same detector on the same weights and the same request.
  A request that names either removed model now returns
  [`410 model_retired`](https://inola.ai/docs/reference/errors.md#model_retired) (a new error code), and a batch file line that names one
  is refused with `400 invalid_request`.

## 2026-11-26 — an empty state or document is accepted

- `decider-mini` now accepts an empty `input.state` (`""`, `{}` or `[]`), in real time and in batch lines, and
  answers the questions from their text alone. Before, such a request returned `400 invalid_request`.
- A state that is not a string, an object or an array (`null`, a number, `true` or `false`) still returns
  `400 invalid_request`, now with the message `` `input.state` must be a string, an object or an array. ``
- `cordon-mini` now answers an empty document (`input.state` `""` or `[""]`, `input.text` `""`, `text` `""` of
  `POST /v1/detect`, batch lines alike) as clean: no injection, with every verdict false. Before, such a request
  returned `400 invalid_request`. An empty object or array (`{}`, `[]`), `null` and a `text` that is not a string
  still return `400 invalid_request`; the message for a `text` that is a number or another non-string value is now
  `` `input.text` must be a string. `` (`` `text` must be a string. `` on `POST /v1/detect`).

## 2026-11-24 — over capacity is `429`, not `503`

- [`overloaded`](https://inola.ai/docs/reference/errors.md#overloaded) (the service is temporarily over capacity) and
  [`serverless_cold`](https://inola.ai/docs/reference/errors.md#serverless_cold) (the model is not running now) now answer `429` instead
  of `503`, with the same code, message and `Retry-After`. They are still not limits of your plan: read
  `error.code` to tell them from `rate_limited` and the other limits. `503` stays for `unavailable` and the other
  failures. Clients that retry on `429` after `Retry-After` need no change.

## 2026-11-22 — Inola Cordon

The prompt injection detector is now called [Inola Cordon](https://inola.ai/docs/models/cordon.md), model `cordon-mini`, with the
same versions and the same request. The former name `injection-detector-mini` is deprecated and still answers until it is removed.

## 2026-11-21 — the detector answers in the decision form; snake_case responses

This changes the responses of `POST /v1/infer` and its batch results: clients that read the earlier fields need an
update. A client that needs the earlier flat detector reply can call [`POST /v1/detect`](https://inola.ai/docs/reference/compatibility.md#post-v1detect),
which keeps its form unchanged.

- `injection-detector-mini` answers in the form of `decider-mini`: a decision model with one built-in yes-or-no
  question. Its `output` holds one answer, `output.answers.injection`, with `type` (always `noul`), `noul`,
  `threshold`, `verdict` and `verdicts`. The earlier fields map as `output.is_injection` →
  `output.answers.injection.verdict`, `output.score` → `output.answers.injection.noul` (the probability that the
  document carries an injection), `output.threshold` → `output.answers.injection.threshold`, `output.verdicts` →
  `output.answers.injection.verdicts`. `options.threshold` is unchanged.
- The output schema of `injection-detector-mini` is `decision.v1`, in responses and in `output_schema_id` of
  `GET /v1/models`, the same schema as `decider-mini`.
- The response envelope uses snake_case, like the rest of the API: `outputSchemaId` → `output_schema_id`,
  `usage.inputTokens` → `usage.input_tokens`, `usage.outputTokens` → `usage.output_tokens`, `usage.latencyMs` →
  `usage.latency_ms`, `createdAt` → `created_at`. `usage.tokens` is unchanged. The same names apply to batch results
  of lines in the `POST /v1/infer` form.
- The compatibility routes (`POST /v1/detect`, `POST /v1/decide`, `POST /v1/embeddings`) and the results of flat batch
  lines keep their forms; [Compatibility](https://inola.ai/docs/reference/compatibility.md) maps their fields to the new paths.

## 2026-11-21 — the detector takes its document in `input.state`

- `injection-detector-mini` reads its document from `input.state`, the same field as `decider-mini`: a non-empty
  string, an object (checked as its JSON text) or an array of one of them. The detector checks one document per
  request: an array of two or more documents returns [`400 invalid_request`](https://inola.ai/docs/reference/errors.md#invalid_request)
  with a message that says so. Every example of this documentation now uses `input.state`.
- The earlier field `input.text` keeps working unchanged; a request with both fields returns `400 invalid_request`.

## 2026-11-17 — two model names: `injection-detector-mini` and `decider-mini`

- The injection detector is now the model `injection-detector-mini` (Inola Injection Detector mini) and the decider
  is `decider-mini` (Inola Decider mini), on every route, in `GET /v1/models` and in batch files. The versions
  keep their numbers.
- The former name `intent`, with or without a version, is no longer accepted, nor are `decider-<version>` and
  `decision`: a request naming them returns [`404 model_not_found`](https://inola.ai/docs/reference/errors.md#model_not_found). Plain
  `decider` still works and calls `decider-mini`.

## 2026-11-17 — the documentation describes the three models

- The [Overview](https://inola.ai/docs/index.md) describes the three models of the API, [Inola Decider](https://inola.ai/docs/models/decider.md),
  [Inola Resolver](https://inola.ai/docs/models/resolver.md) (closed access) and [Inola Injection Detector](https://inola.ai/docs/models/cordon.md),
  in the words of the site, and the one endpoint they are called through, `POST /v1/infer`. The menu lists the
  model pages in that order.
- Examples that name a version of `intent` name `2.2.1`, the version the API serves; before, they named `2.2.0`.
- The examples of the batch object leave out `endpoint`, which the API sets from the model of the file; its values
  are on [Compatibility](https://inola.ai/docs/reference/compatibility.md#batches).
- The [Quickstart](https://inola.ai/docs/quickstart.md) starts from creating an account and leads to the response and the errors of a
  first request.
- The documentation takes the colours and the header links of the site.

## 2026-11-16 — batches in the `POST /v1/infer` form

- A batch line can now carry a `POST /v1/infer` request: `{"custom_id", "url": "/v1/infer", "body": {"model",
  "input", "options"}}`, checked as in real time; `url` is optional, and `body.model` may be left out after the first
  line. Its result comes back in the response form of `POST /v1/infer` (`model`, `version`, `outputSchemaId`,
  `output`, `usage`), without `createdAt`. `endpoint` of `POST /v1/batches` accepts `/v1/infer`. See
  [Batches](https://inola.ai/docs/guides/batches.md).
- Files in the earlier flat form keep working unchanged; that form is now listed on
  [Compatibility](https://inola.ai/docs/reference/compatibility.md#batches). A file uses one form for all its lines.
- Results of flat lines now have the response form of the model's earlier route (for `intent`: `n_tokens` and
  `latency_ms`, no `usage` object); the error of a failed item has the
  API's own `code`, `message` and, for an input error, `param`.
- `invalid_request` errors of `POST /v1/infer` now carry `error.param` with the path of the field, such as
  `input.text` or `options.threshold`, and errors reported for the input of a model name the `input.*` and
  `options.*` fields. The compatibility routes keep naming their own fields, now also in `error.param`.

## 2026-11-16 — examples use `POST /v1/infer`

- Every example and explanation of this documentation now uses `POST /v1/infer`, the one endpoint for every model,
  and `GET /v1/models`. Field paths in the examples changed accordingly: `is_injection` is read as
  `output.is_injection`, the billed length as `usage.inputTokens`, and the option is `options.threshold`.
- The earlier request forms stay supported without changes; their routes, forms and the equivalent
  `POST /v1/infer` calls are on the new page [Compatibility](https://inola.ai/docs/reference/compatibility.md).
- `endpoint` of `POST /v1/batches` is documented as optional, as it already was: the API takes it from the model of
  the file.

## 2026-11-03 — the ways a model is served are set per region

- `availability` of `GET /v1/models` is now given for the processing region of your organization and is the same on
  the model and on each of its versions: `online` (real-time; batches too unless `POST /v1/batches` answers
  `online_only`), `batch` (batches only) or `none` (not served in your region). The value `serverless` is no longer
  given: whether a model is running at the moment is not part of its availability (a real-time request to a model
  that is not running is answered as described in the entry below).
- [`400 batch_only`](https://inola.ai/docs/reference/errors.md#batch_only) is back with a new meaning: a real-time request to a model
  available only through batches in your region. New: [`400 online_only`](https://inola.ai/docs/reference/errors.md#online_only) for
  `POST /v1/batches` with a model available only in real time in your region.

## 2026-11-03 — one rule for a model that is not running

- Any model that is not running now and can be started on demand answers a real-time request the same way as a model
  with `availability: serverless`: held while it starts (paid plans, when the service's setting holds such requests)
  or [`503 serverless_cold`](https://inola.ai/docs/reference/errors.md#serverless_cold). Before, a model with regular capacity answered
  `503 unavailable` while that capacity was down. A key of the Free plan never starts any model. Paid plans should
  allow a timeout of at least 11 minutes for any real-time request.

## 2026-11-03 — the Free plan does not start on-demand models

- A real-time request with a key of the Free plan to a model with `availability: serverless` is never held while the
  model starts: it is answered while the model is running and gets
  [`503 serverless_cold`](https://inola.ai/docs/reference/errors.md#serverless_cold) at once otherwise. Paid plans are unchanged.

## 2026-11-02 — real-time requests to on-demand models may wait for the model to start

- A real-time request to a model with `availability: serverless` that is not running now may be held while the model
  starts and answered when it is ready: the first request after an idle period can take several minutes (allow a
  timeout of at least 11 minutes). Whether such a request is held or refused at once with
  [`503 serverless_cold`](https://inola.ai/docs/reference/errors.md#serverless_cold) is a setting of the service; a held request that does
  not get the model in time is answered `503 serverless_cold` with `Retry-After`.

## 2026-11-02 — real-time requests to on-demand models

- `availability: batch` of `GET /v1/models` is now `serverless`: such a model (`decider`, `bge-m3`) answers a real-time
  request while it is running, and [`503 serverless_cold`](https://inola.ai/docs/reference/errors.md#serverless_cold) otherwise — a
  real-time request never starts it; batches are accepted as before.
- The error `400 batch_only` is gone: no request returns it any more.

## 2026-11-01 — first version of the documentation

The first public version of the Inola API documentation. It describes:

- real-time detection: the generic form `POST /v1/infer` and the earlier detection route, now on
  [Compatibility](https://inola.ai/docs/reference/compatibility.md);
- the Batch API: `POST /v1/files`, `GET /v1/files`, `GET /v1/files/{id}`, `GET /v1/files/{id}/content`,
  `DELETE /v1/files/{id}`, `POST /v1/batches`, `GET /v1/batches`, `GET /v1/batches/{id}`,
  `POST /v1/batches/{id}/cancel`;
- embeddings: batches and the OpenAI-compatible embeddings route, now on
  [Compatibility](https://inola.ai/docs/reference/compatibility.md);
- the model list `GET /v1/models` with the `availability` of each version;
- the models `intent` (real-time and batches), `decider` and `bge-m3` (batches only);
- every error code, on [Error codes](https://inola.ai/docs/reference/errors.md).

Pages: [Overview](https://inola.ai/docs/index.md), [Quickstart](https://inola.ai/docs/quickstart.md), [Authentication](https://inola.ai/docs/authentication.md),
[Models and versions](https://inola.ai/docs/concepts/models-and-versions.md), [Verdicts and scores](https://inola.ai/docs/concepts/verdicts-and-scores.md),
[Tokens and billing](https://inola.ai/docs/concepts/tokens-and-billing.md),
[Protect a RAG pipeline](https://inola.ai/docs/guides/protect-a-rag-pipeline.md), [Protect an agent](https://inola.ai/docs/guides/protect-an-agent.md),
[Batches](https://inola.ai/docs/guides/batches.md), Embeddings, [Limits and retries](https://inola.ai/docs/guides/limits-and-retries.md),
[API reference](https://inola.ai/docs/reference/api.md), [Glossary](https://inola.ai/docs/reference/glossary.md).
