Audit Infrastructure

Verity Trace
Every call. Proven.

Hash-chained, append-only receipts for every API call. Verify what was served, to which key, and when — with cryptographic proof that the record has never been altered.

Start Free Trial → How it works
Receipt #1
01
a3f9…c12d
prev: genesis
Receipt #2
02
7b4e…09fa
prev: a3f9…c12d
· · ·
Receipt #N
N
f1c8…88b3
prev: chained ✓
How it works
One verified chain per API key

Each receipt is sealed to the previous one. Any gap, deletion, or modification breaks the chain — and verification catches it immediately.

Step 01

Make an API call

Any authenticated request to the Audio API automatically generates a trace receipt. No additional parameters needed.

Step 02

Receipt is issued

The system computes trace_hash, chains it to the previous receipt, and writes it to an append-only store. The row cannot be updated or deleted.

Step 03

Verify at any time

Call GET /v1/trace/verify with your key. The full chain is traversed and verified in a single response. Valid or broken — no ambiguity.

Step 04

Export for compliance

Chain data is available via the API for export to your SIEM, audit log aggregator, or compliance toolchain.

Cryptography
The chain formula

Every receipt hash commits to the request, the response, and the hash of the receipt before it. Altering any input breaks every downstream hash.

trace_hash = SHA-256(
  request_hash response_hash prev_trace_hash
)

‖ = concatenation  ·  prev_trace_hash = "genesis" for chain index 1

Append-only enforcement is applied at the database layer via a PostgreSQL RULE — not application logic. Even a direct database connection cannot update or delete receipts. The constraint survives application restarts, deployments, and credential rotation.

Enterprise
Built for audit-ready teams

Verity Trace was designed from the ground up for regulated environments where "we think it wasn't changed" is not an acceptable answer.

Immutable

Database-level immutability

PostgreSQL RULE blocks UPDATE and DELETE on the receipts table. Application-level enforcement alone is not sufficient — Verity enforces at the storage layer.

Chain

Tamper detection

Any modification to a historical receipt — including by a privileged operator — breaks the hash chain. Verification reports the exact index where integrity fails.

Isolation

Per-key chain isolation

Each API key maintains its own independent chain. Multi-tenant environments get clean separation: one key's receipts never touch another's.

Race-safe

Concurrent-write safe

Row-level FOR UPDATE locking serializes receipt writes per key. Chain index gaps from race conditions are structurally impossible.

Verify

One-call full verification

A single authenticated GET /v1/trace/verify traverses the entire chain and returns a deterministic valid/broken result with chain length.

SOC 2

Audit log export

All receipts include timestamp, key ID, request hash, response hash, and chain position. Structured for direct ingestion by SOC 2 and ISO 27001 audit pipelines.

Integration
Verify in one call

Chain verification requires no additional setup. If your key has made API calls, the chain is already being built.

Verify the full trace chain curl
# Verify chain integrity for your API key
curl https://anchor.verityswarm.com/v1/trace/verify \
  -H "Authorization: Bearer AW-your-key"
Response — chain intact
{
  "valid": true,
  "chain_length": 147,
  "message": "Chain intact",
  "verified_at": "2026-05-24T18:00:00Z"
}
Python — verify and assert Python
import requests

BASE = "https://anchor.verityswarm.com"
KEY  = "AW-your-key"
headers = {"Authorization": f"Bearer {KEY}"}

r = requests.get(f"{BASE}/v1/trace/verify", headers=headers)
result = r.json()

assert result["valid"], f"Chain broken: {result['message']}"
print(f"✓ Chain intact — {result['chain_length']} receipts verified")
Pricing
Included in every tier

Verity Trace is not an add-on. Every key — including the free trial — issues and chains receipts automatically.

No extra cost. No configuration.

Activate your key. Trace starts immediately.

Trial
Free
Starter
$9/mo
Pro
$29/mo
Unlimited
$79/mo

Start your audit trail today

100 free calls. Trace receipts included. No credit card, no expiry. Your chain starts with your first request.

Get Free Trial Key → View all docs