Alert rules
The Alert Rules section defines how, when, and under what conditions notifications about violations are sent. Settings are configured separately for each violation type.
Required permissions
Section titled “Required permissions”| Action | Area | Min. access level |
|---|---|---|
| Viewing the page | Applications | Read |
Application policies | Read | |
| Configuring notifications about violations and token usage | Applications | Read |
Application policies | Edit | |
| Editing an application from the header | Applications | Edit |
| Deleting an application from the header | Applications | Full |
If the user does not have access to view the page, 403 — Access denied is displayed.
Opening the Alert Rules section
Section titled “Opening the Alert Rules section”- In the sidebar, select Applications.
- Open the required application by clicking its card or its name, depending on the selected view.
- Hover over the Alerts tab.
- Click Alert Rules.

The page header displays the application’s name, ID, and description (if any). The copy button is available next to the ID. The header also contains the Back to applications link that leads to the Applications section.
Editing the application
Section titled “Editing the application”
- Click
Edit. - Change the required fields.
- Click
Save.
Deleting the application
Section titled “Deleting the application”
- Click
Delete. - Confirm the deletion in the confirmation dialog.
This action cannot be undone. Prior to deletion, please verify that integration traffic has been stopped or redirected and that the associated API tokens are no longer in use.
Token Thresholds
Section titled “Token Thresholds”
The Token Thresholds block is used to control the size of individual requests and model responses. Thresholds help detect and limit abnormal or resource-intensive interactions at the level of a single request. A warning level is set based on the number of tokens in the request: the more tokens, the higher the level.
The token threshold range is divided into 4 zones, each corresponding to a severity level:
- No alert — no notifications are sent;
- Low — a warning level indicating that the limit is being approached;
- High — indicates a significant excess of the expected message size;
- Critical — a critical threshold requiring immediate attention and, if necessary, blocking actions.
If the threshold values are invalid (for example, they overlap or are out of order), the Some fields have errors label is displayed in the block header, and the Fix threshold values message is shown instead of the scale. The borders of the field with the invalid value are highlighted in red, and a hint explaining the error is shown below it.
Thus, token thresholds allow users to set several severity levels and receive warnings of increasing importance — from an early signal that the limit is being approached to a critical threshold requiring immediate action.
The following settings are available for each severity level:
- Delivery enabled — the toggle that enables sending notifications for this level;
- Threshold — a numeric value in tokens at which the level triggers (required field);
- Notification channel — the channel through which the notification is delivered. Defaults to
No channel.
Note: if
No channelis selected for a level, the notification is still created but is not sent to the user. To receive notifications, please select a channel for the corresponding level. If no channel is selected, a warning indicator is displayed.
HiveTrace Guardrail
Section titled “HiveTrace Guardrail”
This block is used to configure notifications about security policy violations:
- Trigger mode —
Each violationorCount in period; - Severity —
Low,High, orCritical; - Pause between notifications — the interval, in seconds, during which repeat notifications are not sent.
The following settings are available for each severity level:
- Alert count — the number of violations required to send notifications;
- Period — the interval over which the violation count is calculated;
- Notification channel — the channel through which the notification is delivered. Defaults to
No channel; - Delivery enabled — the toggle that enables sending notifications for this level.
Note: if
No channelis selected for a level, the notification is still created but is not sent to the user. To receive notifications, please select a channel for the corresponding level. If no channel is selected, a warning indicator is displayed.
Custom Policies
Section titled “Custom Policies”
This block is used to configure notifications about custom policy violations:
- Trigger mode —
Each violationorCount in period; - Severity —
Low,High, orCritical; - Pause between notifications — the interval, in seconds, during which repeat notifications are not sent.
The following settings are available for each severity level:
- Alert count — the number of violations required to send notifications;
- Period — the interval over which the violation count is calculated;
- Notification channel — the channel through which the notification is delivered. Defaults to
No channel; - Delivery enabled — the toggle that enables sending notifications for this level.
Note: if
No channelis selected for a level, the notification is still created but is not sent to the user. To receive notifications, please select a channel for the corresponding level. If no channel is selected, a warning indicator is displayed.
Data Cleansing
Section titled “Data Cleansing”
This block is used to configure notifications about DataClean violations:
- Trigger mode —
Each violationorCount in period; - Severity —
Low,High, orCritical; - Pause between notifications — the interval, in seconds, during which repeat notifications are not sent.
The following settings are available for each severity level:
- Alert count — the number of violations required to send notifications;
- Period — the interval over which the violation count is calculated;
- Notification channel — the channel through which the notification is delivered. Defaults to
No channel; - Delivery enabled — the toggle that enables sending notifications for this level.
Note: if
No channelis selected for a level, the notification is still created but is not sent to the user. To receive notifications, please select a channel for the corresponding level. If no channel is selected, a warning indicator is displayed.
Language mismatch
Section titled “Language mismatch”
This block is used to configure notifications about language check violations:
- Trigger mode —
Each violationorCount in period; - Severity —
Low,High, orCritical; - Pause between notifications — the interval, in seconds, during which repeat notifications are not sent.
The following settings are available for each severity level:
- Alert count — the number of violations required to send notifications;
- Period — the interval over which the violation count is calculated;
- Notification channel — the channel through which the notification is delivered. Defaults to
No channel; - Delivery enabled — the toggle that enables sending notifications for this level.
Note: if
No channelis selected for a level, the notification is still created but is not sent to the user. To receive notifications, please select a channel for the corresponding level. If no channel is selected, a warning indicator is displayed.
By default, all blocks are expanded. If a block is collapsed, a brief summary is displayed in its header:
- Token thresholds — the
No alert,Low,High, andCriticalzones with their token boundaries. If the threshold values are invalid (for example, they overlap or are out of order), theFix threshold valuesmessage is displayed. - Other sections — the trigger mode, threat level, and pause between notifications (in seconds).
Changes saving
Section titled “Changes saving”When changes are made on the page, the panel with action buttons appears:
- Cancel — discards the changes and reverts the page to the previous saved state;
- Save — saves the changes.