> ## Documentation Index
> Fetch the complete documentation index at: https://koreai.mintlify.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Audit Logs

Track and audit all user actions and system events in AI for Process, including logins, role changes, model updates, and workflow activities.

Use audit logs to identify patterns in user activity, detect anomalies, spot unauthorized usage, and ensure compliance with internal policies and regulations.

Navigation: Go to **Settings**> **Monitoring** > **Audit Logs**.

***

## Audit Log Dashboard

Each audit log entry captures the following information:

| Column            | Description                                               |
| ----------------- | --------------------------------------------------------- |
| **Event Name**    | The specific event or action that occurred.               |
| **Category**      | The module or entity affected by the event.               |
| **User Name**     | The user who performed the action or triggered the event. |
| **Date and Time** | When the event occurred.                                  |
| **Description**   | Detailed information about what was done.                 |

**User ID**, **Role ID**, **Model ID**, **Workflow ID**, **Guardrail ID**, **Integration ID**, and **Experiment ID** are the unique identifiers for the respective module entities in the system.

<Note>
  **IP Address** is fetched from the user's current network.
</Note>

<img src="https://mintcdn.com/koreai/PuupHPoTlgovf9wN/ai-for-process/settings/images/audit-logs-dashboard.png?fit=max&auto=format&n=PuupHPoTlgovf9wN&q=85&s=a5406b9629f41dcef40e1abf05dffbc3" alt="Audit logs dashboard" width="1134" height="392" data-path="ai-for-process/settings/images/audit-logs-dashboard.png" />

## Filter Audit Logs

Select the **Filter** icon to narrow down logs by category, event, or user using **Is Equal To** or **Is Not Equal To** operators. Combine multiple filters using **AND** (all conditions must be met) or **OR** (any one condition must be met) — operators cannot be mixed in the same filter set.

## Export Audit Logs

Select the **Export** icon on the **Audit Logs** page to download a CSV file containing all audit log entries, including date and time, event name, category, description, user or app name, and IP address.

***

## Audit log event reference

The tables below list all tracked events by category.

### Account-level events

The **User ID** and **IP Address** are shown for audit log entries across all modules, in addition to module and category-specific metadata listed below.

