---
title: "Full hash-chain verification"
method: GET
path: "/api/v1/compliance/audit-chain/verify"
tags: ["Compliance", "Compliance"]
---

# Full hash-chain verification

`GET /api/v1/compliance/audit-chain/verify`

## Request

- Base URL: `https://app.aimrank.io` (the document declares no server; this is the origin it was published from)
- URL: `https://app.aimrank.io/api/v1/compliance/audit-chain/verify`
- Auth: none declared

Walk the audit-log hash chain and confirm every entry verifies.

Returns `ok: true` when the chain is intact, `ok: false` plus the
first-bad row when it isn't. Cheap to call up to a few thousand
rows; for tables with millions of rows, pass `max_rows` to bound
the cost and run a full audit in a background job instead.

## Query parameters

- `max_rows` integer, nullable: Cap the walk for cheap monitoring; omit for full audit

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/aimrank/apis/aimrank-api.md) · [All operations](https://skmtc.dev/aimrank/apis/aimrank-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aimrank/apis/aimrank-api/revisions/3574d0aff459?raw)
