---
title: "Verify Audit Hash Chain"
method: GET
path: "/v1/audit-events/{id}/verify"
tags: ["Audit API"]
---

# Verify Audit Hash Chain

`GET /v1/audit-events/{id}/verify`

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.

## Path parameters

- `id` string, uuid, required

## Response `200`

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

- HashChainVerificationOutput — Result of hash chain integrity verification.
  - `isValid` boolean — Whether the hash chain is intact up to the specified event.
  - `firstInvalidId` integer — Internal ID of the first entry with a broken hash. Present only when `isValid` is `false`.
  - `totalChecked` integer — Total number of entries verified in the chain.
  - `message` string — Human-readable verification result summary.

## Other responses

- `400` — Indicates that the request was malformed or contained invalid parameters.
- `404` — Indicates that the requested resource could not be found.
- `500` — Indicates an unexpected internal error. If this persists, please contact support.

---

[API](https://skmtc.net/lerian/apis/identity-plugin.md) · [All operations](https://skmtc.net/lerian/apis/identity-plugin/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lerian/identity-plugin/versions/25daba385532/schema)
