Skip to main content
Exa Decisions lets you ask structured questions about the results a search retrieves and get typed answers your code can act on. Add 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 in decisions.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.
Exa runs the search, then answers every question from the highlights of the top results. The response carries the usual results and adds decisions.answers, with one entry per question, keyed by its name.
The results are shortened here. A full response returns up to 10 results with their usual fields.

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

Add decisions.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’s results 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.
A refusal also routes to unsettled. When the results say little about the subject, the probabilities spread across the options instead of landing on one. A threshold on the top probability catches those cases. An option such as unknown does not reliably catch them.

Limits and compatibility

Decisions work with every search type, including auto, lite, and deep.You can send decisions and outputSchema in the same request.
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.
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.
Last modified on December 2, 2026