Skip to main content
GET
/
v1
/
audit-events
/
{id}
/
verify
Verify Audit Hash Chain
curl --request GET \
  --url https://flowker.sandbox.lerian.net/v1/audit-events/{id}/verify \
  --header 'X-API-Key: <api-key>'
{
  "isValid": true,
  "firstInvalidId": 42,
  "totalChecked": 150,
  "message": "Hash chain integrity verified successfully"
}

Authorizations

X-API-Key
string
header
required

API key for authenticating requests to the Flowker API. Provisioned via the API_KEY environment variable during deployment.

Path Parameters

id
string<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.

Result of hash chain integrity verification.

isValid
boolean

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

Example:

true

firstInvalidId
integer<int64>

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

Example:

42

totalChecked
integer<int64>

Total number of entries verified in the chain.

Example:

150

message
string

Human-readable verification result summary.

Example:

"Hash chain integrity verified successfully"