---
title: "Get SCA resolution coverage"
method: POST
path: "/api/v2/sca/resolutionCoverage"
tags: ["SCA"]
---

# Get SCA resolution coverage

`POST /api/v2/sca/resolutionCoverage`

## Request

- Base URL: `https://zeropath.com`
- URL: `https://zeropath.com/api/v2/sca/resolutionCoverage`
- Auth: API key in header `X-ZeroPath-API-Token-Id` and API key in header `X-ZeroPath-API-Token-Secret`

Return per-ecosystem dependency-resolution coverage for your repositories: for each repository's latest SCA scan, how many manifests were discovered versus fully resolved, broken down by ecosystem. `repositoriesInScope` versus the returned `repositories` lets you tell measured from never-measured (a repo absent from the list was not measured, and must not be assumed fully covered). Use this to quantify dependency coverage and spot repositories or ecosystems with gaps.

## Request body

- ScaResolutionCoverageRequest: Input for fetching per-ecosystem dependency-resolution coverage.
  - `organizationId` string, required: Organization to fetch resolution coverage for.
  - `repositoryIds` string[]: Restrict results to these repositories. If omitted, covers all repositories the caller can access.

## Response `200`

Per-ecosystem resolution coverage by repository

- ScaResolutionCoverageResponse
  - `repositoriesInScope` integer: Repositories in scope. A repo absent from `repositories` was never measured — do not assume full coverage for it.
  - `repositories` object[]
    - `repositoryId` string
    - `repositoryName` string
    - `monorepoName` string, nullable
    - `scaScanId` string
    - `measuredAt` string, date-time
    - `ecosystems` object[]
      - `ecosystem` string
      - `manifestsDiscovered` integer
      - `manifestsResolved` integer

## Other responses

- `400`: Error Response
- `401`: Error Response

---

[API](https://skmtc.dev/zeropath/apis/zeropath-api.md) - [All operations](https://skmtc.dev/zeropath/apis/zeropath-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zeropath/apis/zeropath-api/revisions/126e9c80ba0d?raw)
