---
title: Reports
summary: Reports endpoints provide functionality to access account reports on attacks and signals.
url: https://www.fastly.com/documentation/reference/api/ngwaf/reports
---

Reports endpoints provide functionality to access account reports on attacks and signals.

## Data model

| Field | Type | Description |
|-------|------|-------------|
| `all_flagged_ip_count` | integer | Count of IPs that have been flagged. |
| `attack_count` | integer | Attack request count. |
| `blocked_count` | integer | Blocked request count. |
| `flagged_count` | integer | Flagged request count. |
| `flagged_ip_count` | integer | Count of currently flagged IPs. |
| `id` | string | ID of the workspace. |
| `name` | string | Name of the workspace. |
| `top_attack_signals` | array |  |
| `top_attack_sources` | array |  |
| `total_count` | integer | Total request count. |
| `tag_count` | integer | Count of requests with this attack signal. |
| `tag_name` | string | Name of the attack signal tag. |
| `country_code` | string | Country code of the attack source. |
| `country_name` | string | Name of the country. |
| `request_count` | integer | Number of requests from this country. |
| `meta` | object | Metadata about the request. |
| `count` | integer | Total count of attacks of this type. |
| `display_name` | string | Display name of the attack type. |
| `top_workspaces` | array | Top workspaces affected by this attack type. |

## Data model

| Field | Type | Description |
|-------|------|-------------|
| `count` | integer | Count of attacks on this workspace for the specific attack type. |
| `id` | string | ID of the workspace. |
| `name` | string | Name of the workspace. |

## API endpoints

### Get signals report

**GET** `/ngwaf/v1/reports/signals`

Get signals report.

**Parameters:**

| Name | Type | In | Required | Description |
|------|------|----|---------|--------------|
| `from` | string | query | Yes | The start of a time range in RFC 3339 format. |
| `signal_type` | string | query | No | The type of signal. |
| `to` | string | query | No | The end of a time range in RFC 3339 format. Defaults to the current time. |

### Get attacks report

**GET** `/ngwaf/v1/reports/attacks`

Get attacks report.

**Parameters:**

| Name | Type | In | Required | Description |
|------|------|----|---------|--------------|
| `from` | string | query | Yes | The start of a time range in RFC 3339 format. |
| `to` | string | query | No | The end of a time range in RFC 3339 format. Defaults to the current time. |

