Skip to content

Inola API overview

This page describes the Inola API: the three models it serves, the one endpoint they are called through, what the Cordon detects and what it leaves to you, and where a check sits in an AI system. No account is needed to read it; making a request needs an API key.

Inola models return a decision, a passage from your document, or a verdict, not text to parse. One API, processed in the EU. The API serves three models:

modelwhat it doesname in the APIaccess
Inola DeciderAnswers your questions about a document: yes or no, one of your choices, or a score on your scale. Routing, filtering and policy checks become a single API call.decider-miniwith an API key
Inola ResolverEverything Inola Decider does, and it also answers an open question with a quote from the document, or “unsure” when the document does not say.—closed access: early access on request
Inola CordonIndirect prompt injection detection for everything your AI system reads: retrieved documents, browsed pages, emails, tool and agent outputs.cordon-miniwith an API key

Every model is called through one endpoint, POST /v1/infer: the request names the model and gives its input, and the response carries the model’s result in output, in the same envelope for every model. Inola Decider and the Cordon both take the document in input.state and return their answers in output.answers: the detector is a decision model with one built-in yes-or-no question. GET /v1/models lists the models of your plan. The input of each model is on its page. One request to Inola Decider:

Terminal window
curl -sS "https://api.inola.ai/v1/infer" \
-H "Authorization: Bearer $INOLA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "decider-mini", "input": {"state": "I was charged twice. Please fix this ASAP.", "questions": {"billing": {"type": "noul", "instructions": "Is this ticket about billing?"}}}}'
  • All requests and responses are JSON over HTTPS, UTF-8. The base URL is https://api.inola.ai.
  • Two modes: real-time (one document per request, the answer in the response) and batch (a file of documents, results as they are ready). See Batches.
name in the APImodelreal-timebatch
decider-miniInola Deciderwhile runningyes
cordon-miniInola Cordonyesyes

A real-time request to a model available only through batches in your region returns 400 batch_only; one to a model that is not running at the moment may wait minutes for it to start, or return 429 serverless_cold. Inola Resolver is in closed access and is not in this table. GET /v1/models lists the models of your plan with their versions, prices and availability in your region. See Models and versions.

The rest of this page describes Cordon, a detector of indirect prompt injection: instructions hidden in documents, web pages, emails or tool outputs that your AI system reads and that try to make an AI system do something its user did not ask for. It receives a text and returns a verdict: whether the text contains an injection, a score between 0 and 1.

casecovered
Instructions inside the data an AI system reads: retrieved documents, web pages, emails, files, tool and API outputs (indirect injection)yes: this is the task of the detection model
What the AI system does with a flagged textno: the API returns a verdict; the decision to drop, quarantine or pass the text stays with you
Requests a user types to the system directlya separate case, not described on this page
Changing or cleaning the textno: the text is checked as sent and is not modified

The check runs on text before the AI system reads it:

  • RAG pipeline: between retrieval and the prompt. Each retrieved document is checked; a document with output.answers.injection.verdict: true is left out of the context. See Protect a RAG pipeline.
  • Agent: between a tool call and the next model call. The output of each tool that reads outside content (a web page, an email, a file) is checked before it is appended to the conversation. See Protect an agent.
  • Large volumes: a whole corpus is checked at once through the Batch API, for example before indexing.

One check is one HTTP call to POST /v1/infer, the endpoint every model is called through: the request names the model and gives its input, the response carries the model’s answer in output.answers.injection.

Terminal window
curl -sS "https://api.inola.ai/v1/infer" \
-H "Authorization: Bearer $INOLA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "cordon-mini", "input": {"state": "Meeting notes, 14 October: the vendor contract renews on 1 March. Legal reviews the new terms before the end of the year."}, "options": {"threshold": 0.5}}'

Response:

{
"id": "req_01JBXQ7M3T8K2V9R4N6PZC5HDA",
"model": "cordon-mini",
"version": "2.2.1",
"output_schema_id": "decision.v1",
"output": {
"answers": {
"injection": {"type": "noul", "noul": 0.02, "threshold": 0.5, "verdict": false,
"verdicts": {"fpr_1e-03": false, "fpr_1e-04": false}}
}
},
"usage": {"input_tokens": 27, "output_tokens": 0, "tokens": 27, "latency_ms": 41},
"created_at": "2026-11-16T12:00:00Z"
}

Clients written for an earlier request form keep working; see Compatibility.

Requests are billed in tokens of your input. Each model has its own price per token; prices are listed by GET /v1/models for your key. Rejected requests are not billed. See Tokens and billing.