Skip to content

Glossary

This page defines the terms used across the Inola API documentation, in one or two sentences each. Every other page links a term here on its first use. The terms are written the same way in the documentation, in the API and in the console.

A secret that identifies the caller: every request carries it in Authorization: Bearer <key>. A key belongs to an organization and has scopes; live keys start with ck_live_. See Authentication.

A permission of an API key: inference (detection, decisions, files and batches), models:read (the model list) and usage:read (usage statistics). A call without the needed scope returns 403 insufficient_scope.

The owner of API keys, of a plan and of a balance. The usage of all its keys is billed to it, its limits are shared by its keys, and its files and batches are visible to all its keys.

What a request names in its model field, such as cordon-mini (prompt injection detection) or decider-mini. A model has versions. See Models and versions.

A release of a model, such as 2.2.1, with a status: preview, active, deprecated or retired. The plain model name resolves to the default version or to the pinned one.

A version of a model the organization fixes in the console: the plain model name then resolves to it for every key of the organization.

The decision of a detection model about a document: output.answers.injection.verdict at the threshold, and the verdicts at fixed false-positive rate points in output.answers.injection.verdicts. See Verdicts and scores.

The probability, from 0 to 1, that a document contains a prompt injection (output.answers.injection.noul in the response).

The score above which the verdict is true. Sent as options.threshold in the request; without it the model’s recommended point is used.

A threshold fixed by the rate of clean documents it marks as injections: fpr_1e-03 is about one false alarm per 1 000 clean documents, fpr_1e-04 about one per 10 000. The verdicts at these points are in verdicts.

What an organization pays for: the models it can use, their prices, the limits, the monthly allowances. The values of your plan are listed by GET /v1/models and in the console.

The unit of billing: one token of the texts you send (the document and the text of your questions), each counted once; nothing the service adds. Each model has its own price per token. See Tokens and billing.

For models that generate output: how many tokens one output token counts as (for example, one output token = 2 tokens). The rate of each model is listed by GET /v1/models.

The balance of an organization: top-ups and grants. With no balance left, requests return 402 payment_required.

A monthly ceiling on spending that the organization sets itself in the console. When it is reached, requests return 429 spend_limit_reached until the next billing period or a higher limit.

A set of documents sent as one JSONL file and processed within the completion window, with results downloaded as they are ready. See Batches.

Your own id of one line of a batch input file. The result line carries the same custom_id; results are matched to documents by it, since line order is not guaranteed.