The trail binds a request to the actor, role and resolved participant behind it, while the on-chain role grant that authorised the act lives on the ledger.
Request middleware writes the trail from each route's declared audit disposition, so a route is covered from the moment it is written.
A covered mutation that cannot be recorded does not run, except authentication writes which fail open to prevent lockouts. Most sensitive reads are still served when recording fails. Nine bulk or regulated reads are refused instead.
Under a delegated authority, the trail names both the operator as actor and the participant the request resolved to act as.
Why the chain cannot answer who acted
A signature on a blockchain transaction proves which smart wallet sent it. It says nothing about which person sat behind that account, which role they held, or whether that step was theirs to take. A regulator asking who approved a compliance override, or an auditor confirming that only cleared staff opened a customer's file, is asking about a person and a permission, while a chain reports only a wallet.
A denied request, a rejected submission, a configuration edit and a sensitive read produce no transaction, so a chain-only investigation finds nothing.
The audit trail binds every covered state-changing or sensitive request to the human actor, their platform and organisation role at that moment, the resolved participant acted as, and the outcome, whether or not the request reached the chain. It does not record which on-chain role grant authorised the act. The trail is also a reporting obligation report kind, so regulated filings can carry it directly.
Why this trail covers the whole platform, not one asset's life
Asset Lifecycle indexes a separate trail: every stage of one instrument's life, from design through issuance, servicing and retirement, against that asset's indexed record. That trail shows whether an act on that instrument was authorised and settled.
The audit trail covers every state-changing or sensitive request across DALP, whether or not an asset is involved. Signing in, resetting a password, creating an API key and enabling two-factor authentication all leave entries alongside transfers, coupon runs and trades. Every entry names the actor and their role, and names an asset only when the request touched one.
What the trail covers, and what it leaves out
Application-level write restrictions do not make the database itself a write-once archive.
What is logged. Every state-changing request, and every read whose occurrence matters, tied to the actor, their role at that moment, their tenant, the resolved participant and the outcome. Ordinary reads are not logged, because logging every read would turn the trail into a privacy problem.
What is immutable. The application never updates or deletes an audit row. A pending row never changes: the outcome lands as a second append-only row linked to the pending row, and reads combine both into one entry that keeps the opening identifier and start time. The database blocks updates to recorded rows, except backfilling a hash on legacy rows where the hash matches.
Delete protection and hash chain. The database blocks deleting any audit row until its UTC day is anchored. Each row links to the previous row by a SHA-256 hash. An integrity check reports the first broken row. Comparing the head hash it returns for an anchored day with the digest in that day's on-chain anchor exposes changes that a database owner could otherwise hide.
Exports. Three API read shapes and a reporting-obligation export read the trail, covered under How you read the trail.
Retention. Retention is a configurable window of 5, 7 or 10 years, or indefinite by default. An expired UTC day is deleted only as a whole, after its chain head is anchored and every row of that day sits in a published or acknowledged end-of-day audit report. A row written after that report read keeps its day.
Platform-wide rows. Platform administrator actions, such as user administration and impersonation, form one platform chain. The daily job anchors that chain like an organisation's, the platform integrity check verifies it, and the retention job never deletes its rows because no organisation end-of-day audit report holds them.
Two writes bracket every request
The audit trail writes an entry twice for every covered mutation: once before the handler runs, recording the attempt, and once after, appending the outcome. If a request dies between the two writes, the opening row stays pending so no attempt vanishes without a trace. A sensitive read writes both rows after its handler runs.
Both writes join the hash chain of the request's organisation, or the platform chain for platform-wide operations. The opening row records the request scope, the previous row hash and its own hash before execution starts. The closing row links to the opening row and records the final outcome.
Because of that link, the integrity check detects a modified row, a row removed from the middle of a chain, or a row removed from the end of an anchored day. It treats an unfinished request as evidence that the attempt began. It cannot detect removal from a day that has no anchor.
The first row records the attempt before the handler runs and the second appends the outcome, so a crash between them leaves a pending row as evidence.
How the trail proves that its rows were not changed
Each organisation's rows form a SHA-256 chain in write order, and platform-wide operations form one separate chain. Every row hash covers the canonical row fields and the previous row hash, so altering a field or deleting a middle row breaks the chain. The database computes both hashes and refuses rows that supply them. Concurrent requests serialise their hash choice so simultaneous operators keep one ordered chain.
At 00:05 UTC each day, a job writes each organisation's closed-day chain head into its document anchor registry on its default network under the label operator-audit, and records the transaction hash in an append-only table. Organisations without a default network or active anchor signer wait for the next run.
The database blocks TRUNCATE on both the audit and anchor tables, and rejects anchors for open UTC days or hashes that do not match the day's final row. The anchor table does not independently verify the stored transaction hash against the chain. The daily job anchors an organisation's oldest unanchored day first, up to 31 days per run, stopping at the first day it cannot anchor. Retention runs after anchoring and never deletes rows from an unanchored day.
The daily job also anchors the platform chain. Because no organisation owns it, the job submits its closed-day head through the first anchored organisation with a default network and active anchor signer, falling back to the next eligible organisation when needed. The resulting anchor row carries no organisation.
An authorised reader verifies up to 31 days through GET /api/ in the Platform API reference. An intact response returns the range's head hash. When a row's hash or canonical content fails verification, the response names the first broken row with its expected and stored hashes.
The integrity check also compares each anchored day's chain head (and the last anchored day before the range) against every stored anchor for that day. It reports reason anchor with brokenAnchorId when a head disagrees with its anchor, two anchors for one day disagree, or an anchored day has no rows left within the retention window. Under indefinite retention, any anchored day with no rows is a break.
The integrity check reads only the database and never queries the chain directly. It cannot detect a database owner who disables triggers and rewrites both the chain and anchor rows together. To prove integrity against database-level tampering, compare the head hash the integrity check returns for an anchored day with the digest of that day's on-chain anchor transaction.
A platform administrator checks the platform chain through GET /api/ with the same date range and response shape. That check is itself recorded on the platform chain.
An entry that stays pending well after its request should have finished signals that the closing write failed, not that nothing happened. The trail returns it with outcome pending and no completion timestamp.
Mutations and sensitive reads behave differently when the opening write cannot land:
Mutation
Refused before the handler runs, so no partial state exists on either side. Because the trail shares the database the mutation would write to, blocking unrecorded mutations costs no availability the write had anyway. The caller receives INTERNAL_SERVER_ERROR, an HTTP 500, and may retry. When other writes hold the organisation's audit trail for more than 5 seconds, a v2 caller receives an HTTP 503 AUDIT_BUSY with Retry- instead. Nothing was written, so the same request can be sent again.
Sensitive read
Served anyway for most reads, with the audit-write failure logged for operators, because refusing a read changes no state.
Reads of another person's personal data are also sensitive reads: the member list and member detail, profile and KYC version history, sessions (with IP address and device), national ID lookups, API request logs and their live stream, and platform administrator user and organisation views (recorded in the platform trail rather than a customer organisation's).
Reading your own account is not recorded. Entries record the reader and route, replacing any looked-up national ID or search term with REDACTED.
Nine routes require the opening audit row because they return bulk exports or regulated records: the audit trail export, daily transactions report, shareholder list registrar file, shareholder list beneficial owners read, assistant turns export, trading venue report file read, and the mirror reconciliation run, run file and settlement feed file. If the opening write fails on those nine routes, DALP withholds the response and returns the same error as a refused mutation.
Authentication writes are the one mutation exception that fails open. They run through authentication lifecycle hooks rather than request middleware, because sign-in runs before a session exists and a brief trail outage must not lock operators out. A request waits at most two seconds for its entry. Slower writes finish after the response, and missed writes are logged.
Authentication hooks record password and passkey sign-ins, whether they succeed or the credential check refuses them, sign-outs, sign-ups, password resets and changes, adding and deleting a passkey, sign-in code changes, API key changes, changes to the wallet transaction PIN, wallet authenticator and recovery codes, authenticator-app setup and verification, and account lockouts. The entry for a passkey added, or deleted from the Security page, names the platform's own ID for the passkey as its target. No entry records the passkey's public key or the authenticator's credential ID. A password change or reset, Set password, Revoke all sessions, Reset sign-in code and identity recovery delete all of a person's passkeys under that action's own entry, with no entry per passkey. Sign-in, sign-out, sign-up, password reset and verification entries carry no organisation, so they join the platform chain, which a platform administrator reads. A password change, a passkey added or deleted, a sign-in code turned on or off, and every change to the wallet transaction PIN, wallet authenticator and recovery codes, whether it succeeds or is refused, are written once to the audit trail of each organisation you belong to, with your role there, such as member/owner. A person who belongs to no organisation gets one entry on the platform chain, and it is not copied into an organisation they join later. An API key's creation, update and deletion go to the audit trail of the key's own organisation, and a key moved to another organisation writes to both. A key request refused before it runs, for a missing or held wallet factor for example, is recorded as a failure there when you are a member of that organisation, and on the platform chain otherwise. These entries follow each organisation's retention setting, unlike the platform chain, which keeps every row. Password attempts refused during a lockout record PASSWORD_LOCKED, and concurrent attempts that exhaust the remaining budget record PASSWORD_BUSY without starting a lock. Membership changes and platform administrator user actions are also recorded. When an invitation is accepted and the membership is written, the joined organisation's trail gets one entry with the new member as actor and the granted role, for example member/member. An invitation batch in which every invitation was refused is recorded as a failure with the first refusal code, although the request answers 200, and a batch in which only some were refused is recorded as a success that lists the refused invitees. Identity-provider sign-ins and email or SMS sign-in codes do not write audit entries.
One record, written by declaration
One internal record holds every entry: actor, role at the time, tenant, target, route, outcome and timing. Request middleware writes it from each route's declared audit disposition (mutation, sensitive-read, sensitive-read-required or none) rather than per-handler instrumentation. Routes without an explicit declaration default from their access rules, and a build check rejects write routes that opt out without an exemption.
Each entry stores the route, resolved path and query string up to 1,024 bytes, redacting credential and personal-data parameter names such as passwords, PINs and one-time or recovery codes. Redaction matches parameter names. Parameters named for an email, a name or a free-text search are redacted along with credentials. Keep other personal data out of query parameters.
Target names are resolved on read, not write. Each returned entry carries targetName for tokens, members, venues, sale symbols or venue add-on proposals, resolved for the caller's permissions. Inaccessible, deleted or banned targets return null, and the Console shows the target kind label instead. Because the stored target ID never changes, renaming a resource changes what later reads display without altering the recorded entry.
The entry stores the JSON request body as arguments, replacing credential, secret, PIN, token, key, date-of-birth and IBAN keys with [REDACTED]. Bodies over 64 KiB are stored as a hash and bounded diff. Routes carrying sealed personal data store a marker instead of the body. Failed requests keep their arguments, and consolidated transition entries record the requested destination state even when the transition fails.
Entries hold no foreign-key link to the organisation, user or participant they reference, so the audit evidence outlives deleted accounts and records.
The entry's participant field records the participant the request resolved to act as, written on completion from the route's participant selection. Under a delegated authority, the entry names both the operator and the participant acted as, while requests with no resolved participant leave the field empty.
A participant requested via X-Participant also appears in the target before authorisation runs, so read the participant field rather than the target for who was acted for. During platform administrator impersonation, the entry records the administrator as the operator acting as the impersonated user.
How you read the trail
In the Console, Audit trail shows an organisation's operations for the last 30 days by default, with custom windows and pagination. Organisation owners, platform administrators, and holders of the Permission manager, Auditor, Compliance manager or System manager roles can open it, so an Auditor can inspect activity without holding approval rights.
Entry timestamps use the server clock at request handling, not block time. On a network whose clock runs ahead of real time, an entry can read earlier than the chain activity it triggered. On an idle network, it can read later than the newest block. For chain-dated figures, see Ledger data.
The Platform API provides three tenant read shapes: a time window over your organisation's trail, one entry by ID, and every entry touching one resource across all actors and routes. Resource history is usually the fastest starting point for an investigation. A fourth route, restricted to platform administrators, queries across all organisations and platform-wide entries.
Window reads return at most 200 entries per page, newest first. meta.total stops counting at 10,000, setting meta.totalIsLowerBound to true when more entries exist. The cap applies only to the count, never to cursor pagination.
Pass the returned cursor unchanged to walk back to the oldest entry. An invalid cursor or an inverted date range returns HTTP 400 REQUEST_INVALID (DALP-14261), so damaged cursors never restart at page one. Resource reads have no cursor and return the newest 200 matches. For large windows or exact counts, use the streamed CSV export or a reporting obligation export, neither of which has the 200-entry or 10,000-count cap.
Reading the trail is itself a sensitive read and writes an audit entry. Looking up another tenant's entry ID returns HTTP 404 REPORTING_ (DALP-214293) rather than forbidden, preventing cross-tenant ID discovery. The same answer comes back for an entry ID that does not exist, and for one on your own tenant that sits outside your selected time window.
What you can show a regulator
From the Console, you can show a regulator your organisation's operations: the actor, their platform and organisation role at that moment, the resolved participant acted as, the route and the outcome. Nothing exists for periods before your deployment began writing the trail.
For a delegated write, the trail names both the operator and the resolved participant in its participant field. The on-chain ledger and the organisation's system access manager corroborate which account sent the transaction and which on-chain role grant authorised the delegation, covered in Delegated Authority.
Do not claim to a regulator that a database owner cannot edit the store: point to the SHA-256 hash chain and daily on-chain anchors as tamper evidence. Do not promise a fixed retention window across deployments: retention is configured per deployment, and expired days are deleted only once anchored and captured in an end-of-day audit report.
In the Console, the “Actions” counter caps at “10,000+”. Use Export for an uncapped CSV count, or schedule the trail inside a reporting obligation for recurring regulatory filings.
Frequently asked questions
Does an audit entry show what a request changed?
Where the route records diffs, yes. The entry stores old and new field values, shown as Before and After in the Console, together with any operator-supplied reason. Unchanged fields record nothing, and credentials, passwords and API keys are never stored in diffs.
An accepted request is not an applied change. Each entry links its queued transactions and reports one combined state: queued while any transaction is open, confirmed when all succeed, or reverted when any fails to take effect.
Are denied and failed requests recorded?
Yes. Because the opening write lands before the handler runs, every attempt is recorded whether it succeeds, fails or is refused, and the closing write records the HTTP status returned. Anonymous callers without a session are recorded with the actor marked anonymous.
How do you tie an audit entry to logs and the transaction it produced?
Through the request identifier and the entry's transaction list. Every entry stores the ID of the request that created it, and the same ID appears in structured logs and traces. The caller also receives it in the X-Request-Id header. Every entry lists each transaction its request queued, with its status and transaction hash.
What happens to an entry when the account it names is deleted?
Nothing. Entries store no database foreign key to the accounts they name, so deleting a user or organisation leaves the audit trail intact.