Get Receipt
Returns the stored receipt row and a verified flag. verified=true means this_hash == sha256(canonical||prev_hash) AND the ED25519 signature over this_hash is valid. Tenant-scoped: you can only read receipts belonging to your tenant.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
receipt_id (UUID)
Response
42
"018f1234-5678-7abc-def0-123456789abc"
"tenant-abc"
"req-abc-123"
"user@example.com"
"anthropic"
"claude-3-5-sonnet-20241022"
1000
250
0.00375
"a1b2c3..."
"d4e5f6..."
"base64-encoded-sig"
"key-id-1"
"2026-07-02 12:00:00.000"
True when this_hash == sha256(canonical || prev_hash) and the ED25519 signature is valid.
true
GW-12: per-check enforcement latency in milliseconds, keyed by check name. NOT part of the signed canonical receipt (EVID-1) — observability data only. Empty on receipts written before this column existed.
{
"AUTH": 2,
"BUDGET": 5,
"ALLOWLIST": 1,
"GUARDRAIL": 8,
"PII": 3
}COMPLY-1: the compliance pack-set version in force when this receipt was emitted (WARDIN_COMPLIANCE_PACK_VERSION). NOT part of the signed canonical receipt — an unsigned, queryable side channel. Empty string on receipts written before this column existed or with the env var unset.
"v1"
COMPLY-4: distinguishes an agent tool-call receipt (gateway /mcp/tool-call or /mcp/servers — provider = MCP server, model = tool name) from a model-inference receipt. NOT part of the signed canonical receipt — an unsigned, queryable side channel. Rows written before this column existed read back as model_call.
model_call, tool_call "model_call"