Docs/Administration/Audit Logs

Audit Logs

Audit logs record administrative and security events across your organization and its projects: who did it, what they changed or viewed, when, from where, and whether it worked. Use them for security reviews, investigations and compliance evidence.

ℹ

Open Organization Settings → Audit Logs. Audit logs need the audit-logs entitlement (Enterprise plans). Viewing needs auditLogs.viewer:read: Owner, Security & Compliance and Auditor among the built-in roles. A member who holds this permission only through a project role sees only the entries for those projects.

Columns

ColumnMeaning
TimeWhen the event happened.
ProjectThe project, or an Organization badge for organization-wide events.
ActorThe user, the API key (by public key), or System for scheduled jobs. SCIM changes show the organization API key your identity provider uses.
Resource TypeWhat was acted on, such as apiKey, orgMembership, customRole or dataRetention.
Resource IDThe ID of that resource.
ActionWhat happened, such as create, update, delete or user.login.
OutcomeSUCCESS or FAILURE.
IP Address and User AgentWhere the request came from.
Before and AfterThe state of the resource before and after the change.

The newest entries come first, 50 per page. The Content views only switch limits the table to content view entries (see below). There is no search or date range in the viewer; export the log for other analysis. Each entry also keeps the actor's email, name and roles at the time of the event, and the person acted on where there is one, so entries stay meaningful after a user is deleted.

What is recorded

  • Access and membership: invitations, organization and project role changes, removals, and custom role changes. See Members & Roles.
  • SCIM provisioning: users created, reactivated and deprovisioned, role and profile updates, and group changes, with the organization API key as the actor. A deprovisioning entry (scim.deprovision) gives the counts of Budget AI keys blocked and flagged, claim links revoked and API keys revoked or flagged, and separate entries list each blocked key and the keys to rotate, never their secrets. See SCIM Provisioning.
  • Group role mapping: mappings created, changed and removed, every role change a mapping makes (with the group and whether it came from a sign-in, SCIM, the Admin API or the settings page), refused changes, and sign-ins without a groups claim. See Group Role Mapping.
  • Sign-in: sign-in, failed sign-in, sign-in code challenge, sign-up, sign-out, password reset requests and outcomes, and data processing consent accepted or withdrawn. See Authentication & Security.
  • Keys and credentials: project and organization API keys, LLM connections, Budget AI keys and provider credentials (including blocks, unblocks, rotations and step-up bypasses), agent suspensions and resumes (resource type agent, actions suspend and resume, with the number of keys changed), and Discover AI enrollment keys and device certificates. A device certificate issued on a key held in software writes a shadowAiDeviceCertificate entry with the action software_key_issued, and turning the project's hardware key requirement on or off writes a shadowAiProjectConfig entry with the action set_require_hardware_key. See Devices. Budget AI role assignments on Budget AI → Access write gatewayRoleAssignment entries (create, delete).
  • Settings: organization and project changes (including logos and the SCIM provisioning settings), data retention changes (organization.data_retention_changed), integrations (Slack, Jira, Linear, PagerDuty, ServiceNow, PostHog, blob storage), directory and Microsoft 365 connectors, automations, exports and protected prompt labels. Acknowledging or resolving an alert on the Alerts page writes an automationAlert entry with the action acknowledge or resolve. Changing an agent's or the project's health alert limits writes a project entry with the action update. Ignoring or no longer ignoring a server error writes a supportErrorGroup entry with the action update. Custom dashboards write dashboard entries for create, clone, import, update (rename or description) and delete; layout changes are not recorded. A project model discount writes a model entry with the action discount.set or discount.clear. See Models & Pricing.
  • Project content: prompts, datasets, scores and score configs, evaluators, annotation queues, comments, and trace deletions.
  • Governance: guardrail and PII settings, compliance requests and approvals, evidence, agent profiles (including declared tools), AI Inventory changes and drift alerts. Export profiles on Evidence Collection writes an entry with resource type governanceProfile, action export and the number of agents. The executive digest writes governanceDigestSchedule entries for schedule changes (create, update) and test sends (sendTest), and governanceDigestRecipient entries when a recipient is added (create) or removed (delete).
  • Content views: every time someone opens prompt or response content. See Content views.
  • Export downloads: every download of an export file, with the user, the time and the file. See Export downloads.
  • Page views: opening sensitive pages, such as API keys, project members, project General settings, the Governance Audit & Export page, PII settings and the audit log itself.
  • Okta access reconciliation: drift found, members removed, keys blocked or flagged, and aborted runs. See SCIM Provisioning.

Content views

