Skip to content

Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.

docs: add enterprise feature docs with Enterprise indicators (#1700)

Aman Agarwal8d0a88e80307
diff --git a/README.md b/README.md
index 750fd286..06e68ba0 100644
--- a/README.md
+++ b/README.md
@@ -557,7 +557,7 @@ Yes. The `openlit` CLI ingests each coding agent's hook events and maps them to
Yes. Run LLM-as-a-judge and programmatic evals online on production traces, or offline through the SDK as CI/CD gates.
**Is OpenLIT free?**
-Yes. Self-hosted OpenLIT is free under Apache 2.0, with no license key and no per-trace fee.
+Yes. Self-hosted OpenLIT is free under Apache 2.0, with no license key and no per-trace fee. Organisation-wide governance features such as custom roles, audit logs, and alerts are part of [OpenLIT Enterprise](https://docs.openlit.io/latest/openlit/enterprise).
**Does OpenLIT add latency?**
No proxy is required. SDKs instrument in-process and export telemetry asynchronously over OTLP.
diff --git a/docs/docs.json b/docs/docs.json
index 2ec3d2a5..7808757f 100644
--- a/docs/docs.json
+++ b/docs/docs.json
@@ -76,7 +76,19 @@
"latest/openlit/connectors/overview",
"latest/openlit/connectors/datasource",
"latest/openlit/connectors/memory",
- "latest/openlit/connectors/scanner"
+ "latest/openlit/connectors/scanner",
+ "latest/openlit/connectors/notification"
+ ]
+ },
+ {
+ "group": "Enterprise",
+ "icon": "crown",
+ "pages": [
+ "latest/openlit/enterprise",
+ "latest/openlit/rbac",
+ "latest/openlit/audit-logs",
+ "latest/openlit/alerts",
+ "latest/openlit/gpus"
]
}
]
diff --git a/docs/latest/openlit/alerts.mdx b/docs/latest/openlit/alerts.mdx
new file mode 100644
index 00000000..97ac64e8
--- /dev/null
+++ b/docs/latest/openlit/alerts.mdx
@@ -0,0 +1,139 @@
+---
+title: 'Alerts'
+description: 'Get notified in Slack, email, PagerDuty, and more when important changes happen in your organisation'
+icon: 'bell'
+tag: 'Enterprise'
+---
+
+import EnterpriseFeature from '/snippets/enterprise-feature.mdx';
+
+<EnterpriseFeature />
+
+Alerts notify your team when something important changes in OpenLIT, such as a member's access changing, an API key being created, a Vault secret being deleted, or a scanner finishing with findings. Each alert watches one or more **triggers**, filters them with optional **conditions**, and delivers to one or more **destinations** like Slack, PagerDuty, or a webhook.
+
+Open **Alerts** from the sidebar under **Monitor** (`/alerts`). The page has three tabs: **Alerts**, **Events**, and **Destinations**.
+
+<Note>
+Alerts fire on changes made in OpenLIT, when they happen. They don't evaluate telemetry or metric thresholds such as latency or cost.
+</Note>
+
+## Availability
+
+Alerts need an [OpenLIT Enterprise](/latest/openlit/enterprise) license that includes the **Alerts** feature. Sending to destinations such as Slack or PagerDuty uses [notification connectors](/latest/openlit/connectors/notification), which also need the **Premium connectors** feature.
+
+Without the Alerts license, the page is locked and the alerts API returns `403` with `upgrade_required`.
+
+## Permissions
+
+| Permission | Allows | Default roles |
+| --- | --- | --- |
+| `alerts:read` | View alerts, events, and destinations | Owner, Admin, Member |
+| `alerts:create` | Create alerts | Owner, Admin |
+| `alerts:update` | Edit alerts | Owner, Admin |
+| `alerts:delete` | Delete alerts | Owner, Admin |
+| `alerts:test` | Send test alerts | Owner, Admin |
+| `alerts:manage_destinations` | Add, edit, and delete destinations | Owner, Admin |
+
+With [RBAC](/latest/openlit/rbac), you can grant these to custom role groups.
+
+## Create an alert
+
+<Steps>
+ <Step title="Add a destination">
+ Open **Destinations** and select **Add destination**, or select **Destination** while creating an alert. Choose a provider and fill in its settings. See [Notification connectors](/latest/openlit/connectors/notification) for the fields each provider needs. Destinations are shared by every alert in the organisation.
+ </Step>
+ <Step title="Describe the alert">
+ On the **Alerts** tab, select **Create new Alert**. Under **Details**, enter a **Name**, an optional **Description**, a **Status** (**Active** or **Paused**), and a **Severity** (low, medium, high, or critical).
+ </Step>
+ <Step title="Choose triggers">
+ Under **Trigger**, pick one or more triggers. The alert fires when any selected trigger matches its own conditions. Leave **Conditions** empty to fire on every event of that trigger.
+ </Step>
+ <Step title="Pick destinations">
+ Under **Destinations**, select where to send the alert. Use the **Attachment** tab for each destination to customise the message.
+ </Step>
+ <Step title="Set delivery options and save">
+ Under **Delivery**, set **Cooldown seconds** (default 300) and an optional **Dedupe key**, then select **Save**. Use the test button on the alert to send a test notification.
+ </Step>
+</Steps>
+
+### Conditions
+
+Conditions narrow when a trigger fires. Each trigger has its own condition groups:
+
+- Every group with conditions must match, and within a group you choose whether conditions are combined with **AND** or **OR**.
+- Text fields support equals, not equals, contains, not contains, starts with, ends with, regex, in, and not in. For **in** and **not in**, separate values with commas.
+- Number fields support `=`, `≠`, `>`, `≥`, `<`, `≤`, and **between** (enter `min,max`).
+- Text fields suggest values that OpenLIT has already seen for that trigger, and you can type your own.
+
+For example, to alert only when someone grants full access to an API key, use the **API keys** trigger with the conditions `event` equals `api_key_access_updated` and `access` equals `full`.
+
+### Customise each destination
+
+The **Attachment** tab for each selected destination lets you:
+
+- Turn **Active for this alert** off to keep the destination attached without sending to it.
+- Override the Slack **Channel** for this alert.
+- Set a **Title template** and **Message template**.
+- Choose a **Card style** (Default, Compact, Detailed, or Incident) and an **Accent** colour.
+- Include the matched event fields in the notification.
+
+Templates can use `{{alert.id}}`, `{{alert.name}}`, `{{alert.severity}}`, `{{event.id}}`, `{{event.triggerType}}`, `{{payload.message}}`, and `{{payload.<field>}}` for any trigger field.
+
+## Triggers
+
+| Trigger | Fires on | Fields you can filter on |
+| --- | --- | --- |
+| **Access updates** | A member's project access, role, or direct permissions change | event, target email, target user ID, actor email, old role, new role, project count, project IDs, permission count, permissions |
+| **Invites** | A member is invited or added | event, email, invitee email, actor email, role, project count |
+| **Prompt versions** | A prompt version is created or updated | event, prompt ID, version, status |
+| **Fleet Hub configuration** | A Fleet Hub agent configuration changes | event, agent ID, config key |
+| **Vault keys** | A Vault secret is created, updated, or deleted | event, secret ID, key |
+| **Contexts** | A context is created, updated, or deleted | event, context ID, name, status |
+| **Rule engine** | A rule is created, updated, or deleted, its conditions change, or an entity is linked or unlinked | event, rule ID, rule name, status, entity type |
+| **Memories** | A memory is created, updated, or deleted | event, memory ID, source type, application |
+| **API keys** | An API key is created or deleted, or its access changes | event, name, environment, access (`full` or `restricted`), features |
+| **Connectors** | A connector is created, updated, or deleted | event, connector ID, name, type, environment |
+| **Scanners** | A scanner is created, updated, or deleted, or a scan finishes | event, scanner ID, name, type, environment, target, status, finding count |
+
+## How delivery works
+
+When a matching change happens, OpenLIT records an **alert event** and sends it to every active destination attached to the alert.
+
+- **Cooldown:** an alert doesn't fire again until **Cooldown seconds** have passed since its last event. Set `0` to turn cooldown off.
+- **Dedupe key:** when set, repeated events with the same key are dropped within the cooldown window, or within 300 seconds if cooldown is off.
+- **Retries:** a failed delivery is retried once after 2 seconds.
+- **Paused alerts** don't fire.
+
+Each event ends in one of these states: **success** (all deliveries succeeded), **partial_failure** (some failed), or **failure** (all failed, or the alert has no destinations).
+
+## Review alert events
+
+The **Events** tab shows a timeline of fired events and a list you can filter by status, trigger, alert, provider, and delivery status. Select an event to see its payload, the conditions that matched, and the result of each delivery. Alert events are kept for 90 days.
+
+The **Alerts** tab summarises your alerts: how many are active, ready, need a destination, failed on their last run, or are paused.
+
+## Alerts API
+
+Signed-in users can manage alerts through the API. Every endpoint needs the Alerts license and the matching permission.
+
+| Endpoint | Description |
+| --- | --- |
+| `GET /api/alerts` | List alerts for the organisation and current project |
+| `POST /api/alerts` | Create an alert |
+| `GET`, `PATCH`, `DELETE /api/alerts/{id}` | Read (with its last 25 events), update, or delete an alert |
+| `POST /api/alerts/{id}/test` | Send a test alert |
+| `GET /api/alerts/triggers` | List triggers and their fields |
+| `GET /api/alerts/events` | List alert events with filters and pagination |
+| `GET /api/alert-destinations` | List destinations |
+| `GET /api/alerts/spec` | OpenAPI specification for the alerts API |
+
+---
+
+<CardGroup cols={2}>
+ <Card title="Notification connectors" href="/latest/openlit/connectors/notification" icon="paper-plane">
+ Configure Slack, email, webhook, Discord, PagerDuty, Opsgenie, and Datadog destinations
+ </Card>
+ <Card title="Audit Logs" href="/latest/openlit/audit-logs" icon="clock-rotate-left">
+ Review every privileged change in your organisation
+ </Card>
+</CardGroup>
diff --git a/docs/latest/openlit/audit-logs.mdx b/docs/latest/openlit/audit-logs.mdx
new file mode 100644
index 00000000..3f3f5e3a
--- /dev/null
+++ b/docs/latest/openlit/audit-logs.mdx
@@ -0,0 +1,122 @@
+---
+title: 'Audit Logs'
+description: 'Review who changed what across your organisation, with filters by action, target, project, database config, and actor'
+icon: 'clock-rotate-left'
+tag: 'Enterprise'
+---
+
+import EnterpriseFeature from '/snippets/enterprise-feature.mdx';
+
+<EnterpriseFeature />
+
+Audit Logs record privileged changes made in OpenLIT, such as member and role changes, license updates, API key changes, connector and configuration updates, so you can see who did what, to which resource, and when.
+
+Open **Audit Logs** from the sidebar under **Monitor** (`/audit-logs`). Audit logs are organisation-wide, so you don't need to select a project first.
+
+## Availability
+
+Audit Logs need an [OpenLIT Enterprise](/latest/openlit/enterprise) license that includes the **Audit log** feature for your organisation.
+
+- Events are recorded only while the organisation is licensed. Changes made while it isn't licensed are never logged, even if a license is applied later.
+- Without the license, the page is locked and the API returns `403` with `upgrade_required`.
+
+## Permissions
+
+Viewing audit logs needs the `audit_logs:read` permission. **Owner** and **Admin** have it by default; **Member** doesn't. With [RBAC](/latest/openlit/rbac) you can grant it to a custom role group. Audit logs are read-only: nobody can edit or delete entries.
+
+## Browse audit logs
+
+The page shows:
+
+- **Recent volume**: a bar chart of events per hour for the entries on the current page.
+- **The event list**: one card per event with the target type, time, and action, plus the target, actor, project, database config, and a short summary of the details.
+
+Use the toolbar to choose a time range (**24H**, **7D**, **1M**, **3M**, or **CUSTOM**), change the page size (10, 25, or 50), and **Refresh**.
+
+### Filter events
+
+Select **Filters** to narrow the list by:
+
+| Filter | Matches |
+| --- | --- |
+| Action | The event action, such as `api_key.created` |
+| Target type | The kind of resource changed, such as `api_key` or `license` |
+| Target ID | The ID of the changed resource |
+| Project | Events in one project |
+| DB config | Events for one database config; choosing a project limits this list to that project |
+| Actor | The user who made the change |
+
+Each list shows values found in the selected time range. Select **Apply filters** to update the list, or **Clear filters** to reset.
+
+### Event details
+
+Select an event to open its details. The panel shows the target, the actor, project, and database config by name where possible, the time, and a **Metadata** section with everything captured for the event: the request path and parameters, the request and response bodies, the status, the client user agent, and IP address.
+
+<Note>
+Sensitive values are redacted before they're stored. Any field whose name looks like a password, secret, token, API key, license key, authorization header, cookie, session, or secret value is saved as `[REDACTED]`.
+</Note>
+
+## What gets recorded
+
+OpenLIT records an event when a privileged request **succeeds**. Failed or denied requests aren't recorded.
+
+| Area | Actions |
+| --- | --- |
+| Organisation | `organisation.selected`, `organisation.updated`, `organisation.deleted` |
+| Members and invitations | `member.invited`, `member.invitation_cancelled`, `member.invitation_declined`, `member.invitation_accepted`, `member.role_changed`, `member.permissions_updated`, `member.project_access_updated`, `member.ownership_transferred`, `member.removed` |
+| Roles | `role.created`, `role.updated`, `role.deleted` |
+| Licenses and entitlements | `license.applied`, `license.revoked`, `entitlement.granted`, `entitlement.revoked` |
+| Projects | `project.created`, `project.updated`, `project.deleted`, `project.selected`, `project.environment_created` |
+| Database configs | `db_config.created`, `db_config.updated`, `db_config.deleted`, `db_config.selected`, `db_config.shared` |
+| API keys | `api_key.created`, `api_key.deleted`, `api_key.access_updated` |
+| Alerts | `alerts.alert_created`, `alerts.alert_updated`, `alerts.alert_deleted`, `alerts.alert_tested`, `alerts.destination_created`, `alerts.destination_updated`, `alerts.destination_deleted`, `alerts.destination_tested` |
+| Connectors and telemetry sources | `connectors.connector_created`, `connectors.connector_updated`, `connectors.connector_deleted`, `connectors.connector_tested`, `connectors.connector_bound`, `connectors.connector_unbound` |
+| Controller | `controller.config_updated`, `controller.service_instrumented`, `controller.service_uninstrumented`, `controller.service_started`, `controller.service_stopped`, `controller.service_restarted`, `controller.agent_instrumented`, `controller.agent_uninstrumented` |
+| Fleet Hub | `fleet_hub.config_updated`, `fleet_hub.tls_tested` |
+| Dashboards | `dashboard.board_created`, `dashboard.board_updated`, `dashboard.board_deleted`, `dashboard.layout_updated`, `dashboard.layout_imported`, `dashboard.folder_created`, `dashboard.folder_updated`, `dashboard.folder_deleted`, `dashboard.widget_created`, `dashboard.widget_updated`, `dashboard.widget_deleted` |
+| Prompts | `prompt.created`, `prompt.deleted`, `prompt.version_created` |
+| Vault | `vault.secret_created`, `vault.secret_updated`, `vault.secret_deleted` |
+| Context | `context.created`, `context.updated`, `context.deleted` |
+| Evaluations | `evaluation.config_updated`, `evaluation.auto_config_updated`, `evaluation.offline_created`, `evaluation.feedback_created`, `evaluation.type_created`, `evaluation.type_updated`, `evaluation.type_deleted` |
+| Rule engine | `rule_engine.conditions_updated` |
+| OpenGround and models | `openground.created`, `openground.deleted`, `openground.provider_created`, `openground.provider_updated`, `openground.provider_deleted`, `openground.config_created`, `openground.config_updated`, `openground.config_deleted`, `manage_models.model_created`, `manage_models.model_deleted`, `manage_models.model_imported`, `manage_models.model_cleaned` |
+| Pricing | `pricing.config_updated`, `pricing.auto_config_updated`, `pricing.exported`, `pricing.usage_refreshed` |
+| Memory | `memory.memory_created`, `memory.memory_updated`, `memory.memory_deleted`, `memory.memory_feedback`, `memory.memory_copied`, `memory.memory_extracted`, `memory.memory_imported`, `memory.config_updated` |
+| GPUs | `gpu.price_created`, `gpu.price_updated`, `gpu.price_deleted`, `gpu.recommendation_dismissed`, `gpu.recommendation_reopened` |
+| Governance | `governance.report_viewed`, `governance.passport_exported` |
+
+Each event stores the organisation, the project and database config when known, the actor, the action, the target type and ID, the metadata, and the time.
+
+## Retention
+
+Audit logs are kept until the organisation is deleted; deleting a project or database config doesn't remove its events. Each query can cover up to 366 days.
+
+If the license lapses, recording stops and the page locks, but existing events are kept and become visible again once the license is reapplied.
+
+## Audit logs API
+
+Signed-in users with `audit_logs:read` can query audit logs:
+
+```http
+GET /api/organisation/{organisationId}/audit-logs
+```
+
+| Query parameter | Description |
+| --- | --- |
+| `page` | Page number. Defaults to `1`. |
+| `take` | Page size. Defaults to `50`, maximum `100`. |
+| `from`, `to` | ISO 8601 time range. Defaults to the last 30 days; the range can't exceed 366 days. |
+| `action`, `targetType`, `targetId`, `projectId`, `databaseConfigId`, `actorUserId` | Exact-match filters. |
+
+Results are newest first and include pagination totals. This endpoint needs a signed-in session; API keys can't read audit logs.
+
+---
+
+<CardGroup cols={2}>
+ <Card title="Role-based access control" href="/latest/openlit/rbac" icon="shield-check">
+ Control who can view audit logs and manage your organisation
+ </Card>
+ <Card title="Alerts" href="/latest/openlit/alerts" icon="bell">
+ Get notified when important changes happen
+ </Card>
+</CardGroup>
diff --git a/docs/latest/openlit/connectors/datasource.mdx b/docs/latest/openlit/connectors/datasource.mdx
index 269cc5e1..1bd49948 100644
--- a/docs/latest/openlit/connectors/datasource.mdx
+++ b/docs/latest/openlit/connectors/datasource.mdx
@@ -73,6 +73,44 @@ Prometheus-compatible APIs (for example Grafana Mimir's PromQL endpoint) use the
\* Aggregate graphs are reconstructed in-process from a bounded sample of full traces when the backend cannot aggregate server-side.
+## Enterprise data-source connectors
+
+<Info>
+**Enterprise feature.** Datadog and New Relic connectors are premium connectors in [OpenLIT Enterprise](/latest/openlit/enterprise) and need a license that includes **Premium connectors**. Without it, they appear in the catalog with a **Premium** badge and a lock, and **Add connector** reads **License required**.
+</Info>
+
+| Connector | Signals | What it's for |
+| --- | --- | --- |
+| **Datadog** | traces, logs, metrics | Read spans, logs, and metrics from Datadog |
+| **New Relic** | traces, logs, metrics | Read spans, logs, and metrics from New Relic with NRQL |
+
+Add them from **Connectors** like any other data source, then bind them per signal in [signal routing](/latest/openlit/organisation/signal-routing). A bound connector must be in the same environment as the binding.
+
+### Datadog
+
+| Field | Required | Description |
+| --- | --- | --- |
+| Datadog site | No | Your Datadog site, such as `datadoghq.com` (default) or `datadoghq.eu`. |
+| API key | Yes | A Datadog API key. |
+| Application key | Yes | A Datadog application key with access to spans, logs, and metrics. |
+
+- Logs are read without AI filtering, so all logs in the range are returned.
+- When you don't filter on a metric name, metric series default to `system.cpu.user`.
+- The Datadog spans API is rate limited, so OpenLIT caches span queries for 30 seconds.
+
+### New Relic
+
+| Field | Required | Description |
+| --- | --- | --- |
+| Region | No | `US` (default) or `EU`. |
+| Account ID | Yes | Your New Relic account ID. |
+| API key | Yes | A user API key with NerdGraph and NRQL access to the account. |
+
+- Metric series need a metric-name filter.
+- Span events are stored as separate rows in New Relic, so they aren't shown on spans.
+
+Both connectors support the trace tree and server-side aggregation, and correlate signals by trace ID, span ID, and service. Neither supports raw queries or span events. **Test connection** checks the credentials and looks for AI telemetry from the last hour.
+
## Add a Jaeger connector
<Frame>
@@ -116,7 +154,7 @@ The connector registry is designed so **actions** attach to a connector type. To
| **Mark Database Config active** | Choose which ClickHouse app store the UI uses |
| **Share Database Config** | Grant edit / delete / re-share on a ClickHouse connection |
-Enterprise audit logs record connector create/update/delete/test plus bind/unbind (with signal, environment, and previous source when switching).
+[Enterprise](/latest/openlit/enterprise) [audit logs](/latest/openlit/audit-logs) record connector create/update/delete/test plus bind/unbind (with signal, environment, and previous source when switching).
## How OpenLIT finds AI telemetry
diff --git a/docs/latest/openlit/connectors/memory.mdx b/docs/latest/openlit/connectors/memory.mdx
index 7b0189ab..06a49f95 100644
--- a/docs/latest/openlit/connectors/memory.mdx
+++ b/docs/latest/openlit/connectors/memory.mdx
@@ -105,7 +105,7 @@ When Otter runs on the Memory page or in chat with memory context, it can call c
| `update_memory` | Connector supports `update` |
| `delete_memory` | Connector supports `delete` |
-Otter passes required filter arguments (user, session, agent) when the vendor mandates them. Enterprise builds apply the same RBAC and audit hooks as the `/api/memory` routes.
+Otter passes required filter arguments (user, session, agent) when the vendor mandates them. [Enterprise](/latest/openlit/enterprise) builds apply the same [RBAC](/latest/openlit/rbac) and [audit](/latest/openlit/audit-logs) hooks as the `/api/memory` routes.
## Authentication
@@ -125,7 +125,7 @@ Use **Copy** on the Memory page to duplicate memories into another write-capable
2. Writes to the destination connector when `add` is supported
3. Stores `metadata.openlit.port` on the destination memory and links the destination connector back to the source for traceability
-Copy requires `connectors:update` (or equivalent memory mutation permission in enterprise).
+In [OpenLIT Enterprise](/latest/openlit/enterprise), copying requires the `connectors:update` permission, or the equivalent memory permission under [role-based access control](/latest/openlit/rbac).
## Security and reliability
diff --git a/docs/latest/openlit/connectors/notification.mdx b/docs/latest/openlit/connectors/notification.mdx
new file mode 100644
index 00000000..29e7bf4a
--- /dev/null
+++ b/docs/latest/openlit/connectors/notification.mdx
@@ -0,0 +1,146 @@
+---
+title: 'Notification connectors'
+sidebarTitle: 'Notification'
+description: 'Send OpenLIT alerts to Slack, email, webhooks, Discord, PagerDuty, Opsgenie, and Datadog'
+icon: 'paper-plane'
+tag: 'Enterprise'
+---
+
+import EnterpriseFeature from '/snippets/enterprise-feature.mdx';
+
+<EnterpriseFeature />
+
+Notification connectors deliver [Alerts](/latest/openlit/alerts) to the tools your team already uses. Each connector holds one destination and its credentials, and any alert in the organisation can send to it.
+
+## Availability
+
+Notification connectors are **premium connectors**: creating, editing, and testing them needs an [OpenLIT Enterprise](/latest/openlit/enterprise) license that includes **Premium connectors**. Sending alerts also needs the **Alerts** feature.
+
+Without the license, the connector catalog shows these types with a **Premium** badge and a lock, and **Add connector** reads **License required**.
+
+## Add a notification connector
+
+You can add a notification connector in either place; both create the same connector and alert destination:
+
+- **Connectors** (`/connectors`): find the type in the **Notification** group of the catalog and select **Add connector**.
+- **Alerts → Destinations**: select **Add destination**, or select **Destination** while creating an alert.
+
+Every connector has a **Name** (unique within its environment) and an **Environment**. Fields under **Authentication** are encrypted and only decrypted on the server. Select **Test connection** after saving to send a test notification titled "OpenLIT alert test".
+
+Outbound requests must use `http` or `https` and can't target localhost, private, or reserved network addresses.
+
+## Connector types
+
+<Note>
+Microsoft Teams isn't available as a destination yet.
+</Note>
+
+### Slack
+
+Posts an alert card to a channel through a Slack [incoming webhook](https://api.slack.com/messaging/webhooks).
+
+| Field | Required | Description |
+| --- | --- | --- |
+| Webhook URL | Yes | The Slack incoming webhook URL. |
+| Channel | No | Overrides the webhook's default channel, such as `#alerts`. Each alert can override it again. |
+
+The card shows the title, the message, the severity, the trigger, and, if enabled on the alert, the matched fields.
+
+### Email
+
+Sends alert emails as JSON to an email relay endpoint that you run or a provider offers.
+
+| Field | Required | Description |
+| --- | --- | --- |
+| Recipients | Yes | Comma-separated email addresses. |
+| From address | No | Sender address. Defaults to `[email protected]`. |
+| Relay URL | Yes, to send | The JSON relay endpoint that sends the email. |
+| Authorization header | No | Sent as the `Authorization` header to the relay. |
+
+<Note>
+Email doesn't support SMTP yet. Without a **Relay URL**, sends fail with "Email relay URL is required until a native SMTP adapter is configured."
+</Note>
+
+OpenLIT POSTs `to`, `from`, `subject`, `text`, and `html` to the relay.
+
+### Webhook
+
+POSTs the alert as JSON to any HTTPS endpoint.
+
+| Field | Required | Description |
+| --- | --- | --- |
+| Webhook URL | Yes | The endpoint that receives the alert. |
+| Authorization header | No | Sent as the `Authorization` header. |
+
+The payload includes:
+
+```json
+{
+ "title": "API key access changed",
+ "message": "API key sdk-key access was updated.",
+ "severity": "high",
+ "alert_id": "...",
+ "alert_name": "API key access changes",
+ "event_id": "...",
+ "trigger_type": "api_key_change",
+ "fields": { "event": "api_key_access_updated", "access": "full" },
+ "presentation": { "style": "default", "accentColor": "#e11d48", "includeFields": true }
+}
+```
+
+### Discord
+
+Posts an embed to a Discord channel webhook.
+
+| Field | Required | Description |
+| --- | --- | --- |
+| Webhook URL | Yes | The Discord channel webhook URL. |
+| Bot username | No | Display name for the message. Defaults to `OpenLIT Alerts`. |
+
+The embed colour follows the alert's accent colour, or red for critical, orange for high, and blue otherwise.
+
+### PagerDuty
+
+Triggers incidents through the PagerDuty Events API v2.
+
+| Field | Required | Description |
+| --- | --- | --- |
+| Routing key | Yes | Your Events API v2 integration routing key. |
+| Source | No | Event source. Defaults to `openlit`. |
+| Component, Group, Class | No | Optional PagerDuty event fields. Class defaults to the trigger type. |
+
+Severity maps to PagerDuty as critical → `critical`, high → `error`, medium → `warning`, and low → `info`. OpenLIT only triggers incidents; resolve them in PagerDuty.
+
+### Opsgenie
+
+Creates alerts through the Opsgenie Alerts API.
+
+| Field | Required | Description |
+| --- | --- | --- |
+| API key | Yes | An Opsgenie API integration key. |
+| Region | No | `us` (default) or `eu`. |
+| Responders | No | Comma-separated responder names, teams, or escalations. |
+
+Severity maps to priority as critical → `P1`, high → `P2`, medium → `P3`, and low → `P4`.
+
+### Datadog
+
+Creates events through the Datadog Events API.
+
+| Field | Required | Description |
+| --- | --- | --- |
+| Datadog site | No | Your Datadog site. Defaults to `datadoghq.com`. |
+| API key | Yes | A Datadog API key. |
+
+Critical alerts create `error` events; others create `warning` events. Events are tagged with `openlit`, the severity, and the trigger.
+
+---
+
+<CardGroup cols={2}>
+ <Card title="Alerts" href="/latest/openlit/alerts" icon="bell">
+ Create alerts and attach notification connectors as destinations
+ </Card>
+ <Card title="Connectors overview" href="/latest/openlit/connectors/overview" icon="plug">
+ How connectors work across data sources, memory, and scanners
+ </Card>
+</CardGroup>
diff --git a/docs/latest/openlit/connectors/overview.mdx b/docs/latest/openlit/connectors/overview.mdx
index 7a008171..9dae4933 100644
--- a/docs/latest/openlit/connectors/overview.mdx
+++ b/docs/latest/openlit/connectors/overview.mdx
@@ -19,7 +19,7 @@ Connectors share one registry model across categories. **Data-source connectors*
## Connector categories
-<CardGroup cols={3}>
+<CardGroup cols={2}>
<Card title="Data-source connectors" href="/latest/openlit/connectors/datasource" icon="database">
ClickHouse, Tempo, Loki, Prometheus, and Jaeger — read traces, logs, and metrics with per-signal routing.
</Card>
@@ -29,8 +29,15 @@ Connectors share one registry model across categories. **Data-source connectors*
<Card title="Scanner connectors" href="/latest/openlit/connectors/scanner" icon="magnifying-glass">
Trustabl — scan GitHub repositories for agent SDK, MCP, and policy findings.
</Card>
+ <Card title="Notification connectors" href="/latest/openlit/connectors/notification" icon="paper-plane">
+ Enterprise — send alerts to Slack, email, webhooks, Discord, PagerDuty, Opsgenie, and Datadog.
+ </Card>
</CardGroup>
+<Note>
+Premium connectors (the notification connectors, plus the [Datadog and New Relic data sources](/latest/openlit/connectors/datasource#enterprise-data-source-connectors)) are part of [OpenLIT Enterprise](/latest/openlit/enterprise) and show a **Premium** badge in the catalog.
+</Note>
+
## Mental model
```mermaid
@@ -72,7 +79,7 @@ flowchart LR
| Browse / search / write memories | — | Yes (capability-dependent) | — |
| Run scan / list findings | — | — | Yes |
-Enterprise audit logs record connector create, update, delete, test, bind, and unbind events. RBAC permissions are `connectors:read|create|update|delete|test|bind` (owner/admin by default).
+[Enterprise](/latest/openlit/enterprise) [audit logs](/latest/openlit/audit-logs) record connector create, update, delete, test, bind, and unbind events. [RBAC](/latest/openlit/rbac) permissions are `connectors:read|create|update|delete|test|bind` (owner/admin by default).
## Related
diff --git a/docs/latest/openlit/developer-resources/api-reference/endpoint/api-keys/get.mdx b/docs/latest/openlit/developer-resources/api-reference/endpoint/api-keys/get.mdx
index cce9b995..11d2182d 100644
--- a/docs/latest/openlit/developer-resources/api-reference/endpoint/api-keys/get.mdx
+++ b/docs/latest/openlit/developer-resources/api-reference/endpoint/api-keys/get.mdx
@@ -1,5 +1,5 @@
---
title: 'List API Keys'
-description: 'List the API keys for the current database configuration, with each key's access.'
+description: "List the API keys for the current database configuration, with each key's access."
openapi: 'GET /api/api-key'
---
diff --git a/docs/latest/openlit/developer-resources/api-reference/endpoint/api-keys/update.mdx b/docs/latest/openlit/developer-resources/api-reference/endpoint/api-keys/update.mdx
index fb08f8ec..2d9a8062 100644
--- a/docs/latest/openlit/developer-resources/api-reference/endpoint/api-keys/update.mdx
+++ b/docs/latest/openlit/developer-resources/api-reference/endpoint/api-keys/update.mdx
@@ -2,4 +2,9 @@
title: 'Update API Key Access'
description: 'Change which features an API key can use (OpenLIT Enterprise).'
openapi: 'PATCH /api/api-key/{id}'
+tag: 'Enterprise'
---
+
+import EnterpriseFeature from '/snippets/enterprise-feature.mdx';
+
+<EnterpriseFeature />
diff --git a/docs/latest/openlit/developer-resources/api-reference/introduction.mdx b/docs/latest/openlit/developer-resources/api-reference/introduction.mdx
index 8f58d692..c898934a 100644
--- a/docs/latest/openlit/developer-resources/api-reference/introduction.mdx
+++ b/docs/latest/openlit/developer-resources/api-reference/introduction.mdx
@@ -86,7 +86,7 @@ Authorization: Bearer <api-key>
Create and manage keys under **Settings → API Keys**. Each key shows its access in the **Access** column.
- **Community edition:** every API key has full access to every endpoint that accepts API keys.
-- **OpenLIT Enterprise:** with role-based access control, a key can be restricted to specific features when it's created, or later with **Edit access**. A restricted key gets a `403` (`This API key does not have access to this feature`) on endpoints outside its features, and OTLP ingestion needs the **Telemetry ingestion** feature.
+- **[OpenLIT Enterprise](/latest/openlit/enterprise):** with role-based access control, a key can be restricted to specific features when it's created, or later with **Edit access**. A restricted key gets a `403` (`This API key does not have access to this feature`) on endpoints outside its features, and OTLP ingestion needs the **Telemetry ingestion** feature.
| Feature | Endpoints |
| --- | --- |
diff --git a/docs/latest/openlit/enterprise.mdx b/docs/latest/openlit/enterprise.mdx
new file mode 100644
index 00000000..45f605c4
--- /dev/null
+++ b/docs/latest/openlit/enterprise.mdx
@@ -0,0 +1,92 @@
+---
+title: 'OpenLIT Enterprise'
+sidebarTitle: 'Overview'
+description: 'Enterprise features for OpenLIT, how to get access to the enterprise build, and how licensing works'
+icon: 'crown'
+tag: 'Enterprise'
+---
+
+OpenLIT is open source under the Apache-2.0 license, and the community edition includes everything you need to observe, evaluate, and secure your AI applications. **OpenLIT Enterprise** adds organisation-wide governance, compliance, and alerting features on top of the same platform.
+
+Pages for enterprise features are marked with an **Enterprise** tag in the sidebar and an **Enterprise feature** note at the top.
+
+## Community and Enterprise
+
+| Capability | Community | Enterprise |
+| --- | :---: | :---: |
+| AI observability, evaluations, guardrails, dashboards, Prompt Hub, Vault, Rule Engine, OpenGround, and Otter | ✓ | ✓ |
+| Organisations, projects, environments, and built-in roles (Owner, Admin, Member) | ✓ | ✓ |
+| API keys with full access | ✓ | ✓ |
+| [Role-based access control](/latest/openlit/rbac): custom role groups and direct user permissions | | ✓ |
+| [Per-feature API key access](/latest/openlit/rbac#api-key-access): restrict each key to specific features | | ✓ |
+| [Audit logs](/latest/openlit/audit-logs) for organisation, member, role, license, API key, connector, and configuration changes across OpenLIT features | | ✓ |
+| [Alerts](/latest/openlit/alerts) on access, API key, Vault, connector, scanner, and other changes, with reusable notification destinations | | ✓ |
+| Premium connectors: [Slack, email, webhook, Discord, PagerDuty, Opsgenie, and Datadog notifications](/latest/openlit/connectors/notification); [Datadog and New Relic data sources](/latest/openlit/connectors/datasource#enterprise-data-source-connectors) | | ✓ |
+| [GPUs](/latest/openlit/gpus): fleet health, workloads, kernels, errors, cost, and Otter recommendations¹ | | ✓ |
+
+¹ The GPUs page comes with the enterprise build and doesn't need a separate license feature. The community edition collects GPU metrics with the [GPU collector](/latest/gpu-collector/quickstart).
+
+## Enterprise features
+
+<CardGroup cols={2}>
+ <Card title="Role-based access control" href="/latest/openlit/rbac" icon="shield-check">
+ Custom role groups, direct user permissions, and per-feature API key access
+ </Card>
+ <Card title="Audit Logs" href="/latest/openlit/audit-logs" icon="clock-rotate-left">
+ Who changed what across your organisation
+ </Card>
+ <Card title="Alerts" href="/latest/openlit/alerts" icon="bell">
+ Notify your team when important changes happen
+ </Card>
+ <Card title="Notification connectors" href="/latest/openlit/connectors/notification" icon="paper-plane">
+ Slack, email, webhook, Discord, PagerDuty, Opsgenie, and Datadog
+ </Card>
+ <Card title="Enterprise data sources" href="/latest/openlit/connectors/datasource#enterprise-data-source-connectors" icon="database">
+ Read traces, logs, and metrics from Datadog and New Relic
+ </Card>
+ <Card title="GPUs" href="/latest/openlit/gpus" icon="microchip">
+ GPU fleet health, workloads, kernels, errors, and cost
+ </Card>
+</CardGroup>
+
+## Get OpenLIT Enterprise
+
+OpenLIT Enterprise is built from a private repository and unlocked with a license for your organisation. To get access to the enterprise build and a license, or to ask about a trial or pricing:
+
+<CardGroup cols={2}>
+ <Card title="Book a call" icon="calendar" href="https://cal.com/aman.openlit/30min">
+ Talk to the OpenLIT team about your requirements and get access to OpenLIT Enterprise.
+ </Card>
+ <Card title="Email us" icon="envelope" href="mailto:[email protected]">
+ Write to [email protected] about enterprise access, licensing, or the enterprise repository.
+ </Card>
+</CardGroup>
+
+## How licensing works
+
+Enterprise features are licensed per organisation. A license lists the enterprise features it unlocks and is signed, so it can't be modified.
+
+<Steps>
+ <Step title="Run the enterprise build">
+ Deploy OpenLIT Enterprise in place of the community edition. Your existing organisations, projects, and data carry over.
+ </Step>
+ <Step title="Apply the license">
+ Open your organisation's settings, go to the **Licensing** tab, and select **Apply enterprise license**. Applying or removing a license needs the organisation owner, or a custom role with the `license:manage` permission.
+ </Step>
+ <Step title="Use the unlocked features">
+ Features included in the license unlock immediately for that organisation. Features that aren't licensed stay visible but locked, with an upgrade prompt.
+ </Step>
+</Steps>
+
+If a license expires or is revoked, its enterprise features lock again. The community features keep working, and your organisations, projects, database configurations, and data stay available. See [license revocation behaviour](/latest/openlit/rbac#license-revocation-behavior) for how RBAC handles this.
+
+---
+
+<CardGroup cols={2}>
+ <Card title="Role-based access control" href="/latest/openlit/rbac" icon="shield-check">
+ Custom role groups, direct user permissions, and per-feature API key access
+ </Card>
+ <Card title="Organisation" href="/latest/openlit/organisation/overview" icon="building">
+ Organisations, projects, environments, and built-in roles
+ </Card>
+</CardGroup>
diff --git a/docs/latest/openlit/gpus.mdx b/docs/latest/openlit/gpus.mdx
new file mode 100644
index 00000000..0610e95d
--- /dev/null
+++ b/docs/latest/openlit/gpus.mdx
@@ -0,0 +1,76 @@
+---
+title: 'GPUs'
+description: 'Monitor GPU fleet health, workloads, kernels, errors, and cloud cost in one place'
+icon: 'microchip'
+tag: 'Enterprise'
+---
+
+import EnterpriseFeature from '/snippets/enterprise-feature.mdx';
+
+<EnterpriseFeature />
+
+The **GPUs** page brings your GPU fleet into one view: how many GPUs are active and effectively used, device health and errors, which workloads and kernels run on each GPU, and what the fleet costs, with Otter highlighting what needs attention.
+
+Open **GPUs** from the sidebar under **Monitor** (`/gpus`).
+
+## Availability
+
+The GPUs page is part of the [OpenLIT Enterprise](/latest/openlit/enterprise) build. It doesn't need a separate license feature. The community edition collects GPU metrics with the [GPU collector](/latest/gpu-collector/quickstart), which you can chart in [dashboards](/latest/openlit/quickstart-gpu).
+
+## Before you start
+
+- **Collect GPU metrics** with the [OpenLIT GPU collector](/latest/gpu-collector/quickstart). If no GPU data is arriving, the page shows ready-to-copy **Kubernetes**, **Docker**, and **Linux** commands that send metrics to your project's metrics backend.
+- **Bind a metrics backend** for the project and environment in [signal routing](/latest/openlit/organisation/signal-routing). The GPUs page reads the **metrics** binding, which can be the built-in ClickHouse, [Prometheus](/latest/openlit/connectors/datasource), [Datadog, or New Relic](/latest/openlit/connectors/datasource#enterprise-data-source-connectors). Tempo, Loki, and Jaeger can't serve GPU metrics.
+- **Enable eBPF in the collector** for Kernel Insights, with the `OTEL_GPU_EBPF_ENABLED` [collector setting](/latest/gpu-collector/configuration). Kernel Insights works with ClickHouse and Prometheus, not Datadog or New Relic.
+- **Configure Otter** with an LLM provider key in Otter settings for GPU insights and recommendations.
+
+## Explore your GPUs
+
+Use the filters to narrow by **GPU**, **Region**, **Device**, **Cluster**, and **Provider**, and the time picker to change the range. Select a device in a table to open its own view at `/gpus/<device-id>`.
+
+| Tab | What it shows |
+| --- | --- |
+| **Overview** | Your fleet at a glance: total, active, and effectively used GPUs, clusters, hosts, and devices; GPU allocation and cloud cost meters; average utilization, memory, power, and temperature, max temperature, and throttled GPUs; utilization, temperature, and power over time; allocation over time; instance type mix; and a breakdown by GPU model. |
+| **Fleet** | The busiest devices by utilization and memory, active versus inactive devices, and a table of every GPU with its status, ECC errors, activity, memory, and allocation. |
+| **Workloads** | Running, sleeping, and zombie processes; the top workloads by GPU core utilization and memory; and tables of workloads and zombie processes. |
+| **Kernel Insights** | Kernel and CUDA graph launch rates, grid, block, and shared memory sizes, core occupancy, estimated SM activity, the top kernels by launch rate, and memory allocation and copy rates. Needs eBPF. |
+| **Errors** | Devices with uncorrected ECC errors and PCIe replay errors, errors over time, and errors by device. |
+| **Costs** | Total, idle, and used spend; priced SKU coverage; spend and instance hours by SKU; matched and unmatched SKUs; and your **Instance rates**. |
+| **Recommendations** | Otter's recommendations for the fleet, by severity, with links to the relevant tab. |
+
+## Track GPU cost
+
+The **Costs** tab prices the GPU hours seen in the selected range:
+
+- **Cloud instances** reporting an instance type (`host.type`), provider, and region are matched to an instance rate and billed **per host-hour**.
+- **Local or on-prem GPUs** without an instance type are matched by GPU name and billed **per GPU-hour**.
+- **Idle cost** is the share of time GPUs weren't allocated.
+- GPUs with no matching rate appear under **Unmatched SKUs** and are **left out of the total**, not counted as $0. Select add on an unmatched SKU to price it.
+
+OpenLIT includes on-demand list prices for AWS, Google Cloud, Azure, Oracle Cloud, and CoreWeave. Under **Instance rates** you can add a rate, edit the USD per hour, or delete a rate. A rate for a specific region takes precedence over a rate for all regions (`*`), and your custom rates take precedence over list prices.
+
+## Otter insights and recommendations
+
+Each tab can show a short **Otter** headline and notes about the metrics on screen. The **Recommendations** tab lists Otter's suggestions with a severity (Critical, Major, Minor, or Info), the suggested action, and a link to the tab to investigate.
+
+Dismiss a recommendation with a reason, such as "A fix has already been started", to move it to **Closed**, and **Reopen** it later. Dismissals are shared with everyone working in the same project environment and recorded in [Audit Logs](/latest/openlit/audit-logs). Dismissing and reopening need the `gpu:configure` permission.
+
+## Permissions
+
+| Permission | Allows | Default roles |
+| --- | --- | --- |
+| `gpu:read` | View the GPUs page, costs, and rates | Owner, Admin, Member |
+| `gpu:configure` | Add, edit, and delete instance rates; dismiss and reopen recommendations | Owner, Admin |
+
+Changes to instance rates and recommendation dismissals are recorded in [Audit Logs](/latest/openlit/audit-logs) when audit logging is licensed.
+
+---
+
+<CardGroup cols={2}>
+ <Card title="GPU collector" href="/latest/gpu-collector/quickstart" icon="microchip">
+ Collect GPU metrics from Kubernetes, Docker, and Linux hosts
+ </Card>
+ <Card title="Signal routing" href="/latest/openlit/organisation/signal-routing" icon="route">
+ Choose which backend serves metrics for each environment
+ </Card>
+</CardGroup>
diff --git a/docs/latest/openlit/installation.mdx b/docs/latest/openlit/installation.mdx
index 74304292..f85c318c 100644
--- a/docs/latest/openlit/installation.mdx
+++ b/docs/latest/openlit/installation.mdx
@@ -89,7 +89,7 @@ If you previously ran the old stack, restart Compose with `--remove-orphans`. Th
Yes for ClickHouse — see [Connect Multiple Databases](/latest/openlit/developer-resources/multiple-db). You do not need OpenLIT to run `otelcol`. If you already operate a Collector, [forward OTLP to OpenLIT](/latest/openlit/otlp-receiver#optional-sidecar-collector).
</Accordion>
<Accordion title="Is OpenLIT free to self-host?">
- Yes. OpenLIT is licensed under Apache-2.0 - every feature in this documentation is free to self-host, with no license key or usage limits.
+ Yes. OpenLIT is licensed under Apache-2.0 and the community edition is free to self-host, with no license key or usage limits. A few organisation-wide governance features, such as custom roles, audit logs, and alerts, are part of [OpenLIT Enterprise](/latest/openlit/enterprise) and are marked with an **Enterprise** tag in these docs.
</Accordion>
</AccordionGroup>
diff --git a/docs/latest/openlit/observability/telemetry/trace-governance.mdx b/docs/latest/openlit/observability/telemetry/trace-governance.mdx
index 0191ceec..c67b9cb5 100644
--- a/docs/latest/openlit/observability/telemetry/trace-governance.mdx
+++ b/docs/latest/openlit/observability/telemetry/trace-governance.mdx
@@ -100,7 +100,7 @@ Author rules in the Rule Engine, then confirm matches on the Governance tab for
| `GET` | `/api/telemetry/request/span/:id/governance` | Build report JSON |
| `GET` | `/api/telemetry/request/span/:id/governance/export` | Passport envelope for evidence download |
-Enterprise deployments audit report views and passport exports (metadata only — never raw prompts or secrets).
+With [Audit Logs](/latest/openlit/audit-logs) in [OpenLIT Enterprise](/latest/openlit/enterprise), report views and passport exports are recorded (metadata only — never raw prompts or secrets).
## Related
diff --git a/docs/latest/openlit/organisation.mdx b/docs/latest/openlit/organisation.mdx
index dafda6ee..f6ae4af2 100644
--- a/docs/latest/openlit/organisation.mdx
+++ b/docs/latest/openlit/organisation.mdx
@@ -11,6 +11,7 @@ Organisations in OpenLIT let you group team members under a shared workspace. Ea
- **Workspace isolation**: Each organisation maintains its own database configuration and resource space.
- **Project hierarchy**: Projects sit inside organisations and group database configurations for different environments, teams, or workloads.
- **Role-based access control**: Assign **Admin** or **Member** roles to control who can manage settings and invite others.
+- **Enterprise RBAC** ([Enterprise](/latest/openlit/enterprise)): Licensed organisations can use a dedicated **Roles** page for custom role groups and direct user permission overrides.
- **Email invitations**: Invite teammates by email. Invitations can be accepted or declined from the notification panel.
- **Multiple organisations**: A single user can belong to multiple organisations and switch between them at any time.
- **Member management**: Admins can view all members, update roles, and remove users from the organisation.
@@ -78,6 +79,8 @@ Organisations in OpenLIT let you group team members under a shared workspace. Ea
## Roles and permissions
+The table below describes the default built-in roles available to every organisation. Enterprise RBAC ([Enterprise](/latest/openlit/enterprise)) adds custom role groups and direct user permission overrides on the separate **Roles** page.
+
| Action | Admin | Member |
|--------|-------|--------|
| View dashboards, traces, prompts | ✅ | ✅ |
@@ -89,6 +92,10 @@ Organisations in OpenLIT let you group team members under a shared workspace. Ea
| Manage database configuration | ✅ | ❌ |
| Create and switch projects | ✅ | ✅ |
+<Info>
+For fine-grained access control, see [Role-Based Access Control](/latest/openlit/rbac), an [Enterprise](/latest/openlit/enterprise) feature.
+</Info>
+
## Project hierarchy
OpenLIT uses the following hierarchy:
diff --git a/docs/latest/openlit/organisation/connectors.mdx b/docs/latest/openlit/organisation/connectors.mdx
index 479b47c6..959418d3 100644
--- a/docs/latest/openlit/organisation/connectors.mdx
+++ b/docs/latest/openlit/organisation/connectors.mdx
@@ -119,7 +119,7 @@ The connector registry is designed so **actions** attach to a connector type. To
| **Mark Database Config active** | Choose which ClickHouse app store the UI uses |
| **Share Database Config** | Grant edit / delete / re-share on a ClickHouse connection |
-Enterprise audit logs record connector create/update/delete/test plus bind/unbind (with signal, environment, and previous source when switching). RBAC permissions are `connectors:read|create|update|delete|test|bind` (owner/admin by default).
+[Enterprise](/latest/openlit/enterprise) [audit logs](/latest/openlit/audit-logs) record connector create/update/delete/test plus bind/unbind (with signal, environment, and previous source when switching). [RBAC](/latest/openlit/rbac) permissions are `connectors:read|create|update|delete|test|bind` (owner/admin by default).
### Future connector categories
diff --git a/docs/latest/openlit/organisation/overview.mdx b/docs/latest/openlit/organisation/overview.mdx
index c8db2406..b96be9c9 100644
--- a/docs/latest/openlit/organisation/overview.mdx
+++ b/docs/latest/openlit/organisation/overview.mdx
@@ -21,7 +21,7 @@ Use organisations for membership and workspace boundaries. Use [projects](/lates
| Layer | Owns |
| --- | --- |
-| **Organisation** | Workspace name, members, invitations; billing/licensing where applicable |
+| **Organisation** | Workspace name, members, invitations, built-in roles; [enterprise licenses](/latest/openlit/enterprise#how-licensing-works) and [RBAC](/latest/openlit/rbac) in OpenLIT Enterprise |
| **Project** | Environments, Database Configs, connectors, bindings |
| **Environment** | Partition for configs, connectors, and per-signal routing |
| **Database Config** | ClickHouse connection on the project (seeded from `INIT_DB_*`, then managed in UI) |
diff --git a/docs/latest/openlit/organisation/signal-routing.mdx b/docs/latest/openlit/organisation/signal-routing.mdx
index d2cdc54d..7c05d35e 100644
--- a/docs/latest/openlit/organisation/signal-routing.mdx
+++ b/docs/latest/openlit/organisation/signal-routing.mdx
@@ -97,7 +97,7 @@ Raw OTLP **write** paths (SDK exporters, optional sidecar collectors) are separa
## Permissions and audit
-Enterprise roles control connector management:
+In [OpenLIT Enterprise](/latest/openlit/enterprise), [role-based access control](/latest/openlit/rbac) controls connector management with these permissions:
| Permission | Typical use |
| --- | --- |
@@ -108,7 +108,7 @@ Enterprise roles control connector management:
Owner and admin built-in roles include the full connector set. Members can read observability data but do not manage connectors by default.
-Binding and unbinding are written to the organisation **audit log** (`connectors.connector_bound` / `connectors.connector_unbound`) with signal, environment, next connector, and previous source when switching.
+With [Audit Logs](/latest/openlit/audit-logs) in [OpenLIT Enterprise](/latest/openlit/enterprise), binding and unbinding are recorded (`connectors.connector_bound` / `connectors.connector_unbound`) with signal, environment, next connector, and previous source when switching.
## Related
diff --git a/docs/latest/openlit/otlp-receiver.mdx b/docs/latest/openlit/otlp-receiver.mdx
index c46fc777..ddc16fff 100644
--- a/docs/latest/openlit/otlp-receiver.mdx
+++ b/docs/latest/openlit/otlp-receiver.mdx
@@ -53,6 +53,8 @@ A valid key stamps `organisation.environment.name`, `openlit.organisation.id`, a
Without a key, data is written to `INIT_DB_*` unless `OTLP_REQUIRE_API_KEY=true`.
+In [OpenLIT Enterprise](/latest/openlit/enterprise), a key [restricted to specific features](/latest/openlit/rbac#api-key-access) must include **Telemetry ingestion** to send data; otherwise ingest is rejected as unauthorized. Key lookups are cached for up to 30 seconds, so access changes can take that long to apply to ingestion.
+
## Schema
On first ingest, and again if an insert fails because `otel_*` tables were dropped, the receiver runs `CREATE TABLE IF NOT EXISTS` for the OTLP schema and retries the write once. Compose and Kubernetes ClickHouse init scripts still create the same tables on an empty volume.
diff --git a/docs/latest/openlit/rbac.mdx b/docs/latest/openlit/rbac.mdx
new file mode 100644
index 00000000..2174941f
--- /dev/null
+++ b/docs/latest/openlit/rbac.mdx
@@ -0,0 +1,203 @@
+---
+title: 'Role-Based Access Control'
+description: 'Manage enterprise role groups, direct user permissions, and paid access controls'
+icon: 'shield-check'
+tag: 'Enterprise'
+---
+
+import EnterpriseFeature from '/snippets/enterprise-feature.mdx';
+
+<EnterpriseFeature />
+
+Role-Based Access Control (RBAC) is an enterprise feature for controlling who can view, create, update, delete, and operate OpenLIT resources inside an organisation.
+
+RBAC is organisation-scoped. Users keep the normal OpenLIT experience when RBAC is not licensed or not enabled, while licensed organisations can use the dedicated **Roles** page to manage fine-grained access.
+
+## Availability
+
+RBAC requires an active enterprise license or entitlement for the organisation.
+
+Without the paid RBAC entitlement:
+
+- Existing built-in roles continue to work.
+- Owners and admins can continue using OpenLIT as before.
+- Enterprise-only RBAC APIs and UI actions return upgrade-required or forbidden responses where appropriate.
+- Role-management permissions are not granted through the default built-in role set.
+
+## Access hierarchy
+
+OpenLIT access is evaluated within this hierarchy:
+
+```text
+Organisation
+ Project
+ Database configuration
+```
+
+Billing, licensing, seats, entitlements, roles, and member access are organisation-scoped. Database configuration reads, writes, selection, sharing, and connection checks remain scoped by the active project.
+
+## Enforcement model
+
+RBAC is enforced on both the UI and the server.
+
+- Frontend page gates hide protected feature surfaces and render the same access-denied pattern used by other enterprise feature locks.
+- Backend route wrappers enforce the organisation permission before returning data or mutating state.
+- Database-backed observability, prompt, agent, and evaluation routes also validate access to the active project database configuration.
+- Organisation-level features such as **Roles** and **Audit Logs** do not require a project, but still require the organisation entitlement and permission.
+
+Frontend checks are for user experience only. API routes remain the source of truth for security decisions.
+
+## Project and database configuration access
+
+Projects are the boundary for database configuration access.
+
+- Existing organisation members are backfilled into the organisation's projects during migration so existing data remains visible after the project layer is introduced.
+- New organisation-only invites grant access to the organisation, but not to project data.
+- New project invites grant access to the organisation and to the invited project.
+- Database configuration selection is stored per user and scoped to the currently selected project.
+- Users without project access see a no-access state instead of telemetry, prompt, evaluation, vault, OpenGround, or dashboard data.
+
+Server-side DB configuration lookup is user/project-scoped by default. Internal maintenance paths such as ClickHouse migrations use explicitly named internal helpers so request handlers do not accidentally bypass project membership checks.
+
+Controller polling requires an API key by default. The legacy unauthenticated bootstrap fallback is available only when `OPENLIT_ALLOW_UNAUTHENTICATED_CONTROLLER_BOOTSTRAP=true` is set for a deployment.
+
+## API key access
+
+With the RBAC entitlement, each API key can be restricted to specific features from **Settings → API Keys**, either when the key is created or later with **Edit access**. A key has either:
+
+- **Full access**: the key can use every feature that accepts API keys. All keys created before this feature, and every key in the community edition, have full access.
+- **Restricted**: the key can only use the selected features.
+
+| Feature | What it unlocks | Permission needed to grant it |
+| --- | --- | --- |
+| Telemetry ingestion | Sending traces, metrics and logs over OTLP | `api_key:create` |
+| Telemetry & metrics read | `/api/telemetry/*`, `/api/metrics/*` | `observability:read` |
+| Prompt Hub | `/api/prompt/*` | `prompt:read` |
+| Vault | `/api/vault/*` | `vault:read` |
+| Rule engine | `/api/rule-engine/*` | `rule_engine:read` |
+| Evaluations | `/api/evaluation/*` | `evaluation:read` |
+| Otter chat | `/api/chat/*` | `otter:chat` |
+| Controller | `/api/controller/*` | `controller:read` |
+| Database config | `/api/db-config*` | `db_config:read` |
+
+- A request with a restricted key to a feature it was not granted returns `403`. Routes that no feature covers are denied, so restricted keys fail closed.
+- A user can only grant features their own role includes. If the role doesn't include every feature, the user can only create restricted keys.
+- Creating a key requires `api_key:create`. Editing a key's access requires `api_key:update`, which existing roles with `api_key:create` receive automatically. API key management (`/api/api-key`) requires a signed-in user, so an API key can't list, create, change, or delete keys, including its own.
+- Access changes take effect immediately for API requests. The OTLP receiver caches key lookups, so ingestion changes can take up to 30 seconds.
+- If the RBAC license is revoked, restrictions on existing keys stay in force. New keys, and access edits, are full access only until the license is reapplied.
+- To manage access programmatically, see [Create API Key](/latest/openlit/developer-resources/api-reference/endpoint/api-keys/create) and [Update API Key Access](/latest/openlit/developer-resources/api-reference/endpoint/api-keys/update).
+- Key creation and access changes are recorded as `api_key.created` and `api_key.access_updated` audit events. Access changes also emit an `api_key_access_updated` event on the **API keys** alert trigger, with `access` and `features` fields.
+
+## Roles page
+
+Open the RBAC management page from **Roles** in the sidebar.
+
+The page has two tabs:
+
+- **User permissions**: Assign built-in roles or custom role groups to members, and optionally set direct permissions for a specific user.
+- **Role Group**: Create, edit, delete, and inspect role groups.
+
+## Built-in roles
+
+OpenLIT keeps the built-in organisation roles:
+
+| Role | Purpose |
+|------|---------|
+| Owner | Full organisation control. Owner permissions cannot be directly overridden. |
+| Admin | Organisation administration without owner-only destructive controls. |
+| Member | Standard read-focused access to normal workspace features. |
+
+The organisation creator is treated as the owner even if membership data is inconsistent.
+
+## Role groups
+
+Role groups are reusable custom permission sets.
+
+Use role groups when multiple users need the same access profile, such as support, security reviewer, billing admin, or read-only operator.
+
+From **Roles → Role Group**, you can:
+
+- Create a role group with a name, optional description, and selected permissions.
+- Edit a non-system role group.
+- Delete a non-system role group. Deleting a role clears that role from assigned members.
+- View the permissions granted by any existing role group, including default/system roles.
+
+The permission view and assignment modals group permissions by area, feature, and action so reviewers can scan what a role grants before assigning it.
+
+## Direct user permissions
+
+Direct user permissions override the member's assigned role group.
+
+Use direct permissions sparingly for exceptions, temporary access, or one-off support cases. Prefer role groups when the same permission set applies to more than one user.
+
+Safeguards:
+
+- Users cannot override their own direct permissions.
+- Owner permissions cannot be overridden.
+- Direct permission writes require the RBAC entitlement and the required assignment permission.
+- Direct permissions are removed when the RBAC license is revoked.
+
+## Permission precedence
+
+OpenLIT resolves permissions in this order:
+
+1. Owner access always receives the owner permission set.
+2. If RBAC is enabled and direct user permissions exist, direct permissions are used.
+3. If RBAC is enabled and a custom role group is assigned, the role group's permissions are used.
+4. Otherwise, OpenLIT falls back to the built-in role permissions.
+
+If the RBAC entitlement is disabled, custom role groups and direct permissions are ignored and OpenLIT falls back to built-in roles.
+
+## License revocation behavior
+
+RBAC is a paid feature. When the RBAC license or entitlement is revoked:
+
+- Custom role assignments are cleared from members.
+- Direct user permission overrides are deleted.
+- Built-in roles continue to work.
+- Existing organisations, projects, database configurations, licenses, and default data remain available.
+
+This avoids restoring stale elevated permissions if a license is later re-applied.
+
+## Auditing
+
+RBAC-sensitive changes are covered by enterprise audit logging when audit logging is entitled for the organisation.
+
+Audited operations include role changes, role group changes, direct permission updates, license changes, and related privileged organisation operations. Audit write failures emit a security-prefixed error signal while preserving the original API response.
+
+## Recommended setup
+
+<Steps>
+ <Step title="Confirm the organisation has RBAC entitlement">
+ Apply an enterprise license that includes RBAC, then switch to the target organisation.
+ </Step>
+ <Step title="Review built-in roles">
+ Open **Roles → Role Group** and use **View permissions** to inspect the default roles.
+ </Step>
+ <Step title="Create reusable role groups">
+ Create custom role groups for repeated access profiles instead of assigning direct permissions to every user.
+ </Step>
+ <Step title="Assign users">
+ Open **Roles → User permissions** and assign each member a built-in role or custom role group.
+ </Step>
+ <Step title="Use direct permissions only for exceptions">
+ Override a user's permissions only when the assigned role group is not specific enough.
+ </Step>
+ <Step title="Verify audit coverage">
+ If your organisation uses audit logs for compliance, confirm audit logging is entitled and review RBAC changes in **Audit Logs**.
+ </Step>
+</Steps>
+
+---
+
+<CardGroup cols={3}>
+ <Card title="OpenLIT Enterprise" href="/latest/openlit/enterprise" icon='crown'>
+ Enterprise features, licensing, and how to get access
+ </Card>
+ <Card title="Organisation management" href="/latest/openlit/organisation/overview" icon='building'>
+ Manage organisations, projects, invitations, and built-in roles
+ </Card>
+ <Card title="Configuration" href="/latest/openlit/configuration" icon='sliders'>
+ Configure OpenLIT deployment and runtime settings
+ </Card>
+</CardGroup>
diff --git a/docs/snippets/enterprise-feature.mdx b/docs/snippets/enterprise-feature.mdx
new file mode 100644
index 00000000..eaea2940
--- /dev/null
+++ b/docs/snippets/enterprise-feature.mdx
@@ -0,0 +1,3 @@
+<Info>
+ **Enterprise feature.** This is part of [OpenLIT Enterprise](/latest/openlit/enterprise) and needs an enterprise license applied to your organisation; the community edition doesn't include it. [Book a call](https://cal.com/aman.openlit/30min) or email [[email protected]](mailto:[email protected]) to get access to the enterprise build and a license.
+</Info>