{"uid":"cap_yx575M8eeDdSoHcBHd_3Y","slug":"decision-questions-e66e5b26","name":"decision-questions","description":"Ask up to 20 typed yes/no, multiple-choice or ordinal-scale questions about one shared piece of context in a single call - each answered with a real probability (Jev decision primitives), not generated text. Powered by Jev (TypeSafe System One). $0.001 per call, no OpenRouter or TypeSafe account needed. Try GET /decide/sample.","url":"https://x402.agentindex.world/decide?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"state":{"description":"Shared context the questions are asked about - a string, or a JSON object/array. Capped at 8000 tokens."},"questions":{"type":"object","description":"Up to 20 typed questions, keyed by a name you choose. Each needs type ('noul', 'choice' or 'score'), instructions, and criteria (shape depends on type - see /decide/sample)."}}},"responseSchema":{"type":"json","example":{"answers":{"is_bug":{"noul":0.96,"type":"noul"}},"x402_receipt":{"upstream":"decision","latency_ms":468,"model_served":"jev","price_paid_usdc":0}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VoALFXSrJBpzhEvOIBgJN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Ask up to 20 typed yes/no, multiple-choice, or ordinal-scale questions about a shared context in one call, each returning a calibrated probability rather than generated text.","exampleAgentPrompt":"For this job application text, ask three decision questions: is the candidate senior-level (yes/no probability), which engineering discipline best fits them (choice: backend, frontend, data, infra), and rate their communication clarity on a 1-5 ordinal scale — all from a single call returning real probabilities.","exampleUseCases":[{"title":"Resume screening against job criteria","prompt":"I have a resume and five hiring criteria — does the candidate have 5+ years of experience, are they likely a culture fit, do they have leadership experience, which role tier fits best (junior/mid/senior), and rate their technical depth 1–5. Run all five as decision questions on this resume text and give me the probabilities."},{"title":"Content moderation policy check","prompt":"Take this user-submitted post and ask: is it likely spam (yes/no), does it violate our community guidelines (yes/no), which violation category fits best (hate speech, misinformation, adult content, none), and rate its toxicity on a 1–10 scale — all as calibrated probabilities in one call."},{"title":"Investment memo quality assessment","prompt":"Here's an investment memo — ask whether the market opportunity is clearly defined, whether the team section is convincing, which funding stage is implied (pre-seed, seed, Series A, Series B+), and score the overall investment thesis strength from 1 to 5. Return real probabilities, not just labels."}],"resultDescription":"A structured response keyed by each question name you provided, where each entry contains a typed probabilistic answer: a real-valued probability for yes/no questions (noul), a probability distribution over choices for multiple-choice questions, and a calibrated numeric score for ordinal-scale questions — all computed over the shared context, not generated as text.","failureModes":["Context exceeds 8000 token cap — request rejected or truncated","More than 20 questions submitted — excess questions ignored or error returned","Malformed question type (not 'noul', 'choice', or 'score') — validation error","Missing required question fields (type, instructions, criteria) — error per question","Payment failure via x402 protocol — call not executed","Ambiguous or contradictory criteria leading to poorly calibrated probabilities"],"whenToPreferThis":"Choose this endpoint when you need calibrated probability outputs rather than free-form generated text, and especially when you have multiple structured questions about the same context that should be answered consistently in a single pass. It is ideal for evaluation pipelines, rubric-based scoring, content moderation, and decision workflows where deterministic, numeric confidence values matter more than natural language explanations. Prefer it over LLM-generated answers when you need machine-readable probabilities for downstream logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T06:37:12.824Z","isFirstParty":false,"canonicalSlug":"decision-questions-e66e5b26"}