Skip to main content
GET
Admin Audit Verify

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successful Response

The result of walking the audit hash chain.

ok is the headline; the rest exists so a failure can be acted on. reason is prose for a human, broken_at and missing are what to go and look at.

ok
boolean
required
chain_version
integer
required
checked
integer
required

Rows whose hash was recomputed and matched

unchained
integer
required

Rows written before the chain existed; not a fault

first_seq
integer | null
last_seq
integer | null
broken_at
integer | null

First row that failed; the tail after it is also invalid

reason
string
default:""
missing
integer[]