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

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

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

Retrieves aggregated statistics for your account. If you are a GuardDuty administrator, you can retrieve the statistics for all the resources associated with the active member accounts in your organization who have enabled EKS Runtime Monitoring and have the GuardDuty agent running on their EKS nodes.

## Path parameters

- `detectorId` string, required

## Request body

- object
  - `filterCriteria` object — Represents the criteria used in the filter.
    - `FilterCriterion` CoverageFilterCriterion[] — Represents a condition that when matched will be added to the response of the operation.
      - `CriterionKey` 'ACCOUNT_ID' | 'CLUSTER_NAME' | 'RESOURCE_TYPE' | 'COVERAGE_STATUS' | 'ADDON_VERSION' — An enum value representing possible filter fields.
      - `FilterCondition` object — Contains information about the condition.
        - `Equals` String[] — Represents an equal condition that is applied to a single field while retrieving the coverage details.
        - `NotEquals` String[] — Represents a not equal condition that is applied to a single field while retrieving the coverage details.
  - `statisticsType` CoverageStatisticsType[], required — Represents the statistics type used to aggregate the coverage details.

## Response `200`

Success

- GetCoverageStatisticsResponse
  - `CoverageStatistics` object — Represents the count aggregated by the <code>statusCode</code> and <code>resourceType</code>.
    - `CountByResourceType` object — Represents coverage statistics for EKS clusters aggregated by resource type.
    - `CountByCoverageStatus` object — Represents coverage statistics for EKS clusters aggregated by coverage status.

## 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)
