The audit log
Every change in an organization is an audit event: who made it (the person and the credential they used), from
where (API, CLI, MCP, Nexus UI, a chat agent, a webhook or the system), what it did (a stable action such as
team.moved), to what, and the record before and after. The actor can also be a service account, an agent link or a
Nexus operator under an operator grant.
- Written with the change. An event is stored in the same transaction as the change it records: both happen or neither does. A refused change leaves no event.
- Append-only, kept indefinitely. Events are never edited or deleted. A person who deletes their account stays in the log by user id, with no email.
- No secrets. Tokens, keys and passwords are redacted before an event is stored; keys appear by id, prefix or last four characters only. No IP address is stored.
- Changes, not usage. Model calls, agent sessions and product runs are in the ledger and their reports, not in the audit log. A few uses are audited too, such as a connector call, an operator's request and an admin's read of a synced session.
Actions
The main actions, by area. Chats, artifacts, pages, skills, routines and agents have their own actions too.
| Area | Actions |
|---|---|
| Organization | org.created, org.settings_changed, org.recovery_key_changed, org.budget_changed, org.owner_transferred, org.relinked, domain.added, domain.removed |
| Budgets | budget.person_default_changed, budget.person_limit_changed, budget.team_changed, budget.product_changed, budget.limit_manager_granted, budget.limit_manager_revoked |
| Members | member.joined, member.role_changed, member.removed, member.recovered, member.default_team_changed, account.deleted, invitation.sent, invitation.revoked |
| Keys and sign-in | key.created, key.revoked, provider_key.added, provider_key.replaced, provider_key.disabled, provider_key.enabled, provider_key.removed, provider_key.rejected, vault.master_changed, auth.device_approved, auth.device_denied, auth.token_issued, auth.token_revoked |
| Service accounts, agents and operators | service_account.created, service_account.key_created, service_account.key_rotated, service_account.key_revoked, service_account.revoked, agent.linked, agent.unlinked, operator_grant.issued, operator_grant.revoked, operator.request |
| Policy | policy.changed, policy.control_set, policy.control_cleared, connector_grant.granted, connector_grant.revoked, connector_availability.changed, chat_write_setting.changed, review_event_setting.changed |
| Teams | team.created, team.updated, team.moved, team.deleted, team.member_added, team.member_role_changed, team.member_removed, team.pending_added, team.pending_cancelled, team.import_applied |
| GitHub and connectors | github.installation_linked, github.installation_unlinked, github.installation_removed, github.repositories_changed, connector_credential.added, connector_credential.replaced, connector_credential.revoked, connector.read, connector.write_attempt, connector.write |
| Billing | credit.purchased, credit.auto_topup_changed, subsidy.granted, subsidy.used, subsidy.expired, billing.payment_method_changed, billing.invoice_paid, billing.invoice_failed, billing.usage_charged, billing.usage_charge_failed |
Who sees what
| Who | Sees |
|---|---|
| Owners and admins | Every event of the organization |
| Team leads | The events of the teams they lead and every team under them, plus their own actions |
| Everyone else | The events where they are the actor |
Reading it
nexus audit # the last 7 days you may see
nexus audit --since 24h --action 'team.*' # one area
nexus audit --actor ada@example.com --team engineering --json
nexus audit --csv > audit.csv # every matching event (owners, admins and team leads)GET /v1/audit answers a page of events, newest first, with nextCursor for the
next one. Filter with since and until (ISO times, or 30m, 24h, 7d), action (one, a comma-separated list,
or a prefix such as team.*), actor, target and team. GET /v1/audit/export.csv
streams every matching event as CSV; cells that a spreadsheet would run as a formula are escaped.
Nexus UI shows the same under Audit.