Skip to main content
Docs

One endpoint,
every model.

Tare is an OpenAI-compatible gateway in front of every model you use — ours and the ones you bring yourself. One base URL, one key, and every token accounted for.

OperationsAudit trail

Audit trail

What this solves: How to look up "who changed what, who viewed what" on your account — from the console and from the API — and the trap in the console's export button.

The audit trail answers whether things on my account can be changed or viewed without my knowledge.

What it records

The audit trail is a running ledger of the whole account, and content authorization is just one part of it. All of the changes below are recorded here, and each entry states whether you made the change yourself or the platform made it on your behalf:

A key's own governance-setting changes go through the same log: cumulative quota, source IP allowlist and its toggle, DLP settings, the Router it's bound to, expiry, name, and disabling. These are exactly what an attacker would change first after getting hold of a key.

The audit log is the whole account's ledger The audit log records price, route, billing method, limits, credentials, and each grant to read retained content. Every row says whether you made the change or ops made it for you. Governance changes on a key use the same record. The audit log is the whole account's ledger Who changed what, and who looked Each row says you changed it, or ops did What it records Price changes Route changes Billing changes Limit changes Credential changes Content-grant reads Also: governance changes on a key itself use this same record Limit, source-IP list and its switch, DLP, bound Router, expiry, name, disable Content grants are one part. Price, route, billing, limits, and credentials are recorded here too. If an API key made the change, rather than a console session, the row names that key.
The audit trail is a running ledger of the whole account

If a change was initiated with an API key (not a login session), the log states which key made it.

Toggling a drill (mock) on or off for a key also leaves a trace. Once production traffic quietly starts returning fake data, someone will eventually ask you to explain what happened during that window. See Drills (Mock).

How to look it up in the console

Go to Audit Trail.

  • Filter by activity type.
  • Filter by time range. It is left empty by default, which means no time limit, not "the last 24 hours".
  • Page through the results.
  • Export CSV with the export button on the page.

The "Export" button on the Audit page only exports the current page (50 rows). To export the full range, you have to call GET /v1/audit/events/export yourself — you can't rely on clicking in the console.

How to look it up from the API

The audit trail is part of the console and admin endpoint group, with the root path /v1/audit.

EndpointPurpose
GET /v1/audit/eventsRead back this audit ledger
GET /v1/audit/events/exportExport the same data (use this for a full export, not the console button)

GET /v1/audit/events can answer more than "show me everything" — it can answer narrower questions too:

Filter by category: pass group=, with these values:

groupWhich category it restricts to
securitySecurity-related
dlpData-protection-related
accessAccess-related
configConfiguration changes
staffChanges the platform made on your behalf

Switch to a security report: pass view=summary&days=30 and instead of per-event records you get a security report directly, containing a day-by-day summary over the given time window, which entity types were hit, which keys they came from, and which source addresses were rejected.

Next steps

  • To understand content retention and view authorization themselves: read Call Traces.
  • To understand key settings like the source IP allowlist: read API Key.
  • To understand DLP hit records: read Data protection (DLP).
Docs last updated Nov 27, 2026, 12:56 (UTC+8)