TrustNotch
v0.1.1Tamper-evident audit logs for AI agents: submit, fetch, and verify cryptographic proof bundles.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
submit_log
Submit a tamper-evident log entry to TrustNotch. Provide EXACTLY ONE of: - payload: a JSON object to record (TrustNotch canonicalizes, hashes, stores it), or - content_hash: a 64-char lowercase hex SHA-256 you computed locally (zero-PII mode — the underlying content is never sent). Returns the receipt: id, content_hash, created_at, receipt_signature, receipt_key_id.
| Parameter | Type | Description |
|---|---|---|
content_hash | ||
payload |
get_log
Fetch a previously submitted log entry by its id (a UUID string).
| Parameter | Type | Description |
|---|---|---|
log_id * | string |
get_proof
Fetch the tamper-evident proof bundle for a log entry (a UUID string). The bundle has the signed receipt, the Merkle inclusion proof, and the OpenTimestamps Bitcoin anchor. A just-submitted entry may not be batched yet — you'll get a 'not available yet' message; retry in ~60s.
| Parameter | Type | Description |
|---|---|---|
log_id * | string |
verify_proof
Verify a TrustNotch proof bundle locally, offline — server not trusted. Pass a bundle previously returned by get_proof. Independently recomputes the leaf hash and Merkle root and checks three tiers: receipt (Ed25519 signature), inclusion (RFC 6962), and anchor_structural (the OpenTimestamps Bitcoin anchor). Trusted keys come from GET /v1/keys, or from a pinned local file when TRUSTNOTCH_PUBKEYS_PATH is set (stronger independence). 'trusted_keys_source' records which was used. If keys are unavailable, the keyless tiers (inclusion + anchor) are still checked and 'receipt' is reported as 'na'…
| Parameter | Type | Description |
|---|---|---|
bundle * | object |
verify_log
Fetch a log entry's proof and verify it locally in one step. Convenience over get_proof + verify_proof. Returns the per-tier verification result, or a 'not available yet' / 'not found' message if the proof can't be fetched (e.g. the entry isn't batched yet).
| Parameter | Type | Description |
|---|---|---|
log_id * | string |