- **dashboardId** – Return alerts for a specified dashboard.
- **panelId** – Return alerts for a specified panel on a dashboard.
- **limit** - Limit response to x number of alerts.
- **dashboardId** – Limit response to alerts in specified dashboard(s). You can specify multiple dashboards, e.g. dashboardId=23&dashboardId=35.
- **panelId** – Limit response to alert for a specified panel on a dashboard.
- **query** - Limit response to alerts having a name like this value.
- **state** - Return alerts with one or more of the following alert states: `ALL`,`no_data`, `paused`, `alerting`, `ok`, `pending`. To specify multiple states use the following format: `?state=paused&state=alerting`
- **limit** - Limit response to *X* number of alerts.
- **folderId** – Limit response to alerts of dashboards in specified folder(s). You can specify multiple folders, e.g. folderId=23&folderId=35.
- **dashboardQuery** - Limit response to alerts having a dashboard name like this value.
- **dashboardTag** - Limit response to alerts of dashboards with specified tags. To do an "AND" filtering with multiple tags, specify the tags parameter multiple times e.g. dashboardTag=tag1&dashboardTag=tag2.
loggedInUserScenarioWithRole("When calling GET on","GET","/api/alerts?dashboardId=1&dashboardId=2&folderId=3&dashboardTag=abc&dashboardQuery=dbQuery&limit=5&query=alertQuery","/api/alerts",m.ROLE_EDITOR,func(sc*scenarioContext){
<gf-form-switchclass="gf-form"label="Alerts from this dashboard"label-class="width-18"checked="ctrl.panel.onlyAlertsOnDashboard"on-change="ctrl.updateStateFilter()"></gf-form-switch>
<inputtype="text"class="gf-form-input"placeholder="Dashboard title query"ng-model="ctrl.panel.dashboardFilter"ng-change="ctrl.onRefresh()"ng-model-onblur>