curl --request GET \
--url https://statsigapi.net/console/v1/alerts \
--header 'STATSIG-API-KEY: <api-key>'{
"message": "<string>",
"data": [
{
"id": "<string>",
"name": "<string>",
"alertType": "threshold",
"metrics": {},
"metricGroupBys": {},
"message": "<string>",
"companyID": "<string>",
"priority": "P0",
"alertThreshold": 123,
"windowMs": 123,
"condition": "greater",
"tags": [
"<string>"
],
"formula": "<string>",
"creatorID": "<string>",
"warningThreshold": 123,
"renotificationConditions": [
"raise"
],
"renotificationWindowMs": 123,
"renotificationMessage": "<string>",
"team": "<string>"
}
],
"pagination": {
"itemsPerPage": 123,
"pageNumber": 123,
"nextPage": "<string>",
"previousPage": "<string>",
"totalItems": 123,
"all": "<string>"
}
}curl --request GET \
--url https://statsigapi.net/console/v1/alerts \
--header 'STATSIG-API-KEY: <api-key>'{
"message": "<string>",
"data": [
{
"id": "<string>",
"name": "<string>",
"alertType": "threshold",
"metrics": {},
"metricGroupBys": {},
"message": "<string>",
"companyID": "<string>",
"priority": "P0",
"alertThreshold": 123,
"windowMs": 123,
"condition": "greater",
"tags": [
"<string>"
],
"formula": "<string>",
"creatorID": "<string>",
"warningThreshold": 123,
"renotificationConditions": [
"raise"
],
"renotificationWindowMs": 123,
"renotificationMessage": "<string>",
"team": "<string>"
}
],
"pagination": {
"itemsPerPage": 123,
"pageNumber": 123,
"nextPage": "<string>",
"previousPage": "<string>",
"totalItems": 123,
"all": "<string>"
}
}Optional header to respect review settings for mutation endpoints.
Name of the creator.
ID of the user who created the entity.
Filter by tags
Results per page
10
Page number
1
List Alerts success response
A simple string explaining the result of the operation.
Array of results returned by pagination limit.
Show child attributes
ID of the alert
Name of the alert
Type of alert
threshold List of metrics associated with this alert
Metric groupbys
Alert message
Priority of this alert
P0, P1, P2, P3, P4, P5 How far back and how frequently a metric should be checked, in milliseconds
Condition under which a metric change triggers an alert in milliseconds
greater, greater_or_equal, less, less_or_equal, equal, not_equal Tags associated with this alert
Formula for the alert
Condition under which a re-notification is sent
raise, warn, no-data How long to wait before re-notifying in milliseconds
Re-notification message
Team associated with this alert