Skip to content
Back to the app

Audit Logs ​

The audit log is an immutable, time-stamped record of every significant action taken in your CHANGENTS.AI workspace — by users, agents, and the system.


What Is Logged ​

User Actions ​

  • Login / logout (with IP and device)
  • Failed login attempts
  • Password changes and MFA enrolment
  • Profile updates
  • Role and permission changes
  • Workspace and team membership changes

Agent & Workflow Actions ​

  • Workflow created, edited, deleted
  • Workflow run started, completed, failed, cancelled
  • Agent execution with full input/output summary
  • Tool calls (type, target, success/failure)
  • Human approval gate triggered
  • Approval decisions (who approved/rejected, what context they saw, timestamp)
  • Knowledge base created, updated, deleted

Integration & Admin Actions ​

  • Integration credential added, updated, or revoked
  • API key created or revoked
  • Webhook endpoint added or deleted
  • Admin actions (user creation, quota reset, plan changes)
  • Data export requests

Log Entry Format ​

Each log entry contains:

json
{
  "id": "log_01j...",
  "timestamp": "2026-06-06T09:15:32.441Z",
  "actor": {
    "type": "user",
    "id": "usr_01j...",
    "email": "jane@company.com",
    "ip": "203.0.113.42",
    "device": "Chrome 125 / macOS"
  },
  "action": "approval.decided",
  "resource": {
    "type": "approval",
    "id": "appr_01j...",
    "context": "Hiring Agent: Send offer to Alice Chen"
  },
  "outcome": "approved",
  "metadata": {
    "workflow_id": "wf_01j...",
    "run_id": "run_01j...",
    "time_to_decision_seconds": 87
  }
}

Accessing audit logs ​

Organisation admins and owners use Workspace → Oversight → Evidence:

  • Audit trail integrity: every governance decision, tool call and action is written to a keyed hash chain. Check again verifies the chain for the period.
  • Downloads → Audit trail: every event in the period, one per line (NDJSON), each marked verified, mismatch or not verifiable.
  • Downloads → Assurance dossier: charters, guardrail policy, releases, approvals, halts, stopped runs, scorecards and the audit trail, with a signed manifest of every file.

The same downloads are available to admins through the API, with a signed-in session: GET /api/audit/export (NDJSON) and GET /api/oversight/assurance-dossiers (ZIP). Both GET /api/audit and the export take agentType=<registry id> to read one agent's own trail, and each export is itself recorded on the chain and sent to your webhooks as audit.exported.

/admin → Audit Logs is the operator console of an installation, not the customer view.

Decision log ​

Some decisions are taken at a fixed decision point: releasing a workflow, sending a message outside the organisation, a tool call checked by the agent's tool gate, and classifying a support ticket (only while the operator has the ticket classifier switched on). Each of these decisions also writes one row to a decision log. The row records:

  • the decision point and the outcome: allowed, needs approval, blocked, decided, or escalated;
  • which layer decided. Rules means the compliance rules. Learned means a classifier working in live mode. Escalation means the agent's own model or a person;
  • the ids and codes of the rules that ran, the confidence, and how long the decision took;
  • a SHA-256 digest of the input, and a link to the audit chain entry for the decision.

The row never holds the message, the recipients, the ticket or any other content. Under No-Retention Mode the digest is not kept either. Rows are deleted after 180 days by default (DECISION_LOG_TTL_DAYS). The audit chain remains the lasting evidence.

The decision log is shown in the operator console of an installation, at /admin → Decision log (GET /api/admin/decisions). You can filter it by outcome, deciding layer, decision point and organisation. It is not a customer view.

Log Retention ​

PlanRetention period
Free / Personal30 days
Teams90 days
Enterprise1 year (configurable)

Enterprise accounts can configure longer retention (up to 7 years) or export to external SIEM systems (Splunk, Datadog, Elastic) via webhook.


Tamper Evidence ​

Audit log entries are append-only — existing entries cannot be modified or deleted, even by admins. Each entry includes a hash chain linking it to the previous entry, providing tamper-evident integrity.

The chain is keyed (HMAC-SHA256) with AUDIT_CHAIN_KEY, so write access to the database alone is not enough to rebuild a valid chain after editing it. Without AUDIT_CHAIN_KEY the key is derived from the session-signing secret; a production server without it logs a warning at start-up, and the operator console shows it. AUDIT_CHAIN_KEY_REQUIRED=true makes the server refuse to start without the key. Entries written before the key was set still verify.

Continuous verification ​

  • Every 6 hours (AUDITCHAIN_VERIFY_HOURS) every chain is re-read in order and every entry re-hashed. A gap, a broken link or a hash that does not match raises a critical security issue in the operator's Operations Office and a console notification.
  • Every 15 minutes (AUDIT_ANOMALY_MINUTES) admin activity is counted per account. 10 or more role changes, 10 or more deactivations or removals, or 5 or more new or rotated API keys by one account in the window raise a high security issue to confirm it was intended. The thresholds are AUDIT_ANOMALY_ROLE_CHANGES, AUDIT_ANOMALY_DEACTIVATIONS and AUDIT_ANOMALY_KEY_CREATIONS.
  • AUDIT_MONITOR_ENABLED=false stops both.

Quarterly access reviews (installation operators) ​

The operator console's Access reviews page (/admin/access-reviews, platform admins only) lists the platform admins, every organisation's owner and admins, members with no sign-in for 90 days, and every API key with its age, last use and scopes, including platform integration keys with no owner. Attest records the review for the quarter, with a note, in the admin audit log and on the hash chain; if access changed while the page was open, it asks for a reload first. From day 7 of each quarter (ACCESS_REVIEW_REMIND_AFTER_DAYS) the platform admins are reminded until someone attests; ACCESS_REVIEW_REMINDERS_ENABLED=false stops the reminder. The same page shows whether AUDIT_CHAIN_KEY is set and the last chain verification, and Verify now runs one.

An organisation's own admins review their organisation in Organization Settings; see Organisations & Access.


What's Next? ​

Served from this deployment. No page view leaves it.