Skip to main content
POST
Typed decision (yes/no, choice, score)

Authorizations

Authorization
string
header
required

Your AI Reserve API key (aireserve_api_…) from the API Keys page in the portal (https://portal.aireserve.com/keys).

Body

application/json
model
required

Decision model: clef (27B, 64K context, highest precision) or clef-flash (9B, 24K context, fastest and cheapest).

Available options:
clef
state
any
required

The situation to decide on: a string, or structured JSON (records, chat logs, application state). Long text is truncated upstream to fit the model's context.

questions
object
required

Map of question id → typed question (noul, choice, score); 1 to 64 questions. Answers come back under the same ids.

images
any[]

Up to 4 embedded PNG / JPEG / WebP images placed before the state (Cloudflare's System One extension; remote URLs are not accepted). Each image bills at most 1,024 input tokens.

Maximum array length: 4

Response

200

Default Response