> ## Documentation Index
> Fetch the complete documentation index at: https://uip-f4b0bbe5.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Verifying the chain

> Live verify endpoint + offline verifier.

## Live verification (in-app)

```bash theme={null}
curl "$AGCMS_BASE_URL/api/v1/audit/chain/verify" \
  -H "Authorization: Bearer $AGCMS_JWT"
```

Recomputes the chain and Merkle root for the requested period:

```json theme={null}
{
  "ok": true,
  "rows_checked": 12345,
  "merkle_roots_checked": 23,
  "errors": []
}
```

## Offline verification (auditor)

```bash theme={null}
agcms verify path/to/bundle.zip
```

Or if your auditor doesn't have the SDK:

```bash theme={null}
unzip bundle.zip
python verify.py .
```

`verify.py` is a single self-contained Python file shipped *inside* every
bundle. It uses only the standard library — no `pip install` required.
