v1

latestSwagger 2.02026-07-17290378721.8 KB
legacy_alerts

Get legacy alerts.

get/alerts

Query parameters

dashboardIdstring[]

Limit response to alerts in specified dashboard(s). You can specify multiple dashboards.

panelIdinteger

Limit response to alert for a specified panel on a dashboard.

querystring

Limit response to alerts having a name like this value.

state'all' | 'no_data' | 'paused' | 'alerting' | 'ok' | 'pending' | 'unknown'

Return alerts with one or more of the following alert states

limitinteger

Limit response to X number of alerts.

folderIdstring[]

Limit response to alerts of dashboards in specified folder(s). You can specify multiple folders

dashboardQuerystring

Limit response to alerts having a dashboard name like this value./ Limit response to alerts having a dashboard name like this value.

dashboardTagstring[]

Limit response to alerts of dashboards with specified tags. To do an “AND” filtering with multiple tags, specify the tags parameter multiple times

Response

(empty)

dashboardIdinteger
dashboardSlugstring
dashboardUidstring
evalDataJson
evalDatestring date-time
executionErrorstring
idinteger
namestring
newStateDatestring date-time
panelIdinteger
statestring
urlstring