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

# GET /JSON/alert/view/numberOfAlerts/

`GET /JSON/alert/view/numberOfAlerts/`

Gets the number of alerts, optionally filtering by URL or riskId

## 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)
