List Topline Alerts
Reference for the GET /console/v1/alerts endpoint of the Statsig API.
https://statsigapi.net/console/v1/alertsAuthorizations
STATSIG-API-KEYstringrequiredapiKey (header)
Query parameters
limitintegerResults per page
10stringnumberpageintegerPage number
1stringnumberResponse
application/jsonmessagestringrequiredA simple string explaining the result of the operation.
dataobject[]requiredShow child attributes
idstringrequiredID of the alert
namestringrequiredName of the alert
alertTypestringrequiredType of alert
thresholdchangepct_changemetricsobjectrequiredList of metrics associated with this alert
metricGroupBysobjectrequiredMetric groupbys
formulastringFormula for the alert
messagestringrequiredAlert message
creatorIDstringcompanyIDstringrequiredprioritystringrequiredPriority of this alert
P0P1P2P3P4P5alertThresholdnumberrequiredformat: doublewarningThresholdnumberformat: doublewindowMsnumberrequiredHow far back and how frequently a metric should be checked, in milliseconds
format: doubleevaluationDelayMsnumberDelay before evaluating metrics, in milliseconds. Use 0 or null to clear.
format: doublenullableconditionstringrequiredCondition under which a metric change triggers an alert in milliseconds
greatergreater_or_equallessless_or_equalequalnot_equalrenotificationConditionsstring[]Condition under which a re-notification is sent
renotificationWindowMsnumberHow long to wait before re-notifying in milliseconds
format: doublerenotificationMessagestringRe-notification message
teamstringTeam associated with this alert
nullableownerobjectSchema for owner data including ID, type, name. Note that if Entity is created by CONSOLE API, owner will be undefined.
{"ownerID":"user123","ownerType":"USER","ownerName":"John Doe","ownerEmail":"owner123@test.com"}nullableownerIDstringID of the owner
abc123ownerTypestringType of the owner (e.g., SDK_KEY or USER)
USERownerNamestringThe name of the owner. This field is optional.
John DoeownerEmailstringThe email of the owner. This field is optional.
tagsstring[]requiredTags associated with this alert
paginationobjectrequiredPagination metadata for checking if there is next page for example.
Show child attributes
itemsPerPagenumberrequiredformat: doublepageNumbernumberrequiredformat: doublenextPagestringrequirednullablepreviousPagestringrequirednullabletotalItemsnumberformat: doubleallstringstatusnumberrequired403messagestringrequiredForbidden resourceWas this helpful?