---
title: "Verify the audit chain"
method: POST
path: "/audit/verify"
tags: ["audit"]
---

# Verify the audit chain

`POST /audit/verify`

## Request

- Base URL: `https://localhost:4410/api/v1`
- URL: `https://localhost:4410/api/v1/audit/verify`
- Auth: HTTP bearer

Recomputes every hash in the stored chain, checks it against the chain head and against every head a timestamp authority anchored. Reports the first broken link.

## Request body

- object

## Response `200`

The result.

- object
  - `ok` boolean, required
  - `count` integer, required
  - `head` string, nullable, required
  - `broken_at` integer, nullable, required
  - `reason` string, nullable, required
  - `anchors_checked` integer, required
  - `latest_anchor` object, nullable, required
    - `seq` integer, required
    - `head_hash` string, required
    - `authority` string, required
    - `anchored_at` string, required

## Other responses

- `default`: An RFC 9457 problem.

---

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