---
title: "Get error statistics of given scan id"
method: GET
path: "/v1/scans/{scan_id}/error_stats"
---

# Get error statistics of given scan id

`GET /v1/scans/{scan_id}/error_stats`

## Response `200`

OK

- object
  - `data` StatisticsResponse
    - `status_code_stats` object
    - `error_stats` object
    - `waf_stats` object

## Other responses

- `400` — Example response
- `401` — Example response
- `403` — Example response
- `500` — Example response
- `default` — Example response

## Changes

- **2025-10-28** `c9df54e2fb2c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/projectdiscovery/apis/pdcp-api/changes/v1/scans/:scan_id/error_stats/get.md)

---

[API](https://skmtc.dev/projectdiscovery/apis/pdcp-api.md) · [All operations](https://skmtc.dev/projectdiscovery/apis/pdcp-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/projectdiscovery/pdcp-api/revisions/b69f036fb8ff/schema)
