---
title: "Get SCA package"
method: POST
path: "/api/v1/sca/packages/get"
tags: ["SCA"]
---

# Get SCA package

`POST /api/v1/sca/packages/get`

## Request

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

## Request body

- GetScaPackageInput
  - `id` string, required
  - `organizationId` string

## Response `200`

Successful response

- ScaPackage
  - `id` string, required
  - `name` string, required
  - `version` string, nullable
  - `ecosystem` string, required
  - `manifestPath` string, nullable
  - `manifestStartLine` integer, nullable
  - `manifestEndLine` integer, nullable
  - `manifestStartColumn` integer, nullable
  - `manifestEndColumn` integer, nullable
  - `repositoryId` string, nullable
  - `repositoryName` string, nullable
  - `branch` string, nullable
  - `commitSha` string, nullable
  - `count` integer: Number of packages in this group
  - `items` ScaPackage[]

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