Skip to content

Check the audit log's hash chain from its first event

GET
/audit/verify
curl --request GET \
--url https://api.global.stillbox.example/v1/audit/verify \
--header 'Authorization: Bearer <token>'

The result

Media typeapplication/json
object
ok
required
boolean
checked
required

Events checked.

integer format: int64
head_hash
required

The last checked event’s hash, in hex. Keep a copy to show later that nothing before it changed.

string
broken_at

The first event that doesn’t match, when not ok.

integer format: int64
problem
string
checked_at
required
string format: date-time
signed_head

A JWT from the organization’s token issuer (ADR 0035) with seq, head_hash and checked_at: keep it to prove later what the log held, checked against the issuer’s keys.

string

Example generated

{
"ok": true,
"checked": 1,
"head_hash": "example",
"broken_at": 1,
"problem": "example",
"checked_at": "2026-04-15T12:00:00Z",
"signed_head": "example"
}

The API key is missing or invalid

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}

Only an owner can do this (owner_only), or the invitation is for another address (not_invited)

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}