Four things carry almost all the value: who asked, when, which model answered, and which documents the answer drew on. That set is enough to reconstruct what happened during an incident, to answer an auditor's questions about how a decision was informed, and to tell whether a document was read by someone who should not have reached it. Anything beyond that should earn its place, because logs that hold sensitive content become an asset to protect rather than a record to consult.
Start from the questions you will be asked
Designing a log by listing fields produces either too much or the wrong things. Designing it from the questions produces a short list that works.
The questions are predictable. Did this person have access to that document, and did they use it? What informed this decision, six months after it was made? Which model processed this request, and did anything leave our network? Who changed the settings that allowed it to? When someone left, what did they take with them? Where did this number in the report come from?
Every one of those is answered by the same core record, which is why the core is small.
The record
Identity. The user, and the company or department context they were acting in. Not just an internal id — the record has to be readable a year later, when the person may have left and the id resolves to nothing.
Time. In UTC, with enough precision to order events. Timestamps are what let you line the AI trail up against sign-in logs and document activity during an investigation, and a trail you cannot correlate is a trail you cannot use.
Model and destination. Which model answered, and whether it was local or hosted. This is the field that answers "did anything leave", and it is frequently missing because it feels like an implementation detail. It is not: it is the difference between a request that opened no outbound connection and one that sent a question and its matched passages to a provider.
Documents drawn on. Which files the answer cited, at what version. This is the field that makes access questions answerable, and it doubles as the citation shown to the user, so it costs nothing extra to keep.
Administrative changes. Enabling a model, setting a key, changing a role, widening a document's visibility, adjusting a limit. These are rarer and more consequential than queries, and they are what someone reviewing an incident looks at first.
Decide about content deliberately
Whether to store the text of questions and answers is a genuine trade-off rather than an obvious yes.
Keeping it gives you the ability to see exactly what was asked, which is sometimes the only way to understand an incident. It also creates a store containing every sensitive question anyone asked, which is now subject to your retention policy, your access rules, your backup handling and any data subject request that arrives.
In practice most workspaces keep chat history because users need it, in which case the audit trail can reference the conversation rather than duplicating its text. The record points at the thread; the thread holds the content, under its own permissions. One copy, one place to protect, one place to delete.
Where the trail should live
On infrastructure you control, in a store you can query, and not on a vendor's servers if the point of the deployment was that your data does not go there. An audit trail shipped to a third party quietly recreates the exposure the rest of the design avoided, and it does so with the most sensitive metadata you have: who asked about what, and when.
In a self-hosted deployment the trail sits alongside the documents and the index, on the company's own disk — which is the arrangement Nodus Veritatis uses. The practical benefit is not philosophical: when a regulator or a customer asks who has access to your audit data, the answer is short.
Protect it from the people it records
An audit trail that an administrator can edit answers the question "what happened" only when nobody had a reason to change it. Make the log append-only, and record reads of the log itself, since an admin browsing what colleagues have been asking is exactly the behaviour a trail should surface.
Restrict access to it. Most administrators need to manage users, models and limits without reading everyone's query history, and those should be separate permissions. If your smallest available role grants both, that is a finding to raise rather than a detail to live with.
Retention, both directions
Pick a period and enforce it automatically. Too short and you cannot investigate anything discovered late, which is most things. Too long and you accumulate an ever-growing record of sensitive questions that must be secured indefinitely and produced on request.
Whatever you choose, the deletion has to actually run, and it has to reach backups eventually. A ninety-day policy with archives kept for seven years is a seven-year policy with extra steps, and the difference will surface when someone asks you to delete their data.
Test it once, before you need it
Pick a real question from last week and reconstruct it end to end: who asked, when, which model, which documents, under whose permissions. If any step requires guessing, joining three systems by hand or asking someone what they remember, the trail has a hole — and holes are always found during incidents, when there is no time to fix them.