---
title: "GET /providers/Microsoft.AlertsManagement/alerts"
method: GET
path: "/providers/Microsoft.AlertsManagement/alerts"
tags: ["AlertGetAllTenantOperation"]
---

# GET /providers/Microsoft.AlertsManagement/alerts

`GET /providers/Microsoft.AlertsManagement/alerts`

List all existing alerts, where the results can be filtered on the basis of multiple parameters (e.g. time range). The results can then be sorted on the basis specific fields, with the default being lastModifiedDateTime.

## Query parameters

- `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
- `smartGroupId` string
- `includeContext` boolean
- `includeEgressConfig` boolean
- `pageCount` integer
- `sortBy` 'name' | 'severity' | 'alertState' | 'monitorCondition' | 'targetResource' | 'targetResourceName' | 'targetResourceGroup' | 'targetResourceType' | 'startDateTime' | 'lastModifiedDateTime'
- `sortOrder` 'asc' | 'desc'
- `select` string
- `timeRange` '1h' | '1d' | '7d' | '30d'
- `customTimeRange` string

## Parameters

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

## Response `200`

Azure operation completed successfully.

- AlertsList — List the alerts.
  - `value` Alert[], required — The Alert items on this page — unresolved $ref
  - `nextLink` string, uri — The link to the next page of items

## 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)
