---
title: "POST /detector/{detectorId}/findings/statistics"
method: POST
path: "/detector/{detectorId}/findings/statistics"
---

# POST /detector/{detectorId}/findings/statistics

`POST /detector/{detectorId}/findings/statistics`

Lists Amazon GuardDuty findings statistics for the specified detector ID.

## Path parameters

- `detectorId` string, required

## Request body

- object
  - `findingStatisticTypes` FindingStatisticType[], required — The types of finding statistics to retrieve.
  - `findingCriteria` object — Contains information about the criteria used for querying findings.
    - `Criterion` object — Represents a map of finding properties that match specified conditions and values when querying findings.

## Response `200`

Success

- GetFindingsStatisticsResponse
  - `FindingStatistics` object, required — The finding statistics object.
    - `CountBySeverity` object — Represents a map of severity to count statistics for a set of findings.

## Other responses

- `480` — BadRequestException
- `481` — InternalServerErrorException

---

[API](https://skmtc.net/aws/apis/guardduty.md) · [All operations](https://skmtc.net/aws/apis/guardduty/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/guardduty/versions/d35ef49b25a3/schema)
