Audit Trail Example: One Moderation Decision, Field by Field

An audit trail example for AI moderation: the fields of one per-decision record, how versions are pinned, how a reviewer re-walks it, and trail vs log.

Audit Trail Example: One Moderation Decision, Field by Field
Written by TechnoLynx Published on 12 Jun 2026

When a regulator writes about one removed post, they are not asking how accurate your moderation model is. They want the trail behind that single decision. A useful audit trail example for AI-assisted moderation is therefore one record per decision, not an export of pipeline logs. We would join the statement of reasons owed to the affected user to the context an audit trail binds: model and prompt versions, policy verdict, reviewer authority and an integrity proof. A log shows that something happened. A per-decision record holds enough to reconstruct the decision and defend it.

Below, we build one entry field by field and then walk through it the way a reviewer would.

How does an audit trail example work for AI-assisted moderation?

We would build the record in two layers, bound together by one identifier.

The outer layer is regulatory. Under Article 17 of the EU Digital Services Act (DSA), hosting providers must give affected users a clear and specific statement of reasons for any restriction imposed because content is illegal or incompatible with their terms. That covers reduced visibility or removal, restricted monetary payments, suspension of the service, and suspension or termination of the account. Online platforms must also submit those decisions and statements of reasons to a public, machine-readable database run by the European Commission, and the submissions must contain no personal data. The Commission’s documentation maps each database field onto Article 17. That makes it the most concrete public schema for what one moderation decision’s record must contain.

The inner layer is engineering. The AI Governance Control Stack paper (arXiv) describes decision-time logs that typically carry the model version identifier, the input context or prompt, an explanation artefact, and the version of the policy bundle in effect. The statement of reasons tells the user and the regulator what was decided and on what ground. The inner layer lets a reviewer reconstruct the reasoning context behind the call. Either layer alone leaves a regulator’s follow-up question unanswered.

What fields make up a single per-decision audit trail entry?

The fields come from both layers. The Commission’s statement-of-reasons template fixes the public part. For the internal part, the AI Act leaves the field list to the provider for most high-risk systems, so the platform decides those fields itself.

Worked example: one partially automated removal

Assumptions: a video is judged incompatible with the platform’s terms after a trusted flagger reports it, and the decision uses both automated means and a human reviewer. The values in the first table follow the Commission’s own example API payload.

Statement-of-reasons layer (DSA Transparency Database fields)

Field Example value What it records
puid TK421 The platform’s own unique identifier for this statement of reasons. It links the database entry back to internal data such as the specific URL.
id Assigned by the database The database’s unique ID for the statement, used in its permalink.
content_type CONTENT_TYPE_VIDEO The type of content affected; more than one value is allowed.
content_date, application_date Date posted, date decision applied When the content was posted and when the restriction was applied. Together they let analysts compute moderation delay.
decision_visibility DECISION_VISIBILITY_CONTENT_DISABLED The restriction imposed. Every statement carries at least one of the four restriction types, possibly several, and each has its own start and end date.
decision_ground DECISION_GROUND_INCOMPATIBLE_CONTENT Whether the decision rests on Article 17(3)(d), illegal content, or Article 17(3)(e), incompatibility with the terms and conditions.
decision_ground_reference_url, incompatible_content_ground, incompatible_content_explanation Link to the terms clause, the ground, the explanation A link to the terms provision relied on, the incompatibility ground cited and the platform’s explanation.
category STATEMENT_CATEGORY_CYBER_VIOLENCE_AGAINST_WOMEN The high-level infringement category, chosen from a predefined set of 14.
territorial_scope, content_language PT, ES, DE; EN The territorial scope of the decision and the language of the content.
decision_facts Free text A required description of the facts and circumstances relied on, limited to 5000 characters.
source_type SOURCE_TRUSTED_FLAGGER What kind of signal triggered the decision, from a predefined set.
automated_detection No Whether automated means identified the content.
automated_decision AUTOMATED_DECISION_PARTIALLY How far automation decided the infringement. “Partially” means both automated means and human interaction were involved.

A 2024 legal and empirical analysis of the database counted 33 content-related attributes in the January 2024 API documentation. It found eight generally mandatory, 11 mandatory under conditions and eight optional, with six left unclear. (The same paper gives the decision_facts limit as 2000 characters in one place and 5000 in another; the Commission’s API documentation says 5000, and we treat that as authoritative.) Redress has no field of its own in the table, but the statement must be specific enough for the user to use the redress options Article 17 refers to.

