---
title: "GET /{scope}/providers/Microsoft.AlertsManagement/alertsSummary"
method: GET
path: "/{scope}/providers/Microsoft.AlertsManagement/alertsSummary"
---

# GET /{scope}/providers/Microsoft.AlertsManagement/alertsSummary

`GET /{scope}/providers/Microsoft.AlertsManagement/alertsSummary`

Get a summarized count of your alerts grouped by various parameters (e.g. grouping by 'Severity' returns the count of alerts for each severity).

## Path parameters

- `scope` string, required

## Query parameters

- `groupby` 'severity' | 'alertState' | 'monitorCondition' | 'monitorService' | 'signalType' | 'alertRule', required
- `includeSmartGroupsCount` boolean
- `targetResource` string
- `targetResourceType` string
- `targetResourceGroup` string
- `monitorService` 'Application Insights' | 'ActivityLog Administrative' | 'ActivityLog Security' | 'ActivityLog Recommendation' | 'ActivityLog Policy' | 'ActivityLog Autoscale' | 'Log Analytics' | 'Nagios' | 'Platform' | 'SCOM' | 'ServiceHealth' | 'SmartDetector' | 'VM Insights' | 'Zabbix' | 'Resource Health'
- `monitorCondition` 'Fired' | 'Resolved'
- `severity` 'Sev0' | 'Sev1' | 'Sev2' | 'Sev3' | 'Sev4'
- `alertState` 'New' | 'Acknowledged' | 'Closed'
- `alertRule` string
- `timeRange` '1h' | '1d' | '7d' | '30d'
- `customTimeRange` string

## Parameters

- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref

## Response `200`

The request has succeeded.

- AlertsSummary — An azure resource object
  - `id` string — Azure resource Id
  - `type` string — Azure resource type
  - `name` string — Azure resource name

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/alertsmanagement-microsoft-alertsmanagement-alertsmanagement.md) · [All operations](https://skmtc.net/azure/apis/alertsmanagement-microsoft-alertsmanagement-alertsmanagement/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/alertsmanagement-microsoft-alertsmanagement-alertsmanagement/revisions/a9b8f211b80c/schema)
