---
title: "List Security Dependencies"
method: GET
path: "/snapshots/{snapshot_id}/security/dependencies"
tags: ["security"]
---

# List Security Dependencies

`GET /snapshots/{snapshot_id}/security/dependencies`

## Path parameters

- `snapshot_id` string, required

## Query parameters

- `ecosystem` string, nullable
- `vulnerable_only` boolean
- `dev` boolean, nullable — true=dev-only, false=runtime-only
- `copyleft_only` boolean — only weak-/strong-copyleft license_risk
- `limit` integer
- `offset` integer

## Response `200`

Successful Response

- SecurityDependenciesResponse
  - `items` SecurityDependency[]
    - `id` string, required
    - `ecosystem` string, required
    - `name` string, required
    - `version` string, required
    - `purl` string, nullable
    - `is_dev` boolean, nullable
    - `is_transitive` boolean, nullable
    - `declared_in` string[]
    - `license` string, nullable
    - `license_risk` string, nullable
    - `vuln_count` integer
  - `total` integer
  - `license_rollup` object
  - `has_more` boolean
  - `next_offset` integer, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/repowise/apis/repowise-hosted-api.md) · [All operations](https://skmtc.dev/repowise/apis/repowise-hosted-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/repowise/repowise-hosted-api/revisions/40167ba9ab58/schema)