<AccordionGroup>
  <Accordion title="Login/Logout">
    **Metadata**: Email ID is shown for all events in this category.

    | Event  | Description                     | Additional Metadata |
    | ------ | ------------------------------- | ------------------- |
    | Login  | Tracks account login activity.  | Login method        |
    | Logout | Tracks account logout activity. | —                   |
  </Accordion>

  <Accordion title="Roles">
    **Metadata**: Role ID is shown for all events except *Role Changed*.

    | Event        | Description                                                   | Additional Metadata |
    | ------------ | ------------------------------------------------------------- | ------------------- |
    | Role edited  | Tracks edits to a custom role.                                | —                   |
    | Role created | Tracks the creation of custom roles.                          | Role Type           |
    | Role deleted | Tracks the deletion of custom roles.                          | Role Type           |
    | Role changed | Tracks role changes for member users, including bulk changes. | —                   |
  </Accordion>

  <Accordion title="App API Key">
    **Metadata**: IP Address and User ID are shown for all events.

    | Event               | Description                            |
    | ------------------- | -------------------------------------- |
    | App API Key created | Tracks the creation of an App API key. |
    | App API key deleted | Tracks the deletion of an App API key. |
  </Accordion>

  <Accordion title="API App">
    **Metadata**: App ID, IP Address, and User ID are shown for all events.

    | Event           | Description                              |
    | --------------- | ---------------------------------------- |
    | API App created | Tracks the creation of an API app.       |
    | API App deleted | Tracks the deletion of an API app.       |
    | API App updated | Tracks updates or changes to an API app. |
  </Accordion>

  <Accordion title="Integrations">
    **Metadata**: IP Address, Integration Name, Integration ID, Integration Type, and User ID are shown for all events.

    | Event                | Description                                             |
    | -------------------- | ------------------------------------------------------- |
    | Integration added    | Tracks integrations added to the account.               |
    | Integration deleted  | Tracks integration deletions.                           |
    | Integration disabled | Tracks the disabling of an integration.                 |
    | Integration edited   | Tracks modifications to an integration's configuration. |
  </Accordion>

  <Accordion title="Models">
    **Metadata**:

    * IP Address, User ID, Model ID, and Model Name are shown for all Model events.
    * Model Type is also shown for: Model Added, Model Deleted, API Key Created, API Key Deleted, Model Fine-tuning, Model Deployed, and Model Undeployed.
    * Hardware Type is shown for: Model Fine-tuning, Model Deployed, and Model Undeployed.

    | Event             | Description                                     | Additional Metadata                                                                                                                                      |
    | ----------------- | ----------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
    | Model added       | Tracks the addition of models to the account.   | Deployment Name (open-source/fine-tuned models), Connection Name (commercial models)                                                                     |
    | Model deleted     | Tracks the deletion of models from the account. | Deployment Name (open-source/fine-tuned models), Connection Name (commercial models)                                                                     |
    | API Key created   | Tracks API key creation for a model.            | —                                                                                                                                                        |
    | API Key deleted   | Tracks API key deletion for a model.            | —                                                                                                                                                        |
    | Model fine-tuning | Tracks the fine-tuning process for models.      | Training method, No. of epochs, Batch size, Learning rate, Training dataset, Test dataset, Weights and Biases                                            |
    | Model deployed    | Tracks open-source model deployments.           | Temperature, Max length, Top p, Top k, Stop sequence, Inference batch size, Min replicas, Max replicas, Scale up delay, Scale down delay                 |
    | Model undeployed  | Tracks open-source model undeployments.         | Hours of usage, Temperature, Max length, Top p, Top k, Stop sequence, Inference batch size, Min replicas, Max replicas, Scale up delay, Scale down delay |
  </Accordion>

  <Accordion title="Workflows">
    **Metadata**: Workflow ID and Workflow Name are shown for all events.

    | Event            | Description                        | Additional Metadata              |
    | ---------------- | ---------------------------------- | -------------------------------- |
    | Workflow created | Tracks the creation of a workflow. | —                                |
    | Workflow deleted | Tracks the deletion of a workflow. | Model ID, Model Name, Model Type |
  </Accordion>

  <Accordion title="Workflows Flow Management: Integration Node">
    **Metadata**: User ID, IP Address, Agent ID, Node name, Node ID, and Node Type are shown for all events.

    | Event               | Description                                                                         |
    | ------------------- | ----------------------------------------------------------------------------------- |
    | Connection added    | Tracks the creation of a connection for an integration node.                        |
    | Connection modified | Tracks the change of the selected connection for an integration node.               |
    | Action added        | Tracks the addition of an action for the selected connection and its configuration. |
    | Action changed      | Tracks the change of the selected action.                                           |
    | Action edited       | Tracks the modification of action parameters for the defined action.                |
  </Accordion>

  <Accordion title="Users Management">
    | Event        | Description                                             | Additional Metadata                |
    | ------------ | ------------------------------------------------------- | ---------------------------------- |
    | User invited | Tracks the invitation of new users to the account.      | Added User IDs, Role Name, Role ID |
    | User deleted | Tracks the deletion of existing users from the account. | Removed User IDs                   |
  </Accordion>

  <Accordion title="Prompts">
    **Metadata**:

    * Prompt ID is shown for all Prompts events.
    * Prompt Name is shown for: Prompt Created, Versions Committed, Versions Restored, Prompt Shared, Endpoint Copied, and API Key Created.

    | Event               | Description                                     | Additional Metadata                   |
    | ------------------- | ----------------------------------------------- | ------------------------------------- |
    | Prompt created      | Tracks the creation of a prompt.                | —                                     |
    | Prompt deleted      | Tracks the deletion of a prompt.                | —                                     |
    | Versions committed  | Tracks prompt versions committed.               | Version Name                          |
    | Version restored    | Tracks the prompt version restored.             | Version Name                          |
    | Prompt shared       | Tracks prompts shared with other users.         | —                                     |
    | Endpoint copied     | Tracks the prompt endpoint copy.                | —                                     |
    | Endpoint consumed   | Tracks the prompt endpoint consumed externally. | —                                     |
    | API Key created     | Tracks API key creation for a prompt endpoint.  | —                                     |
    | Generated test data | Tracks the generation of test data.             | Model name, Model ID, Tokens consumed |
    | Generated prompt    | Tracks prompt generation by the account user.   | Model name, Model ID, Tokens consumed |
  </Accordion>

  <Accordion title="Dataset">
    | Event            | Description                            | Additional Metadata   |
    | ---------------- | -------------------------------------- | --------------------- |
    | Dataset uploaded | Tracks dataset uploads in the account. | File type (extension) |
  </Accordion>

  <Accordion title="Manage Custom Scripts">
    **Metadata**: User ID, User Name, IP Address, and Custom Script Name are shown for all events.

    | Event                        | Description                              |
    | ---------------------------- | ---------------------------------------- |
    | Custom script saved as draft | Tracks a custom script saved as a draft. |
    | Custom script deployed       | Tracks custom script deployment.         |
    | Custom script undeployed     | Tracks custom script undeployment.       |
    | Custom script re-deployed    | Tracks custom script redeployment.       |
    | Custom script deleted        | Tracks custom script deletion.           |
    | Custom script exported       | Tracks custom script export.             |
  </Accordion>

  <Accordion title="Guardrails">
    **Metadata**: Guardrail Name, Guardrail ID, and Hardware Type are shown for all events.

    | Event                 | Description                     | Additional Metadata |
    | --------------------- | ------------------------------- | ------------------- |
    | Guardrails deployed   | Tracks guardrails deployment.   | —                   |
    | Guardrails undeployed | Tracks guardrails undeployment. | Time of usage       |
  </Accordion>

  <Accordion title="Script">
    **Metadata**: User ID, User Name, IP Address, Agent ID, Node name, Node ID, and Node Type are shown for all events.

    | Event           | Description                                               |
    | --------------- | --------------------------------------------------------- |
    | Write Code      | Tracks the user's selection to write a custom script.     |
    | Custom Function | Tracks the user's selection to execute a custom function. |
  </Accordion>

  <Accordion title="OCR">
    **Metadata**: User ID, User Name (where applicable), IP Address, Connection Name, Connection ID, Deployment Name, and Hardware Type are shown for all events.

    | Event                                  | Description                                               |
    | -------------------------------------- | --------------------------------------------------------- |
    | OCR deployed                           | Tracks the deployment of OCR models.                      |
    | OCR undeployed                         | Tracks the undeployment of OCR models.                    |
    | OCR saved as draft                     | Tracks when an OCR deployment is saved as a draft.        |
    | Azure Doc Intelligence account added   | Tracks the addition of an Azure Doc Intelligence account. |
    | Azure Doc Intelligence account deleted | Tracks the deletion of an Azure Doc Intelligence account. |
  </Accordion>
