---
title: Audit Log
description: "Track all significant changes made within your tenant for security and compliance."
---

The Audit Log is a comprehensive record of all significant actions performed within your tenant. It's an essential tool for administrators to monitor activity, ensure security, and maintain compliance.

## Who can access the Audit Log?

Access to the Audit Log is restricted to users with the following roles:

-   **Admin**
-   **Superadmin**

This feature is only available on **Premium** and **Enterprise** plans.

## What is logged?

The system logs all actions that result in a change to your data. This includes, but is not limited to:

-   Creating, updating, or deleting prompts, vaults, teams, and categories.
-   Inviting, updating, or deleting users.
-   Changing user roles or team memberships.
-   Approving or rejecting suggestions.

Simple read operations (viewing prompts, pages, etc.) are **not** logged to keep the audit trail focused on meaningful changes.

## Filtering the Log

By default, the Audit Log displays all events from the **last seven days**. You can easily adjust this timeframe using the filter buttons:

-   **Today:** Shows all events that occurred today.
-   **Last 30 days:** Shows all events from the past 30 days.
-   **Custom:** Allows you to select a specific date range using a calendar.

## Understanding the Log Entries

Each entry in the audit log provides key information about an event:

-   **ID:** The unique internal ID for the log entry.
-   **IP Address:** The IP address from which the action was performed.
-   **Timestamp:** The exact date and time the action occurred.
-   **User:** The user who performed the action.
-   **Description:** A summary of the action and the target(s) it affected.

> **INFO**
> <h4 className="font-semibold text-foreground mb-2">GDPR and User Deletion</h4>
>     
>     <div>
>     When a user is deleted from the system, their name in the audit log will change to "Deleted User" to comply with GDPR's "right to be forgotten". However, their user ID remains associated with their past actions, allowing for continued traceability without retaining personal data.
>     </div>

## Quick Filters

The audit log is designed for quick navigation. Many items are interactive links that act as filters:

-   **User Link:** Clicking on a username will filter the log to show only the actions performed by that specific user.
-   **Target Link:** Clicking on a link in the "Description" column (e.g., a prompt title or vault name) will filter the log to show all events related to that specific item.