Skip to main content

List Alerts

Returns list of alerts.

External Documentation

To learn more, visit the Opsgenie documentation.

Parameters

ParameterDescription
LimitMaximum number of items to provide in the result. Must be a positive integer value. Default value is 20 and maximum value is 100.
OffsetStart index of the result set (to apply pagination). Minimum value (and also default value) is 0.
OrderSorting order of the result set.
QuerySearch query to apply while filtering the alerts. You can use field:value combination with most alert fields. For more information visit https://support.atlassian.com/opsgenie/docs/search-queries-for-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', or 'name'.
SortName of the field that result set will be sorted by.

Example Output

{
"data": [
{
"acknowledged": false,
"alias": "string",
"count": 0,
"createdAt": "date-time",
"id": "string",
"integration": {
"id": "string",
"name": "string",
"type": "string"
},
"isSeen": false,
"lastOccurredAt": "date-time",
"message": "string",
"owner": "string",
"priority": "string",
"report": {
"ackTime": 0,
"acknowledgedBy": "string",
"closeTime": 0,
"closedBy": "string"
},
"responders": [
{
"id": "string",
"type": "string"
}
],
"snoozed": false,
"snoozedUntil": "date-time",
"source": "string",
"status": "string",
"tags": [
"string"
],
"tinyId": "string",
"updatedAt": "date-time"
}
],
"paging": {
"first": "string",
"last": "string",
"next": "string",
"prev": "string"
},
"requestId": "string",
"took": 0
}

Automation Library Example

List Alerts with Opsgenie and Send Results Via Email

Automation LibraryPreview this Automation on desktop