Audit

Verify audit hash chain integrity

Verifies the HMAC-SHA256 integrity hash chain for audit events in the calling organization. Returns whether the chain is valid, how many events were verified, and the point of first break (if any).

get/v1/audit/verify

Request

  • Base URL: https://api.1claw.co
  • URL: https://api.1claw.co/v1/audit/verify
  • Auth: HTTP bearer

Query parameters

fromstring date-time
tostring date-time
limitinteger

Response

Chain verification result

chain_validboolean required

Whether the integrity hash chain is unbroken

events_verifiedinteger required

Number of events with valid integrity hashes

events_checkedinteger required

Total events examined

broken_at_event_idstring uuid nullable

First event where chain integrity broke (null if valid)

Example response

{
  "scheme": {
    "algorithm": "HMAC-SHA256"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.