Microsoft Azure Alerts API

The Alerts API from Microsoft Azure, for alerts.

GitHub OpenAPI
Business capability
IT Operations Management BC-600.40

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /providers/Microsoft.ADHybridHealthService/services/{serviceName}/alerts List AD Connect Health alerts for a service · Microsoft Azure Get Providers Microsoft Adhybridhealthservice Services… #
Ask an LLM
“What health alerts has AD Connect Health raised for my service?”
“Can I see only active alerts for a hybrid identity service within a date range?”
Tell an agent
List AD Connect Health alerts for service {serviceName}.
Show {state} alerts for service {serviceName} between {from} and {to}.
GET /providers/Microsoft.ADHybridHealthService/services/{serviceName}/servicemembers/{serviceMemberId}/alerts List health alerts for one server in a service · Microsoft Azure Get Providers Microsoft Adhybridhealthservice Services… #
Ask an LLM
“Which alerts are firing on one specific server in my AD Connect Health service?”
“Can I narrow hybrid health alerts to a single service member?”
Tell an agent
List alerts for server {serviceMemberId} in service {serviceName}.
Show {state} alerts on member {serviceMemberId} of {serviceName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts List alerts on a Data Box Edge device · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“What alerts is my Data Box Edge or Data Box Gateway device reporting?”
“Can I pull every alert for one edge appliance?”
Tell an agent
List alerts on Data Box Edge device {deviceName} in group {resourceGroupName}, subscription {subscriptionId}.
Show all alerts for gateway device {deviceName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts/{name} Get one alert on a Data Box Edge device · Microsoft Azure Gets An Alert By Name #
Ask an LLM
“What are the details of a specific alert on my Data Box Edge device?”
“Can I look up a single edge device alert by name?”
Tell an agent
Get alert {name} on device {deviceName} in group {resourceGroupName}, subscription {subscriptionId}.
Show the edge device alert {name} for {deviceName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorSimple/managers/{managerName}/alerts List alerts in a StorSimple manager · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“What alerts has my StorSimple device manager collected?”
“Can I filter StorSimple manager alerts by severity or status?”
Tell an agent
List alerts in StorSimple manager {managerName}, group {resourceGroupName}, subscription {subscriptionId}.
Show StorSimple alerts in {managerName} matching {filter}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorSimple/managers/{managerName}/clearAlerts Clear alerts in a StorSimple manager · Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I clear resolved alerts from my StorSimple manager?”
“Can I add a resolution note when dismissing StorSimple alerts?”
Tell an agent
Clear alerts {alerts} in StorSimple manager {managerName}, group {resourceGroupName}, subscription {subscriptionId}.
Dismiss alerts {alerts} on {managerName} with note {resolutionMessage}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorSimple/managers/{managerName}/devices/{deviceName}/sendTestAlertEmail Send a test alert email for a StorSimple device · Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I verify that StorSimple alert emails reach my team?”
“Can I send a test alert notification from a StorSimple device?”
Tell an agent
Send a test alert email for device {deviceName} in manager {managerName}, group {resourceGroupName}, subscription {subscriptionId} to {emailList}.
Email a test alert from StorSimple device {deviceName} to {emailList}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-alerts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-alerts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2014-01-01'
  title: Microsoft Azure ADHybridHealthService Alerts API
  description: REST APIs for Azure Active Directory Connect Health
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Alerts
paths:
  /providers/Microsoft.ADHybridHealthService/services/{serviceName}/alerts:
    get:
      tags:
      - Alerts
      description: Gets the alerts for a given service.
      x-ms-examples:
        services_listAlerts:
          $ref: ./examples/Alerts.json
      operationId: microsoftAzureServicesListalerts
      parameters:
      - name: serviceName
        in: path
        description: The name of the service.
        required: true
        schema:
          type: string
      - name: $filter
        in: query
        description: The alert property filter to apply.
        required: false
        schema:
          type: string
      - name: state
        in: query
        description: The alert state to query for.
        required: false
        schema:
          type: string
      - name: from
        in: query
        description: The start date to query for.
        required: false
        schema:
          type: string
          format: date-time
      - name: to
        in: query
        description: The end date till when to query for.
        required: false
        schema:
          type: string
          format: date-time
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '200':
          description: The list of alerts.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Alerts'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Providers Microsoft Adhybridhealthservice Services…
  /providers/Microsoft.ADHybridHealthService/services/{serviceName}/servicemembers/{serviceMemberId}/alerts:
    get:
      tags:
      - Alerts
      description: Gets the details of an alert for a given service and server combination.
      x-ms-examples:
        serviceMembers_listAlerts:
          $ref: ./examples/Server_Alerts.json
      operationId: microsoftAzureServicemembersListalerts
      parameters:
      - name: serviceMemberId
        in: path
        description: The server Id for which the alert details needs to be queried.
        required: true
        schema:
          type: string
          format: uuid
      - name: serviceName
        in: path
        description: The name of the service.
        required: true
        schema:
          type: string
      - name: $filter
        in: query
        description: The alert property filter to apply.
        required: false
        schema:
          type: string
      - name: state
        in: query
        description: The alert state to query for.
        required: false
        schema:
          type: string
      - name: from
        in: query
        description: The start date to query for.
        required: false
        schema:
          type: string
          format: date-time
      - name: to
        in: query
        description: The end date till when to query for.
        required: false
        schema:
          type: string
          format: date-time
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '200':
          description: The list of alerts.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Alerts'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Providers Microsoft Adhybridhealthservice Services…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts
  : get:
      tags:
      - Alerts
      description: Gets all the alerts for a Data Box Edge/Data Box Gateway device.
      operationId: microsoftAzureAlertsListbydataboxedgedevice
      parameters:
      - name: deviceName
        in: path
        description: The device name.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '200':
          description: The collection of alerts.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertList'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        AlertGetAllInDevice:
          $ref: ./examples/AlertGetAllInDevice.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts/{name}
  : get:
      tags:
      - Alerts
      summary: Microsoft Azure Gets An Alert By Name
      operationId: microsoftAzureAlertsGet
      parameters:
      - name: deviceName
        in: path
        description: The device name.
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: The alert name.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '200':
          description: The alert details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Alert'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        AlertGet:
          $ref: ./examples/AlertGet.json
      description: Needs a more full description created.
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorSimple/managers/{managerName}/alerts
  : get:
      tags:
      - Alerts
      description: Retrieves all the alerts in a manager.
      operationId: microsoftAzureAlertsListbymanager
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/managerNameParameter'
      - $ref: '#/components/parameters/apiVersionParameter'
      - name: $filter
        in: query
        description: OData Filter options
        required: false
        schema:
          type: string
      responses:
        '200':
          description: The collection of alerts.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertList'
      deprecated: false
      x-ms-odata: '#/definitions/AlertFilter'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        AlertsListByManager:
          $ref: ./examples/AlertsListByManager.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorSimple/managers/{managerName}/clearAlerts
  : post:
      tags:
      - Alerts
      description: Clear the alerts.
      operationId: microsoftAzureAlertsClear
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/managerNameParameter'
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '204':
          description: Successfully cleared the alerts.
      deprecated: false
      x-ms-examples:
        AlertsClear:
          $ref: ./examples/AlertsClear.json
      summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClearAlertRequest'
        description: The clear alert request.
        required: true
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorSimple/managers/{managerName}/devices/{deviceName}/sendTestAlertEmail
  : post:
      tags:
      - Alerts
      description: Sends a test alert email.
      operationId: microsoftAzureAlertsSendtestemail
      parameters:
      - $ref: '#/components/parameters/deviceNameParameter'
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/managerNameParameter'
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '204':
          description: Successfully sent the test email.
      deprecated: false
      x-ms-examples:
        AlertsSendTestEmail:
          $ref: ./examples/AlertsSendTestEmail.json
      summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendTestAlertEmailRequest'
        description: The send test alert email request.
        required: true
components:
  schemas:
    Alerts:
      description: The list of alerts for a service.
      type: object
      properties:
        value:
          description: The value returned by the operation.
          type: array
          items:
            $ref: '#/components/schemas/Alert'
        nextLink:
          description: The link used to get the next page of operations.
          type: string
        totalCount:
          description: The total count of alert elements.
          type: integer
        continuationToken:
          description: The continuation token for paginated calls.
          type: string
    Item:
      description: The key value pair for properties.
      type: object
      properties:
        key:
          description: The key for the property.
          type: string
        value:
          description: The value for the key.
          type: string
    AdditionalInformation:
      description: The additional information for a property.
      type: object
      properties:
        titleName:
          description: The title name for the property.
          type: string
        titleValue:
          description: The title value for the property.
          type: string
        properties:
          description: The list of properties which are included in the additional information.
          type: object
          items:
            $ref: '#/components/schemas/Item'
        hasProperties:
          description: Indicates if properties are present or not.
          type: boolean
    HelpLink:
      description: The help link which contains more information related to an alert.
      type: object
      properties:
        title:
          description: The title for the link.
          type: string
        url:
          description: The url for the help document.
          type: string
    Alert:
      description: ' The alert details indicating an issue with service or server.'
      type: object
      properties:
        alertId:
          description: The alert Id.
          type: string
          format: uuid
        level:
          description: The alert level which indicates the severity of the alert.
          type: string
          enum:
          - Warning
          - Error
          - PreWarning
          x-ms-enum:
            name: Level
            modelAsString: true
        state:
          description: The alert state which can be either active or resolved with multiple resolution types.
          type: string
          enum:
          - Active
          - ResolvedByPositiveResult
          - ResolvedManually
          - ResolvedByTimer
          - ResolvedByStateChange
          x-ms-enum:
            name: State
            modelAsString: true
        shortName:
          description: The alert short name.
          type: string
        displayName:
          description: The display name for the alert.
          type: string
        description:
          description: The alert description.
          type: string
        remediation:
          description: The alert remediation.
          type: string
        relatedLinks:
          description: The help links to get more information related to the alert.
          type: array
          items:
            $ref: '#/components/schemas/HelpLink'
        scope:
          description: The scope of the alert. Indicates if it is a service or a server related alert.
          type: string
        additionalInformation:
          description: Additional information related to the alert.
          type: array
          items:
            $ref: '#/components/schemas/AdditionalInformation'
        createdDate:
          description: The date and time,in UTC,when the alert was created.
          type: string
          format: date-time
        resolvedDate:
          description: The date and time, in UTC, when the alert was resolved.
          type: string
          format: date-time
        lastUpdated:
          description: The date and time, in UTC, when the alert was last updated.
          type: string
          format: date-time
        monitorRoleType:
          description: The monitoring role type for which the alert was raised.
          type: string
        activeAlertProperties:
          description: The active alert properties.
          type: array
          items:
            $ref: '#/components/schemas/Item'
        resolvedAlertProperties:
          description: The resolved alert properties.
          type: array
          items:
            $ref: '#/components/schemas/Item'
        tenantId:
          description: The tenant Id.
          type: string
          format: uuid
        serviceId:
          description: The service Id.
          type: string
          format: uuid
        serviceMemberId:
          description: The server Id.
          type: string
          format: uuid
    AlertErrorDetails:
      description: Error details for the alert.
      type: object
      properties:
        errorCode:
          description: Error code.
          type: string
          readOnly: true
        errorMessage:
          description: Error Message.
          type: string
          readOnly: true
        occurrences:
          format: int32
          description: Number of occurrences.
          type: integer
          readOnly: true
    CloudErrorBody:
      description: An error response from the service.
      type: object
      properties:
        code:
          description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
          type: string
        message:
          description: A message describing the error, intended to be suitable for display in a user interface.
          type: string
        details:
          description: A list of additional details about the error.
          type: array
          items:
            $ref: '#/components/schemas/CloudErrorBody'
          x-ms-identifiers: []
      x-ms-external: true
    CloudError:
      description: An error response from the service.
      type: object
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorBody'
          description: The error details.
      x-ms-external: true
    AlertList:
      description: Collection of alerts.
      type: object
      properties:
        value:
          description: The value.
          uniqueItems: false
          type: array
          items:
            $ref: '#/components/schemas/Alert'
          readOnly: true
          x-ms-identifiers: []
        nextLink:
          description: Link to the next set of results.
          type: string
          readOnly: true
    AlertProperties:
      description: Properties of alert.
      type: object
      properties:
        title:
          description: Alert title.
          type: string
          readOnly: true
        alertType:
          description: Alert type.
          type: string
          readOnly: true
        appearedAtDateTime:
          format: date-time
          description: UTC time when the alert appeared.
          type: string
          readOnly: true
        recommendation:
          description: Alert recommendation.
          type: string
          readOnly: true
        severity:
          description: Severity of the alert.
          enum:
          - Informational
          - Warning
          - Critical
          type: string
          readOnly: true
          x-ms-enum:
            name: AlertSeverity
            modelAsString: true
        errorDetails:
          $ref: '#/components/schemas/AlertErrorDetails'
          description: Error details of the alert.
          readOnly: true
        detailedInformation:
          description: Alert details.
          type: object
          additionalProperties:
            type: string
          readOnly: true
    ARMBaseModel:
      description: Represents the base class for all object models.
      type: object
      properties:
        id:
          description: The path ID that uniquely identifies the object.
          type: string
          readOnly: true
        name:
          description: The object name.
          type: string
          readOnly: true
        type:
          description: The hierarchical type of the object.
          type: string
          readOnly: true
      x-ms-azure-resource: true
    ClearAlertRequest:
      description: The request for clearing the alert
      required:
      - alerts
      type: object
      properties:
        resolutionMessage:
          description: The resolution message while clearing the alert
          type: string
        alerts:
          description: The list of alert IDs to be cleared
          type: array
          items:
            type: string
    BaseModel:
      description: Represents the base class for all other ARM object models
      type: object
      properties:
        id:
          description: The path ID that uniquely identifies the object.
          type: string
          readOnly: true
        name:
          description: The name of the object.
          type: string
          readOnly: true
        type:
          description: The hierarchical type of the object.
          type: string
          readOnly: true
        kind:
          description: The Kind of the object. Currently only Series8000 is supported
          enum:
          - Series8000
          type: string
          x-ms-enum:
            name: Kind
            modelAsString: false
    AlertSource:
      description: The source details at which the alert was raised
      type: object
      properties:
        name:
          description: The name of the source
          type: string
        timeZone:
          description: The time zone of the source
          type: string
        alertSourceType:
          description: The source type of the alert
          enum:
          - Resource
          - Device
          type: string
          x-ms-enum:
            name: AlertSourceType
            modelAsString: false
    SendTestAlertEmailRequest:
      description: The request for sending test alert email
      required:
      - emailList
      type: object
      properties:
        emailList:
          description: The list of email IDs to send the test alert email
          type: array
          items:
            type: string
    Error:
      required:
      - errorCode
      - message
      type: object
      properties:
        errorCode:
          type: string
        message:
          $ref: '#/components/schemas/Message'
        values:
          type: array
          items:
            $ref: '#/components/schemas/Item'
          x-ms-identifiers:
          - key
    Message:
      type: object
      properties:
        language:
          type: string
        value:
          type: string
  parameters:
    apiVersionParameter:
      name: api-version
      in: query
      description: The version of the API to be used with the client request.
      required: true
      schema:
        type: string
    resourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: The resource group name.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    subscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The subscription ID.
      required: true
      schema:
        type: string
    managerNameParameter:
      name: managerName
      in: path
      description: The manager name
      required: true
      x-ms-parameter-location: method
      x-ms-skip-url-encoding: true
      schema:
        type: string
        maxLength: 50
        minLength: 2
    deviceNameParameter:
      name: deviceName
      in: path
      description: The device name
      required: true
      x-ms-parameter-location: method
      x-ms-skip-url-encoding: true
      schema:
        type: string
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.