The same way you prove what any system did: log it. Record the inputs the AI received, every action and tool call it made, the outputs it produced, and who or what authorised each step — then retain and search those records like any other log stream. It’s ISO 27001 A.8.15 discipline applied to a new kind of actor.
Nobody researches AI audit trails for fun. The question arrives from three directions, and often all three inside the same year.
An auditor asks. Your ISMS already commits you to logging events on systems that matter. Once an AI system starts making or influencing decisions inside a certified process, the auditor’s request is the obvious one: show me the decision trail.
A customer security review asks. Questionnaires now carry an AI section: “Do you use AI or LLM-based systems? How are model actions logged and reviewed?” A blank answer stalls a deal the same way a blank logging answer did five years ago.
An internal incident asks hardest. An agent misfires, or someone claims it did. Now you need to know what it touched, when, with whose data and on whose authority — from records, not from re-running the model and hoping it behaves the same way twice.
All three are one request wearing different clothes: reconstruct what the system did from evidence. Regulators are moving the same direction; you don’t need the final wording to know “we can’t reconstruct what the model did” won’t be an acceptable answer.
This is not a new discipline. ISO 27001 A.8.15 already requires event logs to capture user ID, system activities, date and time, device and location, and network addresses. An AI audit trail is that same control applied to a new kind of actor, in four layers:
| Layer | What you record | The question it answers |
|---|---|---|
| Inputs | The prompt, the alert, the documents or data the system was given | What did it know and act on? |
| Actions | Every tool call, query and API call — parameters and results included | What did it actually do and touch? |
| Outputs | The verdict, summary, recommendation or content it produced | What did it decide or create? |
| Authorisation | The agent’s identity, plus the human or policy that approved the action | Who allowed it, and who is accountable? |
The A.8.15 components map across almost one for one. The “user ID” becomes a pair: the agent’s own identity and the human or policy that authorised it. “System activities” are the tool calls. Date, time, device and network context stay exactly as they were. The genuinely new material is the input context — what the model was given to work with — and that’s just another event payload.
Write each layer as it happens, at the point of action. A trail reconstructed after the fact from memory and vendor dashboards is a narrative, not evidence.
A record you can’t produce under pressure is not a record. Three properties separate a trail that survives an audit from one that doesn’t.
Same retention as your other security logs. Set by your ISMS retention policy, not by whatever the AI tool’s console happens to keep. Vendor dashboards truncate, rotate and disappear when contracts end.
Searchable alongside the rest of your telemetry. “What did the agent touch?” should be a query, not a project. It should also join: if the agent’s log says it read one table and the database logs say three, you want both streams in one place so the discrepancy surfaces.
Attributable and tamper-evident. Shipped to your log platform like any other security stream, with identity attached, so the trail itself withstands scrutiny.
Do it this way and one trail answers the auditor, the customer questionnaire and the incident review. Do it per-tool, in each vendor’s console, and each of those three conversations becomes a separate scramble.
Treating the transcript as the audit trail. Saving the conversation log feels like logging — it’s text, it’s timestamped, it’s what the demo shows. But a transcript records what the model said, not what it did. An agent that reports it queried one table and actually queried three is precisely the case the trail exists for, and the transcript will never show it. The load-bearing record is the action layer: every tool call with parameters, timestamps and results, tied to an identity and an authorisation. Keep the transcript as input context. Never present it as evidence of behaviour.
Our platform treats AI activity as a first-class log stream. Every model call and agent action is logged, attributable and reviewable — inputs, tool calls, outputs and authorisation — retained and searched alongside the rest of your telemetry, and governed as part of our AI Security capability. We hold ourselves to the same rule: Secure60 is ISO 27001:2022 certified, and the AI workers running inside our own security operations are logged with exactly the discipline this page describes. When your auditor or your customer asks what your AI did, the answer is a search, not a shrug.
What should an AI audit trail actually contain?
Four layers, each timestamped and attributable: the inputs the system received, every action and tool call it made (with parameters and results), the outputs it produced, and the authorisation context — which human or policy allowed it to act. If any layer is missing, you can’t reconstruct a decision from evidence.
Do we need new tooling to log AI systems?
Usually not. Model calls, tool calls and agent actions are events, and your existing log pipeline already handles events. The real work is coverage — making sure AI actions are written into that pipeline at all, instead of living only inside a vendor’s console.
Is there a specific law that requires an AI audit trail?
The pressure today arrives mostly through auditors, customer security reviews and existing controls like ISO 27001 A.8.15, not through one named statute. Requirements vary by market and sector and they’re tightening. Build the trail once and it answers whoever asks.
Isn't saving the chat transcript enough?
No. A transcript records what the model said, not what it did. The load-bearing evidence is the action log — every tool call, query and change, with parameters, timestamps and results — plus who authorised it. Keep the transcript too, as input context.
How long should we keep AI logs?
The same retention your ISMS sets for other security logs. An AI system doesn’t get a shorter memory because it’s new — if anything, it’s the stream an auditor or customer is most likely to ask about next year.
Who counts as the 'user' when an AI agent acts?
Two identities, both logged: the agent’s own identity, and the human or policy that authorised it to act. That pair is what turns ’the AI did it’ from a dead end into an accountable answer.