Decisions
Decision models return typed answers about a state you supply, such as a ticket, log line, or JSON object. Use them to route, triage, score, or gate work when you need a value, not text. They return a probability distribution, so they’re cheaper and faster than asking a chat model for JSON.
Send a decision request
Send state, the content being judged, and questions, a map of named questions whose keys come back as the keys of answers.
The cURL request returns:
score is a probability-weighted position on your scale, not a bucket index. noul is the probability of yes, with no separate confidence. confidence is computed differently for score and choice, so calibrate thresholds per type, or read probabilities. model is the concrete version that answered, not the vendor alias you sent, such as jev-latest. Pin a version, since a new one moves your calibrated thresholds.
Reference
Every question needs non-empty instructions.
Decision models aren’t routing-policy candidates, don’t stream, and take no sampling parameters. They run on Merge-managed keys only, with no BYOK, and aren’t available to organizations with zero data retention. Input and output bill at the route’s rates (output is $0 on typesafe/jev-1.13 today), reported as usage.cost in USD. GET /v1/models lists decision models with output: ["decision"], paged at 50 by default, so pass limit (up to 500) when you search.