When content view auditing is turned on, opening prompt or response content writes an audit entry with the action viewContent. It is off by default and is a deployment setting: on a deployment managed by ANTS Platform, ask your ANTS Platform team; on a self-hosted deployment, set CONTENT_VIEW_AUDIT_ENABLED=true. This covers opening a trace, in the side panel or as a full page, and opening a session. Each entry records:

  • Actor: who opened the content, with their roles at the time.
  • Resource Type and Resource ID: the trace or session that was opened, in its project.
  • Time, IP Address and User Agent: when and from where.

In the console, only members with the content permission (pii:read) can open content, so content view entries show who actually read prompts and responses, not who only listed traces. See Data Privacy.

Entries are limited in these ways:

  • One entry is written per person per trace or session every 5 minutes, even though opening a trace makes several requests.
  • Nothing is written when no content is returned: for someone without the content permission, for someone viewing a publicly shared trace without signing in, or when Trace input and output is off.
  • If an entry cannot be written, the content is not shown. Content is never displayed without a record.
  • Trace lists that show a short input or output preview are not recorded, only opening a trace or a session.

To review content access, open Organization Settings → Audit Logs and turn on Content views only. The switch keeps your usual visibility: if you see audit logs only through a project role, you see only those projects' entries. To answer "who read this person's prompts?", match the resource IDs of content view entries to that person's traces and sessions, or export the log and do the same in your own tools.

Export downloads

Export files can only be downloaded through the console, and every download writes an audit entry before the file is released. The entry has the resource type batchExport, the action download, the user, the time, the export name, and the file's SHA-256 checksum and size. If the entry cannot be written, the download does not start.

This covers the Download buttons in Project Settings → Exports, the links in Export ready emails, and audit log exports. With the create entry written when the export is requested and the complete entry written when the file is finished (which also records the checksum and size), this is the chain of custody for each exported file. See Data Exports to verify a file against its checksum.

Limits:

  • A download entry proves that a named user was given a link to a file with a known checksum. It does not prove how many bytes were pulled.
  • Files that a blob storage export writes to your own bucket are outside ANTS Platform, so reads from your bucket are not recorded. Use your storage provider's access logs.

Export

Select Export above the table and choose CSV, JSON or JSONL. The export runs in the background and contains every entry you can see. When it is ready you get an email with a download link (if the deployment can send email) and an Export ready notification. Audit log exports have no list page, so the emailed link is the way to download them. Only the person who requested the export can download it, while they still have audit log access, and the link works for one hour after the export finishes. Downloading the file is itself recorded as an export download. Audit log exports do not appear in a project's Exports tab.

The export file has these fields: id, createdAt, updatedAt, type, apiKeyId, userId, orgId, userOrgRole, projectId, userProjectRole, resourceType, resourceId, action, before, after. It does not include the actor's email or name, the outcome, the IP address or the user agent. For those, use the S3 stream below.

Stream to S3 for your SIEM

A deployment can copy audit log entries to an S3 or S3-compatible bucket on a schedule, for your SIEM to collect. This is set with environment variables on the deployment. On a deployment managed by ANTS Platform, ask your ANTS Platform team.

SettingDefaultMeaning
LANGFUSE_S3_AUDIT_LOG_EXPORT_IS_ENABLEDfalseTurns the export on.
LANGFUSE_S3_AUDIT_LOG_EXPORT_BUCKET, _PREFIX, _REGION, _ENDPOINTnoneDestination.
LANGFUSE_S3_AUDIT_LOG_EXPORT_ACCESS_KEY_ID, _SECRET_ACCESS_KEYnoneCredentials. Can be left empty when the deployment's cloud role can write to the bucket.
LANGFUSE_S3_AUDIT_LOG_EXPORT_SSE, _SSE_KMS_KEY_IDnoneServer-side encryption: AES256 or aws:kms.
LANGFUSE_S3_AUDIT_LOG_EXPORT_CRON0 * * * *Schedule. Hourly by default.
LANGFUSE_S3_AUDIT_LOG_EXPORT_INCLUDE_DIFFSfalseInclude the before and after state.
LANGFUSE_S3_AUDIT_LOG_EXPORT_START_ATnoneEarliest entry to export.

How the files look:

  • One JSON object per line (.jsonl).
  • Files are grouped by organization and day: <prefix>audit-logs/org_id=<organization id>/dt=<YYYY-MM-DD>/. Grant each consumer read access to its own organization's path.
  • Entries with no organization, such as a failed sign-in for an unknown email, go under org_id=_unscoped.
  • Before and after state is left out by default. When it is included, credential fields such as secret keys and client secrets are replaced with [REDACTED].
  • Each run continues from the last exported entry. Delivery is at least once, so deduplicate on the entry id.
  • Files are not compressed.

Retention

Audit log entries are kept indefinitely. The organization data retention setting does not delete them.

Next steps

© 2026 ANTS Platform, Inc.Docs v1.0 · Last updated June 2026