Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,221 of 9,224 pages
About the help in other languages
All help pages

The audit trail for AI

How AI use is recorded in Exponential's tamper-evident audit trail - the channel ai of Exponential Intelligence with its events for requests, refusals, drafts, chains, models and budgets (actions and metadata, never…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/ai-agents/governance/audit-trail-for-ai.md

On this page

The audit trail for AI

This page is for administrators, auditors and data protection officers who must show what AI and agents did on an installation. Exponential has a tamper-evident audit trail: canonical JSON lines with a hash chain, which can be verified, archived, exported and forwarded (The audit trail). AI use is recorded there, as actions and metadata.

Contents

  1. What is never recorded
  2. Exponential Intelligence: the channel ai
  3. What agent accounts do
  4. Keys and tokens of agents
  5. Reading it
  6. An auditor for AI only

What is never recorded

The audit trail records who did what, when, with what result. For the assistant it never holds a prompt, an answer, a draft's text, a provider's error text or a key. Personal data beyond the user id follows the kernel's audit privacy settings.

Exponential Intelligence: the channel ai

From the extension's audit page, written into the channel ai (var/log/audit/ai-<day>.jsonl):

EventWhen
system.expai.requestEvery request sent to a model: provider, model, region, retention, purpose, lane, token counts, latency, status, estimated cost
system.expai.request.failedThe request failed or the model refused
system.expai.request.refusedThe veto refused it, or the master switch is off
content.expai_draft.writeA version written by the assistant, from any source
content.expai_draft.keep, .submit, .publish, .discard, .reopenThe draft's state changed
content.expai_chain.start, .approve, .changes, .stop, .resumeAn editor acted on a chain
system.expai.model.actionA local model loaded or unloaded, a model test queued
system.expai.budget.hold, .resumeA queued job held by a budget, or resumed

Changes of the assistant's settings (the master switch, the data policy) written through exp:ini or the settings views are recorded by the kernel as system.setting.write; role changes as access.role.*.

The volume is about one line of 1 KB per request and per draft. To record only failures, refusals and drafts, disable system.expai.request in your audit settings.

What agent accounts do

An agent that works through the REST API or expservices acts as its own account, so its actions are recorded like any user's:

  • every expservices write records service.<domain>.<method> in the audit trail (Remote services and apps);
  • content changes made through the kernel are recorded in the content channel under the account that made them.

This is why every agent should have an account of its own: the audit trail then answers "what did the agent do?" directly (Roles and least privilege).

Keys and tokens of agents

EventRecords
access.apikey.*Making, revoking, first use and refusals of personal API keys
access.expservices.token.create, .revoke, .failedexpservices tokens

Reading it

./console exp:audit tail --channel=ai --allow-root-user
./console exp:audit search --name=system.expai.request.failed --allow-root-user
./console exp:audit verify --channel=ai --allow-root-user
./console exp:audit tail --channel=access --name='access.expservices.*' --lines=5 --allow-root-user

In the administration, with the assistant active, the audit console has an Exponential Intelligence source: a dashboard panel (requests, failures, refusals, drafts, estimated cost of 7 days, top users and models), a chart per day, a card per event with links to the request in EI: Log, and an alert rule for many failed requests to one model in a short time. The CSV export of the channel ai adds columns such as provider, model, region, purpose, tokens and cost.

An auditor for AI only

The Channel limitation of audit/read offers "Exponential Intelligence" (ai). A role with audit/read limited to that channel sees the AI events and nothing of the content, access or system channels. Add expai/log if the auditor should also read the usage log.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x