Skip to main content
A
Docs

Audit and records

What Anar records about AI requests and user actions, where the records stay in your environment, and how to read and export them.

What is recorded

RecordWhereWhat it contains
Request logGatewayEach model request: time, model, provider, tokens, cost, status, virtual key
Audit eventsGatewayConfiguration changes, key operations, refused sign-ins and blocked requests
Audit trailGuardEach content check: the first 200 characters of the content, the action, the number of policy matches and the number of personal data items
Run historyAgents, FlowEach step of a run, each tool call, and each human decision
Product actionsEach productImportant actions, with the user who did them

Where the records stay

All records stay in the databases of your deployment. Anar does not copy them out of your environment.

How to read the records

  • Request log. Open Logs in the Gateway console. Filter by time, model, provider, status or key.
  • Guard audit trail. Open Audit Trail in the Guard console. Export it to CSV with the export button, or call GET /api/v1/audit/trail/export.
  • Agent and workflow runs. Open the run in the Agents or Flow console. Each run shows its steps and decisions.

Gateway audit events

The Gateway keeps its audit events for 90 days. The console does not show them yet. Ask Anar for an extract when you need one.