Verify the tamper-evidence chain over this tenant’s trail
const url = 'https://api.emite.cr/v1/audit/integrity';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.emite.cr/v1/audit/integrity \ --header 'Authorization: Bearer <token>'Re-derives every daily integrity anchor from the rows it covers and walks the chain. ok:false with brokenAt means a row inside an already-anchored window was modified or removed. Rows newer than verifiedThrough are not yet anchored (anchors are written daily) — that window is expected, not a failure.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”object
Whether every anchor re-derived to the value it recorded.
How many daily anchors cover this tenant.
Start of the attested range. Not the tenant's first day: retention deletes anchors along with the rows they covered, so the range begins at the oldest surviving anchor.
End of the attested range. Rows written after this are not yet anchored (anchors are written daily) — an expected window, not a failure.
Start of the first window that failed to re-derive. Null when ok.
Why the window failed. Null when ok.
Example
{ "reason": "chain_link_mismatch"}Missing or invalid credentials.
Plan does not include the audit module (FEATURE_NOT_IN_PLAN).
Caller lacks the audit:read scope.