Count Alerts
GET {{baseUrl}}/v2/alerts/count?query=<string>&searchIdentifier=<string>&searchIdentifierType=id
Count alerts in Opsgenie
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
query | string | Search query to apply while filtering the alerts | |
searchIdentifier | string | Identifier of the saved search query to apply while filtering the alerts | |
searchIdentifierType | string | Identifier type of the saved search query. Possible values are id and name. Default value is id. If searchIdentifier is not provided, this value is ignored. |
RESPONSES
status: OK
{"requestId":"pariatur enim dolor officia sed","took":0,"data":{"count":81025449}}