{"uid":"cap_bmic3wtuRdT5BPrJg5BW6","slug":"botsmith-jev-decision-51bb0228","name":"Botsmith Jev Decision","description":"Jev Decision ($0.005/call): Ask Jev (TypeSafe System One) typed questions about one state and get numbers back, not text: noul answers the probability a yes/no is yes; choice picks an option with a probability for every option; score places the state on an ordered scale of levels with a probability for every level. Same body and answer as TypeSafe's POST /v1/systemone (model optional, state as text or JSON, questions keyed by your ids), so their docs and SDK question helpers apply; pay","url":"https://x402.botsmith.dev/jev?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["state","questions"],"properties":{"model":{"type":"string","pattern":"^jev-[a-z0-9.]+$","description":"TypeSafe model id; default jev-latest"},"state":{"anyOf":[{"type":"string","minLength":1},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{}}],"description":"The situation, as text or JSON"},"questions":{"type":"object","description":"Keyed by your own ids","propertyNames":{"type":"string","minLength":1},"additionalProperties":{"oneOf":[{"type":"object","required":["type","instructions"],"properties":{"type":{"type":"string","const":"noul"},"criteria":{"type":"object","properties":{"true":{"anyOf":[{"type":"string"},{"type":"object","properties":{},"additionalProperties":{}},{"type":"array","items":{}}]},"false":{"anyOf":[{"type":"string"},{"type":"object","properties":{},"additionalProperties":{}},{"type":"array","items":{}}]}},"additionalProperties":false},"instructions":{"anyOf":[{"type":"string"},{"type":"object","properties":{},"additionalProperties":{}},{"type":"array","items":{}}]}},"additionalProperties":false},{"type":"object","required":["type","instructions","criteria"],"properties":{"type":{"type":"string","const":"choice"},"criteria":{"type":"object","description":"Option name to description or null, 2 to 255","propertyNames":{"type":"string","minLength":1},"additionalProperties":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"object","properties":{},"additionalProperties":{}},{"type":"array","items":{}}]},{"type":"null"}]}},"instructions":{"anyOf":[{"type":"string"},{"type":"object","properties":{},"additionalProperties":{}},{"type":"array","items":{}}]}},"additionalProperties":false},{"type":"object","required":["type","instructions","criteria"],"properties":{"type":{"type":"string","const":"score"},"criteria":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"object","properties":{},"additionalProperties":{}},{"type":"array","items":{}}]},"maxItems":10,"minItems":2,"description":"Levels from least to most, 2 to 10"},"instructions":{"anyOf":[{"type":"string"},{"type":"object","properties":{},"additionalProperties":{}},{"type":"array","items":{}}]}},"additionalProperties":false}]}}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["model","answers","usage"],"properties":{"model":{"type":"string","description":"Model version that answered"},"usage":{"type":"object","required":["input_tokens","output_tokens"],"properties":{"input_tokens":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"output_tokens":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991}},"additionalProperties":false},"answers":{"type":"object","description":"One per question id","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{"type":"object","required":["type","noul"],"properties":{"noul":{"type":"number","description":"Probability the answer is yes, 0 to 1"},"type":{"type":"string","const":"noul"}},"additionalProperties":false},{"type":"object","required":["type","choice","confidence","probabilities"],"properties":{"type":{"type":"string","const":"choice"},"choice":{"type":"string"},"confidence":{"type":"number"},"probabilities":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}}},"additionalProperties":false},{"type":"object","required":["type","score","confidence","legend","probabilities"],"properties":{"type":{"type":"string","const":"score"},"score":{"type":"number","description":"Probability-weighted level index, 0 = first"},"legend":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"confidence":{"type":"number"},"probabilities":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}}},"additionalProperties":false}]}}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KzpiIRQf3u7XQjN7uLFSh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Ask typed probabilistic questions (yes/no, choice, or scale) about a given state and receive structured numeric probability answers, not free text","exampleAgentPrompt":"Using Jev, ask two questions about this customer support ticket: first, a yes/no on whether it's urgent, and second, a choice between 'billing', 'technical', or 'general' — give me the probabilities for each.","exampleUseCases":[{"title":"Customer churn risk scoring","prompt":"Ask Jev to score this user's recent activity on a scale from 'very likely to stay' to 'very likely to churn' and give me the probability for each level — here's their activity summary as JSON."},{"title":"Content moderation triage","prompt":"Use Jev to evaluate whether this forum post violates our community guidelines — I need a yes/no probability, where 'true' means it's a violation. The post text is: 'You're all idiots and I hope this place burns down.'"},{"title":"Support ticket category routing","prompt":"I have a support ticket: 'My invoice shows double charges from last month.' Ask Jev to classify it as one of: billing, account, technical, or general, and return the probability for each option so I can route it automatically."}],"resultDescription":"A JSON object keyed by your question IDs, each containing a typed result: for 'noul' questions, a probability that the answer is true (0–1); for 'choice' questions, a probability distribution over all provided options; for 'score' questions, a probability distribution over all defined scale levels.","failureModes":["Invalid or missing 'state' field returns a validation error","Question type not matching schema (e.g. 'choice' without criteria) causes rejection","Model id not matching pattern '^jev-[a-z0-9.]+$' causes a bad request","Payment not included or insufficient USDC causes 402 Payment Required","Exceeding maximum number of questions per call returns an error","Ambiguous or empty questions may produce low-confidence uniform distributions"],"whenToPreferThis":"Choose this endpoint when you need structured, typed probabilistic answers rather than free-text LLM output — especially when you want machine-readable confidence scores for yes/no decisions, multi-option classification, or ordinal scoring. It is particularly valuable in automated pipelines where downstream logic branches on probabilities. Prefer it over generic LLM calls when you need consistent numeric outputs and TypeSafe's Jev model's decision-oriented reasoning.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T21:53:06.801Z","isFirstParty":false,"canonicalSlug":"botsmith-jev-decision-3c8dfbe5"}