{"uid":"cap_6raI7xjtJ3Lu_vLmZwdiy","slug":"invinoveritas-decision-receipt-e2d7eefc","name":"invinoveritas Decision Receipt","description":"invinoveritas /decision-receipt — a signed receipt for a bounded-choice decision (OpenAI Decisions API, Jev, any classifier): hashes of","url":"https://api.babyblueviper.com/decision-receipt?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"salt":{"type":"string","description":"Decider-scoped only: the decider's 64-hex salt for the commitments it signs"},"score":{"type":"number","description":"Decider score for choice, 0-1 (optional)"},"choice":{"type":"string","description":"The option returned; must be one of options"},"context":{"type":"string","description":"Input decided on; hashed and discarded"},"decider":{"type":"object","description":"{provider, model, request_id, pubkey}; request_id stored only as a hash; pubkey (x-only BIP-340) makes the slot decider-scoped"},"options":{"type":"array","items":{"type":"string"},"description":"The fixed answer options (2-64)"},"question":{"type":"string","description":"The question the decider answered"},"decider_sig":{"type":"string","description":"Decider-scoped only: BIP-340 sig by decider.pubkey over sha256(JCS(decision claim))"},"review_proof":{"type":"object","description":"Signed /review event over the same context"},"context_sha256":{"type":"string","description":"Or its sha256 hex"},"decider_claimed_at":{"type":"integer","description":"Unix seconds in the signed claim"},"irreversible_options":{"type":"array","items":{"type":"string"},"description":"Options that need a /review proof to be executable"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0825","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.0825/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0825","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0825","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ryDaUWKW3206Fq9QLjT-9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0825","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Issues a cryptographically signed, tamper-evident receipt for a bounded-choice AI decision, committing the question, options, choice, and decider identity to a verifiable record.","exampleAgentPrompt":"Generate a signed decision receipt for the question 'Should we delete this user account?' where the options were ['delete','retain'] and the model chose 'retain' with a score of 0.87 — use the decider info from GPT-4o request id abc123 and flag 'delete' as an irreversible option requiring a review proof.","exampleUseCases":[{"title":"Auditable content moderation decision","prompt":"The moderation classifier just flagged a post as 'violating' out of the options ['safe','violating','uncertain'] — can you create a signed decision receipt for that choice, including the post text as context and the model's confidence score of 0.91, so we have a tamper-proof audit trail?"},{"title":"Irreversible action gating with review proof","prompt":"Before my agent executes the 'terminate_contract' option, I need a decision receipt for the question 'Should this vendor contract be terminated?' with options ['renew','terminate_contract','escalate'] — mark 'terminate_contract' as irreversible and attach the review proof we got back from /review."},{"title":"Compliance record for hiring classifier","prompt":"Our hiring classifier returned 'advance' for a candidate from options ['advance','reject','hold'] — can you commit that decision to a signed receipt with the candidate profile hashed as context and the recruiter model's pubkey, so we have a verifiable record for compliance?"}],"resultDescription":"A signed, verifiable receipt containing hashed commitments of the question, context, options, and chosen answer, along with decider identity fields (provider, model, hashed request_id), a BIP-340 signature if decider pubkey was provided, and metadata such as timestamp and score — forming a tamper-evident audit record of the AI decision.","failureModes":["choice not in options array — validation error","decider_sig fails BIP-340 verification against provided pubkey","irreversible_options selected without a valid review_proof — rejected","context and context_sha256 both missing — cannot commit","salt not 64 hex characters — format error","decider pubkey malformed or not x-only BIP-340 format","payment not fulfilled (x402 payment required response)"],"whenToPreferThis":"Use this endpoint when you need a cryptographically signed, auditable receipt for a bounded-choice AI decision — especially before executing irreversible actions, for compliance logging, or when you need to prove a specific model made a specific choice at a specific time. Prefer this over generic logging when non-repudiation, BIP-340 attestation, or decider-scoped commitments matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T06:30:18.280Z","isFirstParty":false,"canonicalSlug":"invinoveritas-decision-receipt-e2d7eefc"}