# Decide (Beta) API reference

> Typed questions about a text, answered with probabilities. Beta. Needs a personal key with decide:process; an organisation integration key gets 403 integration_not_permitted.

Request and response schemas, with examples, are in the OpenAPI document: https://developers.komplai.dk/openapi.json

## POST /v1/decide

**Evaluate one text** (Beta)

Decide (beta) answers typed questions about one text with probabilities instead of prose: choice picks one option, score places the text on a scale, and noul says how likely a statement is true. Every answer has the full posterior and a confidence. A decision model writes no text, so there is nothing to parse; it runs on komplai's local infrastructure in Denmark, with no AI charge, and has 30 seconds to answer. The text is not stored. Needs a personal key with decide:process.

- Operation id: `evaluateText`
- Scopes: `decide:process`
- Responses: 200, 400, 401, 403, 404, 409, 413, 415, 429, 502, 503

## POST /v1/decide/batch

**Evaluate several texts** (Beta)

Decide (beta): the same questions for up to 100 texts in one call, answered in one pass of the model. The answers come back in the order of states, and the batch is answered whole or refused whole. It counts as one request. Needs a personal key with decide:process.

- Operation id: `evaluateTexts`
- Scopes: `decide:process`
- Responses: 200, 400, 401, 403, 404, 409, 413, 415, 429, 502, 503

---

https://developers.komplai.dk/reference/decide
