---
title: "GET /JSON/alert/view/alertsByRisk/"
method: GET
path: "/JSON/alert/view/alertsByRisk/"
tags: ["alert"]
---

# GET /JSON/alert/view/alertsByRisk/

`GET /JSON/alert/view/alertsByRisk/`

Gets a summary of the alerts, optionally filtered by a 'url'. If 'recurse' is true then all alerts that apply to urls that start with the specified 'url' will be returned, otherwise only those on exactly the same 'url' (ignoring url parameters)

## Response `default`

Error of JSON endpoints.

- ErrorJson
  - `code` string, required
  - `message` string, required
  - `detail` string

---

[API](https://skmtc.net/zaproxy/apis/zap-api.md) · [All operations](https://skmtc.net/zaproxy/apis/zap-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zaproxy/zap-api/revisions/bbb71f68ed4c/schema)
