- Available on: Enterprise plans
- Access: Workspace admins and owners
- Location: Audit logs (Settings → Security → Audit logs)
Audit log events
Workspace audit logs include events across categories such as:
This table shows common examples. The All actions filter on the audit logs page lists the full set of event types recorded for your workspace.
Audit log table
By default, the page shows logs for All actions, All actors, and the Last 90 days. The total number of matching logs appears in the top right of the table. The table is organized into four columns:
Click any row to expand it and see structured JSON details describing the event. This includes the metadata associated with that action, such as message IDs for prompt activity or specific fields that were updated in a workspace setting.
Events triggered through the Lovable API are also attributed to the access token that made the request. The expanded JSON details include an
api_key_id field alongside the acting user, so you can trace which token drove a given change.
Filtering audit logs
You can combine the filters to focus on specific activity:- All actions lets you select one or more action types, such as
Member added,Member removed,Workspace updated,Project created, orPrompt sent. The dropdown is searchable. - All actors lets you select one or more workspace members using the searchable picker.
- Resources lets you search for projects and people and show only events that affected them.
- Time range includes presets for Last 7 days, Last 30 days, Last 90 days, This month, and Last month.
How to use audit logs
A typical workflow:- Set a relevant time range.
- Filter by actor to review activity from a specific member.
- Filter by action type to narrow results to a specific kind of change.
- Expand entries to inspect the full JSON details.
- Open affected projects or jump to related messages to review context.
- Use the actor popover to copy details such as email, user ID, IP address, or user agent if needed.
Exporting audit logs
Click Export in the top right of the page, then click Start new export. Lovable generates a JSONL file (one JSON event per line) of the audit logs matching your active action, actor, and time range filters. Finished exports stay available for download for 7 days, and each export is itself recorded in the audit log.Export is not available while a resource filter is active. Clear the Resources filter first.
Audit log data retention
Logs are retained for 13 weeks, or approximately 90 days. Events older than that are automatically removed.Logs before February 26, 2026 may be incomplete.
FAQ
Who can access audit logs?
Who can access audit logs?
Audit logs are available on Enterprise plans and are visible to workspace owners and admins.
How long are audit logs retained?
How long are audit logs retained?
Audit logs are retained for 13 weeks, or approximately 90 days. Events older than that are automatically removed.
Can I export audit logs?
Can I export audit logs?
Yes. Click Export in the top right of the audit logs page to download audit logs as a JSONL file. The export respects your active filters, and finished exports stay available for download for 7 days.If you need to integrate audit logs with a SIEM or external monitoring system, contact your account team to discuss enterprise integration options.
Why don’t I see audit logs?
Why don’t I see audit logs?
If audit logs are not available or do not appear as expected:
- Confirm your workspace is on an Enterprise plan.
- Confirm your role includes permission to view audit logs. You must be a workspace admin or owner.
- Clear filters and try a broader time range.