Fetching alerts
A list of alerts can be obtained by sending a GET request to the /api/alert_manager/v1/alerts
endpoint.
Query parameters
Parameter |
Type |
Description |
---|---|---|
|
string |
Case-insensitive IDs of the alerts to return. |
|
array of string |
A filter by list of alert types. |
|
array of string |
A filter by list of alert categories. |
|
array of string |
|
|
string |
Case-insensitive IDs of the alerts to exclude. |
|
string |
|
|
boolean |
If true, dismissed alerts will be included in the response. |
|
boolean |
If true, only dismissed alerts will be included in the response. |
|
string |
|
|
string |
|
|
string |
|
|
string |
|
|
integer |
Number of the results returned in the response. |
|
string |
Cursor to the previous results page. |
|
string |
Cursor to the next results page. |
Response structure
If the workloads were fetched successfully, the response returns status 200 with the payload in the following structure:
Name |
Value type |
Description |
---|---|---|
|
string |
The identifier of the alert type. |
|
string |
The identifier of the alert category. |
|
object |
An object that contains the information about the alert. |
|
string |
A human-readable title of the alert. |
|
string |
A human-readable alert category name. |
|
string |
A human-readable description of the alert. |
|
object |
An object with arbitrary keys and values where each key-value pair represents a table row.
Key is the first column, value is the second column of the row.
|
|
string |
The identifier of the tenant where the alert was triggered. |