---
title: "Verify activity log integrity"
method: POST
path: "/v1/audit/integrity/verify"
tags: ["audit"]
---

# Verify activity log integrity

`POST /v1/audit/integrity/verify`

## Request

- Base URL: `https://api.brixsignage.com`
- URL: `https://api.brixsignage.com/v1/audit/integrity/verify`
- Auth: HTTP bearer

Re-reads every event behind the integrity chain and recomputes it, to prove the activity log has not been altered since a digest was recorded. Returns HTTP 200 with `ok: false` when verification fails, rather than an error status, so a monitoring script can distinguish "the log was altered" from "the check itself failed". This is rate-limited because it re-reads the full log.

**Notes.**
- Answers 200 with `ok: false` when verification fails.

## Request body

- object
  - `limit` integer: Checkpoints to check, newest first (default 90).

## Response `200`

Success.

- object
  - `data` object, required
    - `checkpoints` object[], required
      - `id` string, required
      - `seq` integer, required
      - `periodStart` string, required: ISO-8601 timestamp (UTC).
      - `periodEnd` string, required: ISO-8601 timestamp (UTC).
      - `storedRowCount` integer, required
      - `actualRowCount` integer, required
      - `recomputedRoot` string, nullable, required
      - `rootMatches` boolean, required
      - `digestMatches` boolean, required
      - `chainIntact` boolean, required
      - `ok` boolean, required
    - `ok` boolean, required: False when any checkpoint failed: the log was changed.
    - `latestDigest` string, nullable, required

## Other responses

- `401`: Missing, expired or revoked bearer token.
- `403`: The token lacks the permission this operation needs (see `x-brix-permission`).
- `429`: More than 10 checks in 5 minutes.
- `5XX`: Server error. The body carries a `requestId` to quote to support.

---

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