Skip to main content

Count Alerts

Count alerts in Opsgenie.

External Documentation

To learn more, visit the Opsgenie documentation.

Parameters

ParameterDescription
QuerySearch query to apply while filtering the alerts.
Search IDIdentifier of the saved search query to apply while filtering the alerts.
Search ID TypeIdentifier 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.

Example Output

{
"data": {
"count": 0
},
"requestId": "string",
"took": 0
}

Workflow Library Example

Count Alerts with Opsgenie and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop