---
title: "Get the CSM Serverless Coverage Analysis"
method: GET
path: "/api/v2/csm/onboarding/coverage_analysis/serverless"
tags: ["CSM Coverage Analysis"]
---

# Get the CSM Serverless Coverage Analysis

`GET /api/v2/csm/onboarding/coverage_analysis/serverless`

Get the CSM Coverage Analysis of your Serverless Resources.
This is calculated based on the number of agents running on your Serverless
Resources with CSM feature(s) enabled.

## Response `200`

OK

- CsmServerlessCoverageAnalysisResponse — CSM Serverless Resources Coverage Analysis response.
  - `data` CsmServerlessCoverageAnalysisData — CSM Serverless Resources Coverage Analysis data.
    - `attributes` CsmServerlessCoverageAnalysisAttributes — CSM Serverless Resources Coverage Analysis attributes.
      - `cws_coverage` CsmCoverageAnalysis — CSM Coverage Analysis.
        - `configured_resources_count` integer — The number of fully configured resources.
        - `coverage` number, double — The coverage percentage.
        - `partially_configured_resources_count` integer — The number of partially configured resources.
        - `total_resources_count` integer — The total number of resources.
      - `org_id` integer — The ID of your organization.
      - `total_coverage` CsmCoverageAnalysis — CSM Coverage Analysis.
        - `configured_resources_count` integer — The number of fully configured resources.
        - `coverage` number, double — The coverage percentage.
        - `partially_configured_resources_count` integer — The number of partially configured resources.
        - `total_resources_count` integer — The total number of resources.
    - `id` string — The ID of your organization.
    - `type` string — The type of the resource. The value should always be `get_serverless_coverage_analysis_response_public_v0`.

## Other responses

- `403` — Not Authorized
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/revisions/da68bf029e4c/schema)
