Skip to main content
POST
Verify cryptographic chain integrity of audit log

Authorizations

Authorization
string
header
required

API key issued per entity via Settings > Developers > API Keys. Each key carries scopes (e.g. orders:read, products:write). Bearer token format: Authorization: Bearer ark_live_ent_Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.

Body

application/json
from_date
string<date-time>
to_date
string<date-time>
limit
integer
default:1000
Required range: 1 <= x <= 10000

Response

Chain verification result

Result of the cryptographic chain integrity check on the audit log. A clean system returns {verified: true, chain_length: N}. A tampered or deleted row returns {verified: false, broken_at: , broken_reason: ...}.

object
enum<string>
Available options:
audit_chain_verification
verified
boolean
chain_length
integer

Number of rows walked during verification.

broken_at
string<uuid> | null

ID of the first row where the chain broke (null when verified=true).

broken_reason
enum<string> | null

Reason code for the chain break (null when verified=true).

Available options:
prev_hash_mismatch,
entry_hash_mismatch,
missing_row,
null_hash