Authentication
All requests require anx-api-key header with auditor or admin scope.
GET /admin/audit-logs — Query audit logs
Retrieve audit log entries with optional filtering by event type, user, and date range.Query parameters
Maximum number of entries to return. Defaults to
100.Filter by event type. Examples:
transaction, override, void, tip_payoutFilter entries to those associated with a specific user or employee ID.
Start of the date range in ISO 8601 datetime format. Example:
2026-01-01T00:00:00ZEnd of the date range in ISO 8601 datetime format. Example:
2026-03-31T23:59:59ZCode example
GET /admin/verify-hash-chain — Verify hash chain integrity
Run a full integrity check across the entire transaction hash chain. The engine walks the chain from genesis and verifies that each entry’s hash correctly incorporates the previous entry’s hash.Code example
Response
Total number of entries in the hash chain.
Number of entries whose hashes were successfully verified.
Number of breaks detected in the chain. Any value above
0 indicates potential tampering.Details of each break found, including the position in the chain and the affected entry IDs.
Run hash chain verification before submitting compliance reports to regulators. A verified result with
break_count: 0 provides tamper-proof evidence that your transaction records have not been altered since they were written.