Skip to content

Event reference

The audit event types Lunen emits, grouped as the audit log’s category filter groups them. Every event carries the same envelope — actor, resource, outcome, timestamp — so this reference only describes what triggers each action.

Updated 20 October 2026 · 8 min read

Outcomes

A finished event has one of three outcomes. Long-running actions are recorded when they start and finalized when they finish; the log shows an event only once it is finalized, so an outcome is always the real result, never the intent.

OutcomeShown asMeaning
successSucceededThe action completed.
deniedDeniedA tool call was refused — by policy, or by a person rejecting its approval. Only tool.execute is ever denied.
failureFailedA tool call was attempted and errored; the event carries the error message. Only tool.execute records failures.

An administrative action that errors partway through is never finalized, so it does not appear in the log.

Agent & tool activity

ActionEmitted when
tool.executeAn agent called a tool on an MCP server in your registry. Denied calls record outcome denied; calls that ran under a human approval carry the Approved badge. Lunen’s own built-in tools are not audited.
convo-agent.archiveA Convo Agent was archived.
convo-agent.shareA Convo Agent was shared with a member, creating their copy.

Sessions

ActionEmitted when
session.createAn agent session was created — a chat, a task planning session, a convo planning session, or an execution session for a run.
session.updateA session’s configuration changed — its title, model, or selected MCP servers.
session.archiveA session was archived.

Team & access control

ActionEmitted when
user.inviteAn invitation was sent from Settings → Users.
user.invite.resendA pending invitation was sent again.
user.invite.revokeA pending invitation was revoked.
user.removeA member was removed from the workspace in Settings → Users. Their role removals follow as user.role.revoke events.
user.role.assignA role was assigned to a member — by an administrator, or by Lunen when a member’s workspace access changed.
user.role.revokeA role was removed from a member — the same two ways, or because the member left the workspace.
role.createA role was created.
role.updateA role was renamed or its description edited.
role.deleteA role was deleted.
role.policy.attachA policy was attached to a role.
role.policy.removeA policy was detached from a role.
role.delegation.grantA member was granted the right to assume a role.
role.delegation.revokeA delegation grant was revoked.
policy.createA policy was created.
policy.updateA policy changed — renamed, or its document edited, including any tool moving between Allow and Approve.
policy.deleteA policy was deleted.

Secrets & credentials

ActionEmitted when
secret.upsertA model provider was configured on Settings → Access — an API key saved, the LiteLLM proxy saved, or Amazon Bedrock set up. The value itself is never recorded.
secret.deleteA model provider’s configuration on Settings → Access was deleted.
mcp.credential.upsertAn MCP credential was stored — organization- or user-scoped.
mcp.credential.deleteAn MCP credential was removed. Deleting a server your organization added removes all of its credentials as one event.
mcp.oauth-client.upsertAn OAuth client was registered or updated for a server.
mcp.oauth-client.deleteAn OAuth client was removed.

Schedules & triggers

ActionEmitted when
schedule.createA Task Agent was saved for the first time, with or without a schedule — including the copy a member receives when one is shared with them.
schedule.updateA saved Task Agent changed — its plan, schedule, title, role, services, or whether it is enabled.
schedule.archiveA Task Agent was archived.
schedule.shareA Task Agent was shared with a member, creating their pending copy.
schedule.rejectA member rejected a Task Agent shared with them.
schedule.trigger.createA run was created — the summary names the source: cron, manual, or webhook. A run skipped because another was still active is not recorded.
webhook_trigger.createA webhook trigger was added to a Task Agent.
webhook_trigger.enableA webhook trigger was enabled.
webhook_trigger.disableA webhook trigger was disabled.
webhook_trigger.rotate_secretA trigger’s secret was rotated; the previous secret stays valid for 24 hours.
webhook_trigger.archiveA webhook trigger was deleted.

MCP registry

ActionEmitted when
mcp.registry.org-state.updateA server was enabled or disabled for the organization, or its overrides changed.
mcp.registry.capabilities.syncA server’s tool list changed — found by an administrator’s Refresh or when a session connected. A refresh that finds nothing new records nothing.
mcp.registry.oauth-discovery.refreshOAuth discovery was re-run against a server.
mcp.registry.org-server.createYour organization added a server to the registry.
mcp.registry.org-server.updateA server your organization added was updated.
mcp.registry.org-server.deleteA server your organization added was deleted.

Identity

ActionEmitted when
identity.session.issueA short-lived identity was issued — for a member’s turn or a run acting on their behalf.
identity.session.revokeIdentity sessions were revoked — singly, per member, or organization-wide after an access change.

Not in a category

These events appear only under All activity; choosing any category hides them. Their rows are titled with the event’s summary.

ActionEmitted when
user.preferences.updateA member changed their preferences under Settings → General.
org.preferences.updateAn administrator changed Settings → Model Defaults.
litellm.virtual-key.upsertA member connected their LiteLLM virtual key on Settings → Providers.
litellm.virtual-key.deleteA member’s LiteLLM virtual key was removed — by the member, or for everyone at once when the organization’s LiteLLM proxy was deleted.
mcp.aws-identity-center.upsertAn AWS IAM Identity Center configuration was saved for a server.
mcp.aws-identity-center.deleteAn AWS IAM Identity Center configuration was removed.
mcp.registry.org-state.requested-scopes.updateAn administrator changed the OAuth scopes a server’s connections request.
schedule.run.cancelA member stopped a run.
schedule.approveA member accepted a Task Agent shared with them.