v1

latestOpenAPI 3.1.02026-07-263644911022.4 KB
Audit API

Verify Audit Hash Chain

Verify the integrity of the audit hash chain up to the specified event. Returns whether the chain is intact and, if not, identifies the first broken entry.

get/v1/audit-events/{id}/verify

Path parameters

idstring uuid required

Unique identifier of the audit event to verify up to.

Response

Indicates that the request was successful and the response contains the verification result.

isValidboolean

Whether the hash chain is intact up to the specified event.

firstInvalidIdinteger

Internal ID of the first entry with a broken hash. Present only when isValid is false.

totalCheckedinteger

Total number of entries verified in the chain.

messagestring

Human-readable verification result summary.

Example response

{
  "isValid": true,
  "firstInvalidId": 42,
  "totalChecked": 150,
  "message": "Hash chain integrity verified successfully"
}