---
title: "Prove Action"
method: POST
path: "/prove"
tags: ["execution"]
---

# Prove Action

`POST /prove`

## 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/prove`
- Auth: none declared

Paid verifiable proof for a redacted execution audit row.

The proof includes hashes and metadata, never raw API keys or Bearer tokens.
If NOSTR_NSEC is configured, the response includes a signed Nostr event.
Otherwise it returns an HMAC/public-hash fallback so callers can still bind
a payload to a stable digest.

## Headers

- `authorization` string, nullable

## Request body

- ProveRequest, nullable
  - `action_id` string, required: Execution audit action ID to prove.
  - `agent_id` string
  - `nostr_publish` boolean: If true and NOSTR_NSEC is set, broadcast a kind 1 note to Nostr relays announcing this attestation.
  - `disclose` boolean: Default True (unchanged legacy behavior): proof content is public immediately. Set False for DEILS 'leg 2' held-content mode: only {commitment_hash, ledger_position, status='content_withheld'} is returned/published now (existence is mandatory-public and non-suppressible), the actual content stays server-side until a later POST /prove/{proof_id}/reveal call binds it to this commitment.
  - `profile` string: DEILS commitment profile. deils-reveal-v0 (default, frozen): sha256(JCS(content)), no blinding. deils-reveal-v1: the issuer adds 32 fresh CSPRNG bytes as `blinding` (64 lowercase hex) INSIDE the committed content. Either way the response carries a signed commitment_record {proof_id, ledger_position, commitment_hash, profile}: verifiers take the profile ONLY from that record.

## 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

## Changes

- **2026-10-25** `62d89f1bdf49`: 1 info
  - added the new optional request property `anyOf[subschema #1: ProveRequest]/profile`

[Operation history](https://skmtc.dev/babyblueviper/apis/invinoveritas/changes/prove/post.md)

---

[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)
