---
title: 'Next-Gen WAF: Added top attacks endpoint'
summary: null
url: >-
  https://www.fastly.com/documentation/reference/changes/2026/01/add-ngwaf-top-attacks-endpoint
---

We've added the [Get top attacks for a workspace](https://www.fastly.com/documentation/reference/api/ngwaf/workspaces/) endpoint to the Next-Gen WAF. This endpoint retrieves data on top attacks for a workspace within a specified time range, with aggregation options for analyzing different attack patterns. Results are sorted by request count and can be used in custom dashboards with the top-attacks widget.
