---
schema_version: "1"
id: 318d4d69741bf3b49cc133b9657293ceaa2bd1b946b475531634adf4618bf7ac
title: Add Instance Alerts in API Manager (Mule Gateway)
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/api-manager/latest/add-api-alert-task.md
canonical_url: https://docs.mulesoft.com/api-manager/latest/add-api-alert-task
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 7cfc4d364df09c409bfd9f2a201b60a0b57c6161f9c5b395edf97593342a9217
description: MuleSoft Documentation Site
release: 2.x
latest: true
---
---
product: API Manager
version: 2.x
is-latest-version: true
---

# Add Instance Alerts in API Manager (Mule Gateway)

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Instance alerts in API Manager email recipients when request volume, response codes, response times,
or other conditions cross thresholds you set for an API instance on Mule Gateway. You name each
alert, set severity, choose from [alert types](https://docs.mulesoft.com/api-manager/latest/using-api-alerts), configure time ranges as sliding
windows, and specify email recipients. Policy Violation alerts are unavailable for
[automated policies](https://docs.mulesoft.com/gateway/latest/policies-automated-overview), and Omni Gateway instances
use [a separate alert workflow](https://docs.mulesoft.com/gateway/latest/use-api-alerts).

> [!NOTE] This task applies to Mule Gateway runtimes only. To add alerts to instances that use Omni
> Gateway as their runtime, see
> [Using Omni Gateway API Alerts](https://docs.mulesoft.com/gateway/latest/use-api-alerts).

## Configure an Instance Alert

To add an alert to a Mule Gateway instance:

1.  Navigate to **Anypoint Platform** > **API Manager**.

2.  In **API Administration**, click the instance to which to add an alert.

3.  Click **Alerts** > **Add alert**.

4.  Specify the alert options:

    - **Name**:

      Type an alert name, for example `trial-alert`.

      If adding multiple alerts to the same environment, the alerts must have unique names.

    - **Enabled**:

      The default option is **Enabled**.

      You can delete an alert anytime if not required.

    - **Severity**:

      Select a severity for the alert, for example, **Info**.

    - **Alert type**:

      Select the type of alert to create, (for example, **Request Count**) and provide appropriate
      alert configuration values. For information about alert types, see
      [Instance Alerts](https://docs.mulesoft.com/api-manager/latest/using-api-alerts#api-alerts).

      > [!TIP] In the **For at least** and **consecutive period(s) of** fields, enter a value in the
      > range of 1 - 999999999 to specify the time interval as a
      > [sliding window](https://www.techopedia.com/definition/869/sliding-window).

5.  Select **Recipients**.

    Specify which email addresses receive the email notification.

    The first recipient appears in the email **To** field, and the remaining recipients appear in
    the **CC** field.

6.  Click **Create Alert**.

## See Also

- [Review Alerts Concepts](https://docs.mulesoft.com/api-manager/latest/using-api-alerts)

- [Using Omni Gateway API Alerts](https://docs.mulesoft.com/gateway/latest/use-api-alerts)
