decisions to a /search request with up to 100 named questions. Each answer comes back as a probability or a pick with probabilities, not generated text.
Use it to qualify sales accounts, triage insurance claims and applications, or route business and identity verification (KYB and KYC) cases, with one request per subject.
Exa Decisions is powered by Jev from TypeSafe.
Decisions add no charge beyond standard Search pricing. A request is billed at its search type’s price.
Ask your first questions
Put your questions indecisions.questions, keyed by a name you choose. Each question has a type, instructions that say what to decide, and criteria for its options or levels.
results and adds decisions.answers, with one entry per question, keyed by its name.
Example response
Example response
Question types
confidence is the model’s confidence in the answer, from 0 to 1. Probabilities, scores and confidences have at most 4 decimal places.
Guide every question
Adddecisions.decisionPrompt (decision_prompt in the Python SDK) for guidance that applies to every question, such as which company or person the questions are about, or which sources count as evidence. Naming the subject by its website, as the example does, keeps answers about the right entity when other companies share its name.
systemPrompt does not affect decisions. Questions about recency are judged against the current date in UTC.
Act on the answers
Route on the probabilities. Act when the top answer clears a threshold you choose, and handle everything below it as unsettled, with the response’sresults as context. The example uses 0.9. Pick your own threshold from how much a wrong automatic action costs you, and check it against a sample of your own subjects.
unknown does not reliably catch them.
Limits and compatibility
Search types and other parameters
Search types and other parameters
Decisions work with every search type, including
auto, lite, and deep.You can send decisions and outputSchema in the same request.Request limits
Request limits
Compliance and regions
Compliance and regions
Decisions work with Zero Data Retention.Decisions are not available under HIPAA. A request that sets
decisions with compliance: "hipaa" returns 400 INVALID_REQUEST_BODY.Decisions are not available in the EU region. A request there that sets decisions returns 400 FEATURE_UNAVAILABLE_IN_REGION.Refusals
Refusals
A question that cannot be answered returns
{ "type": "refusal" }. A refusal usually means the results don’t cover the question, so send a more specific query or raise numResults.The Python and JavaScript SDKs return an answer whose type they do not recognize as type: "unknown", with the API’s answer in raw.