# Keep an audit trail of verification checks

Read back saved verification records by thread or ID and record a reviewer's decision on each quote result, so every AI output you shipped has its check on file.

Documentation index: https://webcite.co/llms.txt
Canonical page: https://webcite.co/api-docs/audit-trail
API origin: https://api.webcite.co
Authentication: x-api-key header. Keep keys on your server.

## How do I keep a record of what my AI output checks passed or failed?

Every verification is saved with a `citation_id`. Store that ID with the output it checked, fetch the records later with `GET /api/v1/citations` or `GET /api/v1/citations/{id}`, and add a reviewer's decision on a quote result with `POST /api/v1/verify/feedback`. The calls and recorded responses are below.

## Endpoints and minimal requests

Every verification is saved. `GET https://api.webcite.co/api/v1/citations` lists records, filtered by `thread_id`, with `page` and `limit` (50 or fewer). `GET /api/v1/citations/{id}` returns one record. `POST /api/v1/verify/feedback` records a reviewer's `verdict` (`correct`, `incorrect` or `unsure`) on a batch quote result using its `token`. Agents call `list_citations`, `get_citation` and `verify_feedback`.

```bash
curl --fail-with-body 'https://api.webcite.co/api/v1/citations?limit=2&thread_id=YOUR_THREAD_ID' \
  -H "x-api-key: $WEBCITE_API_KEY"
```

The recorded list returned one record with fields `id`, `thread_id`, `citation`, `prompt`, `is_active`, `created_at`, `updated_at` and this pagination:

```json
{
  "total": 1,
  "page": 1,
  "limit": 2,
  "totalPages": 1,
  "hasNextPage": false,
  "hasPreviousPage": false
}
```

[List](/samples/citations-list.json), [single record](/samples/citation-great-wall.json).

## Record the reviewer's decision

```bash
curl --fail-with-body -X POST 'https://api.webcite.co/api/v1/verify/feedback' \
  -H "x-api-key: $WEBCITE_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"token": "FEEDBACK_TOKEN_FROM_BATCH", "verdict": "correct", "note": "The phrase appears in the first column of summary table A."}'
```

Recorded response: `{"recorded": true}`. Feedback records the review; it does not change the source or the stored result. [Recorded file](/samples/feedback-bls.json).

## What to keep, and what the records do not prove

Store the `citation_id` from each verification with the output it checked, and the feedback you recorded on each quote. Together they show what was checked, against which sources, what came back and who reviewed it. A saved record shows that a check ran and what it returned; it does not prove the output was correct. [Audit evidence](/governance) lists what Webcite keeps, and [check an agent's claims before it acts](/api-docs/agent-checks) shows where the check sits in an agent.
