---
title: "Get All Scan Stats"
method: GET
path: "/v1/scans/stats"
tags: ["scans"]
---

# Get All Scan Stats

`GET /v1/scans/stats`

Get all scans statistics for a user

## Headers

- `X-Team-Id` string

## Response `200`

Example response

- object
  - `scan_stats` object, required
    - `total_scan` integer, required
    - `total_unique_scan` integer, required
    - `total_uploaded_scan` integer, required
    - `total_scheduled_scan` integer, required
  - `scan_status` object, required
    - `failed` integer, required
    - `finished` integer, required
    - `queued` integer, required
    - `running` integer, required
    - `starting` integer, required
    - `stopped` integer, required
    - `uploaded` integer, required

## Other responses

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

## Changes

- **2025-10-28** `c9df54e2fb2c` — 1 info
  - endpoint added
- **2025-08-13** `c41cd7ae7718` — 1 breaking
  - api path removed without deprecation
- **2024-09-22** `407b73d9ce28` — 1 info
  - added the new optional `header` request parameter `X-Team-Id`
- **2024-04-19** `ba8a20839440` — 21 info
  - the endpoint scheme security `X-API-Key` was added to the API
  - api tag `scans` added
  - added the non-success response with the status `499`
  - added the optional property `code` to the response with the `401` status
  - …17 more
- **2024-01-31** `4f557b176ebd` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/projectdiscovery/apis/pdcp-api/changes/v1/scans/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/c9df54e2fb2c/schema)
