Skip to main content
The Factory audit log records organization-level events so you can track who did what in your organization. Each event captures who acted, where the action originated, what was affected, and structured details about the change.
Enterprise Feature — The audit log is available to Enterprise organization owners only. Owners can view the audit log in the Factory web app under Team Settings, or via the public API.

Event Structure

Every audit event shares the following fields:

Actor


Event Sources

The source field identifies where the event originated.

Event Types

user_limit_change

A per-user token usage limit was set, changed, or cleared for the organization. Sources: web_settings_usage, public_api_v0, workos_event Target: Payload: Example:

membership_change

A member’s role, invitation status, or membership in the organization changed. Sources: web_settings_members, public_api_v0, workos_event Target: Payload (web app and public API sources): Intent values: Payload (workos_event source): Contains a filtered projection of the original identity provider event (workosEventType, role, status) rather than the structured payload above. Example:

api_key_lifecycle_change

A Factory API key was created or deleted. Sources: web_settings_api_keys, web_settings_service_accounts Target: Payload: Example:

service_account_change

A service account was created, modified, deleted, or had its git credentials or act-as grants changed. Sources: web_settings_service_accounts Target: Payload: Intent values: Example:

integration_change

An integration was connected, disconnected, configured, or had its availability toggled. Sources: web_settings_integrations Target: Payload: Intent values: Example:

organization_lifecycle_change

An organization was created or deactivated. Sources: web_settings_org Target: {} (the organization itself is the target). Payload: Example:

managed_settings_change

The organization’s managed settings were updated. Sources: web_settings_org Target: {} (the organization itself is the target). Payload: Example:

analytics_settings_change

The organization’s analytics settings were updated. Sources: web_settings_org Target: {} (the organization itself is the target). Payload: Example:

voucher_redeemed

A voucher or promo code was redeemed for the organization. Sources: web_settings_billing Target: {} (the organization itself is the target). Payload: Example: