Skip to main content
GET
Get a single receipt by ID + verify its hash and signature

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

receipt_id (UUID)

Response

seq
number
required
Example:

42

receiptId
string
required
Example:

"018f1234-5678-7abc-def0-123456789abc"

tenantId
string
required
Example:

"tenant-abc"

requestId
string
required
Example:

"req-abc-123"

actor
string
required
Example:

"user@example.com"

provider
string
required
Example:

"anthropic"

model
string
required
Example:

"claude-3-5-sonnet-20241022"

promptTokens
number
required
Example:

1000

completionTokens
number
required
Example:

250

costUsd
number
required
Example:

0.00375

checks
object[]
required
prevHash
string
required
Example:

"a1b2c3..."

thisHash
string
required
Example:

"d4e5f6..."

signature
string
required
Example:

"base64-encoded-sig"

keyId
string
required
Example:

"key-id-1"

ts
string
required
Example:

"2026-07-02 12:00:00.000"

verified
boolean
required

True when this_hash == sha256(canonical || prev_hash) and the ED25519 signature is valid.

Example:

true

checkLatenciesMs
object
required

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.

Example:
packVersion
string
required

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.

Example:

"v1"

kind
enum<string>
required

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.

Available options:
model_call,
tool_call
Example:

"model_call"