---
title: "List packages for an SCA manifest"
method: POST
path: "/api/v1/sca/manifests/packages/search"
tags: ["SCA"]
---

# List packages for an SCA manifest

`POST /api/v1/sca/manifests/packages/search`

## Request

- Base URL: `https://zeropath.com`
- URL: `https://zeropath.com/api/v1/sca/manifests/packages/search`
- Auth: API key in header `X-ZeroPath-API-Token-Id` and API key in header `X-ZeroPath-API-Token-Secret`

Retrieve deduplicated dependency records for a specific manifest.

## Request body

- ListScaManifestPackagesInput
  - `organizationId` string
  - `manifestId` string, required
  - `offset` integer
  - `limit` integer
  - `searchQuery` string
  - `hasVulnerabilities` boolean
  - `transitivity` 'direct' | 'transitive'
  - `packageType` 'public' | 'private'
  - `ecosystems` string[]
  - `sortBy` 'name' | 'vulnerabilities'

## Response `200`

Successful response

- ScaManifestPackageListResponse
  - `packages` ScaManifestPackage[], required
    - `id` string, required
    - `name` string, required
    - `version` string, nullable
    - `ecosystem` string, required
    - `isDirectDependency` boolean, required
    - `hasTransitivePaths` boolean, required
    - `pathCount` integer, required
    - `manifestStartLine` integer, nullable
    - `manifestEndLine` integer, nullable
    - `isPrivate` boolean, required
    - `licenses` ScaManifestPackageLicense[], required
      - `name` string, required
    - `vulnerabilityCount` integer, required
    - `codeScanVulnerabilityId` string, nullable
    - `allInstanceIds` string[], required
    - `repositoryId` string, required
    - `repositoryName` string, required
    - `manifestPath` string, required
    - `branch` string, nullable
    - `commitSha` string, nullable
  - `totalCount` integer, required
  - `hasMore` boolean, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized

---

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