---
title: "Verify Audit Chain"
method: GET
path: "/api/v1/config/secrets/audit/verify"
tags: ["secrets"]
---

# Verify Audit Chain

`GET /api/v1/config/secrets/audit/verify`

## Request

- Base URL: `https://memory.kagura-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://memory.kagura-ai.com/api/v1/config/secrets/audit/verify`
- Auth: none declared

Recompute the workspace's secret-access audit chain and report integrity.

Owner/admin ops surface that makes the tamper-evidence usable in-product:
walks the append-only log id-ascending, recomputes each HMAC ``entry_hash``
and verifies the ``prev_hash`` linkage. Returns ``valid: true`` with the head
hash, or ``valid: false`` with the first ``broken_at`` id and ``reason``.

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- AuditVerifyResponse: Result of recomputing the workspace's tamper-evident audit chain.
  - `valid` boolean, required
  - `entries` integer, nullable
  - `head` string, nullable
  - `broken_at` integer, nullable
  - `reason` string, nullable
  - `erasure_pseudonymized` integer[], nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud.md) · [All operations](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/revisions/09f17f5ada29?raw)
