Verify the audit log's integrity
Authentication
Query parameters
Inclusive start of the window. ISO 8601 datetime in UTC with a Z suffix; an offset such as -05:00 or a bare date answers 400.
Inclusive end of the window. ISO 8601 datetime in UTC with a Z suffix.
Response
Verification result (not wrapped in data).
true when every signed row in the window matches its hash and links to its predecessor.
Redacted rows in the window with a valid attestation (exact count).
Ids of the first redacted rows (truncated list; the count above is exact).
The first signed row in the window links to a row outside it (normal with a bounded from or after retention); that link was not checked.
Id of the first broken row. Present only when valid is false. Inspect it with GET /api/audit/{id}.
Why the first broken row failed. Present only when valid is false.
hash_mismatch: the row’s content was changed after it was written.
link_broken: the row does not point at the previous row’s hash (a row was inserted or deleted).
unattested_redaction: the row is marked redacted but the redaction signature is missing or invalid.

