# Azure Alerts Management Service Resource Provider management API

> Azure Alerts Management Service Resource Provider management API on Apizie: 25 endpoints (List all alert processing rules in a subscription., List all alert processing rules in a resource group., Get an alert processing rule by name., Create or update an alert processing rule., …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:azure-arm-alertsmanagement`
- Category: Cloud
- Status: byok
- Source: https://learn.microsoft.com/rest/api/azure/
- Page: https://apizie.tech/api/cloud/azure-arm-alertsmanagement
- OpenAPI: https://apizie.tech/api/cloud/azure-arm-alertsmanagement/openapi.json

Azure Resource Manager API for Alerts Management Service Resource Provider: manage these Azure resources in your subscription with a Microsoft Entra access token.

## Endpoints

### List all alert processing rules in a subscription.
`GET https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/alert-processing-rules-list-by-subscription` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | The API version to use for this operation. |
| subscriptionId | string | yes | The ID of the target subscription. |

### List all alert processing rules in a resource group.
`GET https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/alert-processing-rules-list-by-resource-group` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | The API version to use for this operation. |
| subscriptionId | string | yes | The ID of the target subscription. |
| resourceGroupName | string | yes | The name of the resource group. The name is case insensitive. |

### Get an alert processing rule by name.
`GET https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/alert-processing-rules-get-by-name` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | The API version to use for this operation. |
| subscriptionId | string | yes | The ID of the target subscription. |
| resourceGroupName | string | yes | The name of the resource group. The name is case insensitive. |
| alertProcessingRuleName | string | yes | The name of the alert processing rule that needs to be fetched. |

### Create or update an alert processing rule.
`POST https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/alert-processing-rules-create-or-update` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | The API version to use for this operation. |
| subscriptionId | string | yes | The ID of the target subscription. |
| resourceGroupName | string | yes | The name of the resource group. The name is case insensitive. |
| alertProcessingRuleName | string | yes | The name of the alert processing rule that needs to be fetched. |
| body | object | yes | JSON request body |

### Enable, disable, or update tags for an alert processing rule.
`POST https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/alert-processing-rules-update` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | The API version to use for this operation. |
| subscriptionId | string | yes | The ID of the target subscription. |
| resourceGroupName | string | yes | The name of the resource group. The name is case insensitive. |
| alertProcessingRuleName | string | yes | The name of the alert processing rule that needs to be fetched. |
| body | object | yes | JSON request body |

### Delete an alert processing rule.
`POST https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/alert-processing-rules-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | The API version to use for this operation. |
| subscriptionId | string | yes | The ID of the target subscription. |
| resourceGroupName | string | yes | The name of the resource group. The name is case insensitive. |
| alertProcessingRuleName | string | yes | The name of the alert processing rule that needs to be fetched. |

### List all the existing Smart Detector alert rules within the subscription.
`GET https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/smart-detector-alert-rules-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| subscriptionId | string | yes | The Azure subscription Id. |
| api-version | string | no | Client Api Version. |
| expandDetector | boolean | no | Indicates if Smart Detector should be expanded. |

### List all the existing Smart Detector alert rules within the subscription and resource group.
`GET https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/smart-detector-alert-rules-list-by-resource-group` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| subscriptionId | string | yes | The Azure subscription Id. |
| resourceGroupName | string | yes | The name of the resource group. |
| api-version | string | no | Client Api Version. |
| expandDetector | boolean | no | Indicates if Smart Detector should be expanded. |

### Get a specific Smart Detector alert rule.
`GET https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/smart-detector-alert-rules-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| subscriptionId | string | yes | The Azure subscription Id. |
| resourceGroupName | string | yes | The name of the resource group. |
| alertRuleName | string | yes | The name of the alert rule. |
| api-version | string | no | Client Api Version. |
| expandDetector | boolean | no | Indicates if Smart Detector should be expanded. |

### Create or update a Smart Detector alert rule.
`POST https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/smart-detector-alert-rules-create-or-update` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| subscriptionId | string | yes | The Azure subscription Id. |
| resourceGroupName | string | yes | The name of the resource group. |
| alertRuleName | string | yes | The name of the alert rule. |
| api-version | string | no | Client Api Version. |
| body | object | yes | JSON request body |

### Patch a specific Smart Detector alert rule.
`POST https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/smart-detector-alert-rules-patch` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| subscriptionId | string | yes | The Azure subscription Id. |
| resourceGroupName | string | yes | The name of the resource group. |
| alertRuleName | string | yes | The name of the alert rule. |
| api-version | string | no | Client Api Version. |
| body | object | yes | JSON request body |

### Delete an existing Smart Detector alert rule.
`POST https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/smart-detector-alert-rules-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| subscriptionId | string | yes | The Azure subscription Id. |
| resourceGroupName | string | yes | The name of the resource group. |
| alertRuleName | string | yes | The name of the alert rule. |
| api-version | string | no | Client Api Version. |

### List all operations available through Azure Alerts Management Resource Provider.
`GET https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/operations-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | API version. |

### List alerts meta data information based on value of identifier parameter.
`GET https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/alerts-meta-data` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | API version. |
| identifier | string | yes | Identification of the information to be retrieved by API call. |

### List all existing alerts, where the results can be filtered on the basis of multiple parameters (e.g. time…
`GET https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/alerts-get-all` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| scope | string | yes | scope here is resourceId for which alert is created. |
| targetResource | string | no | Filter by target resource( which is full ARM ID) Default value is select all. |
| targetResourceType | string | no | Filter by target resource type. Default value is select all. |
| targetResourceGroup | string | no | Filter by target resource group name. Default value is select all. |
| monitorService | string | no | Filter by monitor service which generates the alert instance. Default value is select all. |
| monitorCondition | string | no | Filter by monitor condition which is either 'Fired' or 'Resolved'. Default value is to select all. |
| severity | string | no | Filter by severity. Default value is select all. |
| alertState | string | no | Filter by state of the alert instance. Default value is to select all. |
| alertRule | string | no | Filter by specific alert rule. Default value is to select all. |
| smartGroupId | string | no | Filter the alerts list by the Smart Group Id. Default value is none. |
| includeContext | boolean | no | Include context which has contextual data specific to the monitor service. Default value is false' |
| includeEgressConfig | boolean | no | Include egress config which would be used for displaying the content in portal. Default value is 'false'. |
| pageCount | integer | no | Determines number of alerts returned per page in response. Permissible value is between 1 to 250. When the "includeContent" filter is… |
| sortBy | string | no | Sort the query results by input field, Default value is 'lastModifiedDateTime'. |
| sortOrder | string | no | Sort the query results order in either ascending or descending. Default value is 'desc' for time fields and 'asc' for others. |
| select | string | no | This filter allows to selection of the fields(comma separated) which would be part of the essential section. This would allow to project… |
| timeRange | string | no | Filter by time range by below listed values. Default value is 1 day. |
| customTimeRange | string | no | Filter by custom time range in the format / where time is in (ISO-8601 format)'. Permissible values is within 30 days from query time.… |
| api-version | string | no | API version. |

### Get a specific alert.
`GET https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/alerts-get-by-id` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| scope | string | yes | scope here is resourceId for which alert is created. |
| alertId | string | yes | Unique ID of an alert instance. |
| api-version | string | no | API version. |

### Change the state of an alert. If scope is a deleted resource then please use scope as parent resource of the…
`POST https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/alerts-change-state` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| scope | string | yes | scope here is resourceId for which alert is created. |
| alertId | string | yes | Unique ID of an alert instance. |
| api-version | string | no | API version. |
| newState | string | yes | New state of the alert. |
| body | object | no | JSON request body |

### Get the history of an alert, which captures any monitor condition changes (Fired/Resolved), alert state…
`GET https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/alerts-get-history` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| scope | string | yes | scope here is resourceId for which alert is created. |
| alertId | string | yes | Unique ID of an alert instance. |
| api-version | string | no | The API version to use for this operation. |

### Get a summarized count of your alerts grouped by various parameters (e.g. grouping by 'Severity' returns the…
`GET https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/alerts-get-summary` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| scope | string | yes | scope here is resourceId for which alert is created. |
| groupby | string | yes | This parameter allows the result set to be grouped by input fields. For example, groupby=severity,alertstate. |
| includeSmartGroupsCount | boolean | no | Include count of the SmartGroups as part of the summary. Default value is 'false'. |
| targetResource | string | no | Filter by target resource( which is full ARM ID) Default value is select all. |
| targetResourceType | string | no | Filter by target resource type. Default value is select all. |
| targetResourceGroup | string | no | Filter by target resource group name. Default value is select all. |
| monitorService | string | no | Filter by monitor service which generates the alert instance. Default value is select all. |
| monitorCondition | string | no | Filter by monitor condition which is either 'Fired' or 'Resolved'. Default value is to select all. |
| severity | string | no | Filter by severity. Default value is select all. |
| alertState | string | no | Filter by state of the alert instance. Default value is to select all. |
| alertRule | string | no | Filter by specific alert rule. Default value is to select all. |
| timeRange | string | no | Filter by time range by below listed values. Default value is 1 day. |
| customTimeRange | string | no | Filter by custom time range in the format / where time is in (ISO-8601 format)'. Permissible values is within 30 days from query time.… |
| api-version | string | no | API version. |

### Retrieve Prometheus all rule group definitions in a subscription.
`GET https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/prometheus-rule-groups-list-by-subscription` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | The API version to use for this operation. |
| subscriptionId | string | yes | The ID of the target subscription. |

### Retrieve Prometheus rule group definitions in a resource group.
`GET https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/prometheus-rule-groups-list-by-resource-group` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | The API version to use for this operation. |
| subscriptionId | string | yes | The ID of the target subscription. |
| resourceGroupName | string | yes | The name of the resource group. The name is case insensitive. |

### Retrieve a Prometheus rule group definition.
`GET https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/prometheus-rule-groups-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | The API version to use for this operation. |
| subscriptionId | string | yes | The ID of the target subscription. |
| resourceGroupName | string | yes | The name of the resource group. The name is case insensitive. |
| ruleGroupName | string | yes | The name of the rule group. |

### Create or update a Prometheus rule group definition.
`POST https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/prometheus-rule-groups-create-or-update` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | The API version to use for this operation. |
| subscriptionId | string | yes | The ID of the target subscription. |
| resourceGroupName | string | yes | The name of the resource group. The name is case insensitive. |
| ruleGroupName | string | yes | The name of the rule group. |
| body | object | yes | JSON request body |

### Update an Prometheus rule group definition.
`POST https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/prometheus-rule-groups-update` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | The API version to use for this operation. |
| subscriptionId | string | yes | The ID of the target subscription. |
| resourceGroupName | string | yes | The name of the resource group. The name is case insensitive. |
| ruleGroupName | string | yes | The name of the rule group. |
| body | object | yes | JSON request body |

### Delete a Prometheus rule group definition.
`POST https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/prometheus-rule-groups-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | The API version to use for this operation. |
| subscriptionId | string | yes | The ID of the target subscription. |
| resourceGroupName | string | yes | The name of the resource group. The name is case insensitive. |
| ruleGroupName | string | yes | The name of the rule group. |

## Example
```
curl "https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/alert-processing-rules-list-by-subscription" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Azure Alerts Management Service Resource Provider management API?
Create a free Apizie key, then send GET https://apizie.tech/v1/cloud:azure-arm-alertsmanagement/alert-processing-rules-list-by-subscription with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Azure Alerts Management Service Resource Provider management API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Azure Alerts Management Service Resource Provider management itself also needs your own key from azure.com.

### Can AI agents use the Azure Alerts Management Service Resource Provider management API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:azure-arm-alertsmanagement.

### What is the status of the Azure Alerts Management Service Resource Provider management API?
Needs your own provider key (bring your own key)
