Decisions API

GUIDE · UPDATED OCTOBER 7, 2026

What is a Decisions API?

A Decisions API is a model endpoint that does not write free text. You send context and a question with a closed list of answers, and it returns the answer it picks together with a probability for every option. The output space is fixed before the model runs, so your code only ever handles answers it already knows.

How it differs from a chat completion

A chat completion writes prose that you then parse. Even with a JSON schema, you get one sampled answer and no measure of how close the alternatives were. A Decisions API reads the model's probability for each allowed answer instead, so you can set thresholds, route low-confidence cases to a person and track drift.

ApproachOutputConfidence
Chat completionFree text to parseNone
JSON schema / enumOne sampled labelNone, or self-reported
Decisions APIOne label from your listA probability for every option

Typical jobs

Routing tickets and emails, moderating content against a policy, picking an agent's next tool, scoring sentiment or lead fit, and running yes/no guardrail checks on generated text. In each case the right answer is one item from a known list.

How this Decisions API works

Every request runs on the official OpenAI Decisions API with GPT-6 Luna. All your questions are evaluated against the same context in one call, and the probabilities come straight from the model. You get choice, yes_no and score question types, and the endpoint also accepts OpenAI's own request format.