Skip to main content
GET
/
v1
/
audit-events
/
{event_id}
/
verify
Verify Audit Event Hash Chain
curl --request GET \
  --url https://tracer.lerian.io/v1/audit-events/{event_id}/verify \
  --header 'Content-Type: <content-type>' \
  --header 'X-API-Key: <x-api-key>'
{
"isValid": true,
"totalChecked": 1234,
"message": "Hash chain integrity verified successfully"
}

Headers

Content-Type
string
required

The type of media of the resource. Must be application/json.

X-API-Key
string
required

The API Key for authentication. This header is required for all endpoints except health checks.

X-Request-Id
string<uuid>

A unique identifier used to trace and track each request.

Path Parameters

event_id
string<uuid>
required

The unique identifier of the audit event that you want to retrieve or verify.

Response

Indicates that the hash chain verification was completed successfully.

Result of hash chain integrity verification.

isValid
boolean

Whether the hash chain is intact.

totalChecked
integer

Number of events verified in the chain.

firstInvalidId
integer

ID of first invalid event (only present if isValid is false).

message
string

Human-readable verification result.