Decision-context layer (internal, keyed to the same decision)

Field Example value What it records
Decision record ID One identifier per decision The anchor record every other artefact refers to.
Model identity and version Pinned checkpoint tag Which model produced the output, so the decision can be reproduced after the model is updated.
Prompt version Tag of the policy prompt The prompt version in effect at decision time.
Policy bundle version Tag of the policy configuration The governance configuration in effect at decision time.
Inputs as read Content reference, retrieved context Exactly what the model received, including any retrieved context.
Model output and confidence Label plus score What the system concluded and how certain it was.
Explanation artefact Feature attribution or reasoning trace How the output was produced, captured at inference time.
Reviewer action and escalation Reviewer ID, action, rationale, timestamp Who approved, overrode or escalated, why, and when.
Stage timestamps Request, inference, action When each step happened.
trace_id, span_id Telemetry identifiers The join to the engineering trace, so engineers and auditors can move between the two records.
Integrity Record hash, previous-record hash, signature Proof that the entry has not been edited since it was written.

How is the policy clause, prompt mapping and model version pinned to one decision?

The versions are pinned when the decision is written, not reconstructed afterwards. The pipeline records the policy decision before the action goes ahead and the approval before the action is carried out, because a record put together later from logs cannot reliably show the order in which things happened.

Pinning the clause takes more care than the public schema suggests. The database records a ground and a link to the terms being applied. However, the 2024 analysis points out that terms of service can be changed unilaterally at any time. A link to today’s terms does not show what the clause said on the day of the decision. We would pin the clause with a stable identifier and a version number in the internal layer, and keep the dated text that version resolves to.

Where an LLM-assisted classifier receives the clause through a prompt, we would version the prompt mapping as an artefact. The record should state which prompt version encoded which clause version, so that a change to the wording of the prompt counts as a change to the policy. The governance-stack paper argues that binding model versions, datasets, policy configurations and evaluation artefacts into one version-controlled bundle prevents silent governance drift. It also argues that updates to models, prompts, retrieval pipelines or policy bundles should pass validation checks before deployment.

This is where the per-decision record and release engineering meet. In our view, production AI reliability is its own engineering discipline, and release-readiness reviews are one of the artefacts it produces. A release gate can only be audited if every decision made after it names the release it ran under. The way audit-evidence artefacts relate to reliability artefacts is the subject of its own page, and the reliability artefacts behind a trustworthy triage pipeline are covered separately.

How does a reviewer re-walk a trail entry to reconstruct a moderation decision?

A reviewer starts from the identifier, checks that the record is intact, and then re-runs the recorded policy over the recorded inputs to see whether the outcome matches. In order:

  1. Read the statement of reasons as the user received it. Check that it is clear and specific enough for the user to use the redress options.
  2. Verify integrity. Confirm the hash chain and signature, so that any change made after writing would show.
  3. Resolve the recorded versions. Retrieve the policy version and model version recorded for the decision.
  4. Re-run the policy over the recorded inputs with no tool access. Compare the outcome and the matched rules with what the record says.
  5. Check the human step. Confirm who reviewed, when, and that the approval came before the action. If automated_decision reads “partially automated”, look for the human action in the trail, because that value means both automated means and human interaction were involved.
  6. Check the downstream effect separately. A replayed decision does not prove that the restriction was actually applied in the downstream system.

Replay needs the decision inputs, the pinned policy version and the recorded model output. Generative output distributions can also drift across repeated inference runs. For the human side of the trail, our piece on how AI moderation workflows combine human review with model triage explains where reviewer actions come from. The view from the other side of the table is in what per-decision evidence an external reviewer expects to see.

What does a moderation audit trail entry deliberately not capture?

Some omissions are deliberate design choices. Others are limits you need to know about before relying on the record.

Personal data, in the shareable layer. The Commission’s documentation states that, in line with Article 24(5), platforms should not include personal data in their submissions. NIST SP 800-53 also asks organisations to consider how audit records can reveal information about individuals. We would keep the shareable layer free of personal data and resolve identities by reference, under access control, in the internal layer.

Whether the decision was right. The entry shows what was decided, under which versions, and by whom. It does not certify that the call was correct, and it is not regulatory sign-off. Accuracy is a property of a population of decisions and belongs to evaluation.

