Issue a signed verification receipt

Verify a claim and receive an EdDSA-signed receipt (JWT + blockHash). Requires a real registered agentId from POST /v1/agents. Supports operator-key and x402 payment flows.

post/v1/verify

Request

  • Base URL: https://api.thoughtproof.ai
  • URL: https://api.thoughtproof.ai/v1/verify
  • Auth: API key in header X-API-Key

Request body

agentIdstring required
claimstring required
verdict'ALLOW' | 'BLOCK' | 'UNCERTAIN' required
domainstring
metadataobject

Example request

{
  "agentId": "agent_abc123xyz",
  "claim": "Approve €500 payment to vendor-42 based on invoice analysis"
}

Response

Receipt issued

receiptIdstring
verdictstring
scorenumber
jwtstring

Signed receipt JWT (EdDSA)

blockHashstring
verifyUrlstring

Example response

{
  "receiptId": "rcpt_xK9mN2pQ4rT8sV",
  "score": 0.8234,
  "proof": {
    "format": "tp-eddsa-jwt-1",
    "alg": "EdDSA",
    "kid": "tp-attestor-v1",
    "issuer": "https://api.thoughtproof.ai",
    "jwks_uri": "https://api.thoughtproof.ai/.well-known/jwks.json",
    "verify_proof_url": "https://api.thoughtproof.ai/v1/verify-proof",
    "claim_hash": "sha256:1ae1...bffb5"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.