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.
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, change, pct_change 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
Pagination metadata for checking if there is next page for example.
Was this page helpful?