Aggregate fairness. Bias across groups cannot be seen in a single entry. A practitioner survey on ML logging found that practitioners focus on conventional performance metrics, and that individual fairness metrics received no responses at all. Fairness metrics need continuous monitoring of their own.

The effect outside the system. As step 6 notes, replay shows what the system decided, not what the downstream system did.

Account-level actions, in the public schema. Trujillo et al. note that the database structure cannot explicitly report moderation decisions aimed at accounts rather than content.

The record’s accuracy needs its own caveat. Trujillo et al. stress that the database is self-reported, so its reliability depends on whether platforms are willing and resourced to map their real processes onto the norms accurately. They found that all platforms met the requirements but most left out important optional details. Every social media platform studied reported only a single restriction type, although the schema allows several. The 2024 analysis found that the mandatory decision_facts field mostly holds generic templates, and that 99.8% of statements cite a terms-of-service ground.

The lesson for engineering is direct: automated_decision and decision_facts are only as truthful as the code that fills them in. We would derive the automation value from the path each decision actually took, not from a configuration default.

How do many per-decision entries roll up into the content-moderation audit-evidence pack?

An evidence pack bundles the decision record, input context, governance evidence and integrity material for one decision or one period, so that a reviewer can check it outside the system that produced it. Per-decision entries are the unit. The pack adds the population view and the governance documents around them. What a full pack holds is set out in the content moderation audit evidence pack and, for day-to-day operations, in what an operational content-moderation evidence pack contains.

Under the DSA, decision records feed several outputs. Statements of reasons go to the Commission’s database. Providers publish an annual machine-readable report on their content moderation. Very large platforms undergo independent audits at least once a year, and must give auditors access to all relevant data, including data on algorithmic systems. Trujillo et al. cross-checked platforms’ database submissions against their transparency reports for consistency. A pack whose aggregates cannot be traced back to its individual entries invites the same check.

Under the EU AI Act, a high-risk AI system must technically allow events to be recorded automatically over its lifetime. Providers must keep automatically generated logs for at least six months unless other law says otherwise. Whether a particular moderation system falls into the high-risk category is a legal question for counsel, not something a record design settles. To see how a pack is used under time pressure, read the walkthrough on answering a regulator moderation inquiry in days.

How does a per-decision moderation audit trail differ from a generic audit log or audit-trail report?

An audit log records that something happened. A per-decision audit trail records a decision with enough context to reconstruct and defend it. NIST SP 800-53 control AU-3 sets the baseline content of a generic audit record: the type of event, when and where it happened, its source, its outcome, and the identity of anyone or anything involved. That baseline is necessary, but it does not capture a moderation decision. A moderation record also needs the decision ground and the model and policy versions.

The difference also holds against engineering traces. An observability trace records how a model call ran, including the model, token counts, latency and errors. An audit-grade trail records why an action was allowed, which policy version decided it, and how the record can be verified later.

  Generic audit or application log Observability trace Per-decision moderation audit trail
Unit Event Model call or pipeline step One decision and its statement of reasons
Core content Event type, time, place, source, outcome, identity Operation, model, tokens, latency, errors Ground, clause, versions, inputs, output, reviewer action
Tamper evidence Typically lacks hash chaining Not its purpose Append-only, hash-chained, signed
Question it answers Did something happen? How did the system run? Why was this decision made, and can we prove it?

Vendors of audit tooling describe the trail as structured, immutable and cryptographically chained, and the plain log as lacking that integrity and decision metadata. These are vendor sources, but the integrity points match the append-only and signing practice described above.

Both kinds of record have their place. Treating one as the other is the mistake. Our sibling page on the audit trail report covers the document you hand a reviewer and how to read it. This page covers the record underneath that document. A report can only be as specific as the entries it is built from, and that is why the design choices here (pinned clause versions, writing at decision time, automation fields derived from the actual path) have to be made before the regulator’s email arrives, not after.

FAQ

What is the purpose of audit trails in AI systems?

Audit trails let governance teams reconstruct the context in which an automated decision was made and spot shifts in behaviour. Accountability comes from embedding explanation artefacts in traceable evidence structures that allow decisions to be reviewed and audited.

What is an audit trail in simple terms?

An AI audit trail is a chronological, structured record of each decision the system makes: what went in, which model version processed it, and what came out. It works like a commit history for the system’s behaviour.

Back See Blogs
arrow icon