---
title: "Decision Receipt"
method: POST
path: "/decision-receipt"
tags: ["execution"]
---

# Decision Receipt

`POST /decision-receipt`

## Request

- Base URL: `https://api.babyblueviper.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.babyblueviper.com/decision-receipt`
- Auth: none declared

Paid: a signed receipt for a bounded-choice decision (OpenAI Decisions API, Jev, /decision, any classifier).

Signs salted commitments to the question, options, context and choice, never the plaintext; the salt
stays with you. With decider.pubkey + decider_sig the receipt holds a decider-scoped slot (one per decider
key and request_id, any payer, x402 included); a different second claim is refused with no charge and
recorded as a public conflict. Options you mark irreversible are `executable` only with a signed, single-use
/review proof over the same context whose action_binding names this exact choice. The decision is
caller-reported: the receipt attests the commitment and the gate, not that the decider chose it.

## Request body

- DecisionReceiptRequest, nullable: 2026-09-30: a signed, salted commitment to a bounded-choice decision (OpenAI Decisions API, Jev, our /decision, any classifier), gated on a /review proof for the options marked irreversible. Only hashes and a salted choice commitment are signed; the salt is returned to the caller alone. Validation lives in services/decision_receipt.validate so REST and MCP share it.
  - `question` unknown, required
  - `options` unknown, required
  - `choice` unknown, required
  - `score` unknown
  - `irreversible_options` unknown
  - `context` unknown
  - `context_sha256` unknown
  - `decider` unknown
  - `review_proof` unknown
  - `salt` unknown
  - `decider_sig` unknown
  - `decider_claimed_at` unknown

## Response `200`

Successful Response

- unknown

## Other responses

- `402`: Payment Required — pay in USDC via x402 (or Lightning/L402) and retry with the X-PAYMENT header.
- `422`: Validation Error

---

[API](https://skmtc.dev/babyblueviper/apis/invinoveritas.md) - [All operations](https://skmtc.dev/babyblueviper/apis/invinoveritas/llms.txt) - [OpenAPI document](https://skmtc.dev/babyblueviper/apis/invinoveritas/revisions/8b07f40b15e9?raw)