</AccordionGroup>

### Workflow-level events

**User ID**, **IP Address**, and **Workflow ID** are included in all workflow-level entries, in addition to any category-specific metadata listed.

<AccordionGroup>
  <Accordion title="User Management">
    | Event         | Description                                                       |
    | ------------- | ----------------------------------------------------------------- |
    | Role changed  | Tracks the change of a workflow role for an account user.         |
    | Invited users | Tracks the invitation of one or more users at the workflow level. |
    | Removed users | Tracks the removal of one or more users at the workflow level.    |
  </Accordion>

  <Accordion title="Workflow Management">
    **Metadata for deployment events**: Workflow version, API mode, sync/async, and URL are shown for Workflow Deployed and Workflow Undeployed events.

    | Event               | Description                    | Additional Metadata |
    | ------------------- | ------------------------------ | ------------------- |
    | Workflow deployed   | Tracks workflow deployments.   | —                   |
    | Workflow undeployed | Tracks workflow undeployments. | —                   |

    **Metadata for version and configuration events**: Version ID is shown for the events below.

    | Event                        | Description                                         | Additional Metadata                                         |
    | ---------------------------- | --------------------------------------------------- | ----------------------------------------------------------- |
    | Version created              | Tracks workflow version creation.                   | —                                                           |
    | Version deleted              | Tracks workflow version deletion.                   | —                                                           |
    | API Key created              | Tracks workflow API key creation.                   | —                                                           |
    | API Key deleted              | Tracks workflow API key deletion.                   | —                                                           |
    | Workflow description updated | Tracks workflow description updates.                | —                                                           |
    | Workflow name updated        | Tracks workflow name updates.                       | —                                                           |
    | Workflow exported            | Tracks workflow export.                             | —                                                           |
    | API sync timeout updated     | Tracks synchronous timeout updates.                 | —                                                           |
    | API async enabled            | Tracks enabling of asynchronous mode.               | URL, Access token, Timeout (yes/no), Timeout value (if yes) |
    | API async updated            | Tracks updates to asynchronous mode configuration.  | URL, Access token, Timeout (yes/no), Timeout value (if yes) |
    | API async disabled           | Tracks disabling of asynchronous mode.              | —                                                           |
    | Environment variable added   | Tracks the addition of an environment variable.     | —                                                           |
    | Environment variable deleted | Tracks the deletion of an environment variable.     | —                                                           |
    | Environment variable edited  | Tracks the modification of an environment variable. | —                                                           |
  </Accordion>

  <Accordion title="Guardrails">
    | Event                  | Description                                   |
    | ---------------------- | --------------------------------------------- |
    | Input scanner added    | Tracks the addition of an input scanner.      |
    | Input scanner edited   | Tracks the modification of an input scanner.  |
    | Input scanner removed  | Tracks the deletion of an input scanner.      |
    | Output scanner added   | Tracks the addition of an output scanner.     |
    | Output scanner edited  | Tracks the modification of an output scanner. |
    | Output scanner removed | Tracks the deletion of an output scanner.     |
  </Accordion>

  <Accordion title="OCR">
    **Metadata**: User ID, IP Address, Agent ID, Node name, Node ID, and Node Type are shown for all events.

    | Event               | Description                                     |
    | ------------------- | ----------------------------------------------- |
    | Node name edited    | Tracks when a node's name is edited.            |
    | Node deleted        | Tracks when a node is deleted.                  |
    | Description added   | Tracks when a description is added to a node.   |
    | Description edited  | Tracks when a node's description is modified.   |
    | Engine added        | Tracks when an engine is added to a node.       |
    | Engine edited       | Tracks when a node's engine is modified.        |
    | Connection added    | Tracks when a connection is added to a node.    |
    | Connection modified | Tracks when a node's connection is modified.    |
    | Base URL edited     | Tracks when the Base URL of a node is modified. |
  </Accordion>
</AccordionGroup>
