RiskRouter Evidence Log
v1.0.2Tamper-evident evidence log: signed heads, proofs, and recording salted digests of your records.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_evidence_head Signed head of the evidence log
The current signed head of the evidence log: tree size, Merkle root and signature. Save it: any later head must be consistent with it.
get_inclusion_proof Inclusion proof for one entry
Proof that the entry at leaf_index is in the tree, optionally at a given tree_size. Checkable offline with the public verifier.
| Parameter | Type | Description |
|---|---|---|
leaf_index * | integer | Position of the entry in the log. |
tree_size | integer | Optional: the tree size to prove against. |
get_consistency_proof Consistency proof between two heads
Proof that the tree at size first is a prefix of the tree at size second (or now): the log never rewrote history.
| Parameter | Type | Description |
|---|---|---|
first * | integer | A tree size you hold a head for. |
second | integer | Optional: a later tree size. |
get_checkpoint C2SP checkpoint
The log's signed checkpoint in the C2SP format witnesses cosign (origin, size, root).
get_ledger_attestation Audit ledger attestation
The signed head hash of the hash-chained audit ledger of recorded quotes.
get_usage Usage in numbers
How much is recorded, and by how many keys that are not ours. Counts only, nothing about anyone.
record_evidence Record the digest of a decision
Record the SHA-256 of a decision record you keep yourself, so it can later be shown to be unchanged. Send the digest and a short kind, never the record. Needs your RiskRouter key in the Authorization header of the MCP connection. Entries are permanent.
| Parameter | Type | Description |
|---|---|---|
kind * | string | A short tag such as ai.decision. |
record_digest * | string | SHA-256 of your salted record, lowercase hex. Never the record itself. |
chain_seq | integer | Optional, with chain_tag: this record's position in its chain, from 1. |
chain_tag | string | Optional: the completeness chain this record belongs to (64 hex characters derived from a secret you keep). |
get_chain What the log holds in one completeness chain
The log's signed statement of one completeness chain as of the current head: its length and, for each position, the leaf, the time and the digest. A position nobody showed you is a record left out.
| Parameter | Type | Description |
|---|---|---|
chain_tag * | string | The chain's 64-hex tag. |
from | integer | Optional: the first position to list. |
to | integer | Optional: the last position to list. |