RiskRouter Evidence Log

v1.0.2
eu.riskrouter/evidence-log Checked 4 days ago Published 6 days ago

Tamper-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.

ParameterTypeDescription
leaf_index *integerPosition of the entry in the log.
tree_sizeintegerOptional: 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.

ParameterTypeDescription
first *integerA tree size you hold a head for.
secondintegerOptional: 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.

ParameterTypeDescription
kind *stringA short tag such as ai.decision.
record_digest *stringSHA-256 of your salted record, lowercase hex. Never the record itself.
chain_seqintegerOptional, with chain_tag: this record's position in its chain, from 1.
chain_tagstringOptional: 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.

ParameterTypeDescription
chain_tag *stringThe chain's 64-hex tag.
fromintegerOptional: the first position to list.
tointegerOptional: the last position to list.