Skip to content

Verify the tamper-evidence chain over this tenant’s trail

GET
/v1/audit/integrity
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.

Media typeapplication/json
object
ok
required

Whether every anchor re-derived to the value it recorded.

boolean
checkpoints
required

How many daily anchors cover this tenant.

number
verifiedFrom
required

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.

string
nullable
verifiedThrough
required

End of the attested range. Rows written after this are not yet anchored (anchors are written daily) — an expected window, not a failure.

string
nullable
brokenAt
required

Start of the first window that failed to re-derive. Null when ok.

string
nullable
reason
required

Why the window failed. Null when ok.

string
nullable
Allowed values: chain_link_mismatch row_count_mismatch content_mismatch chain_hash_mismatch
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.