---
title: "Get all package files, associated with specific CVE in the channel"
method: GET
path: "/channels/{channel_name}/cves/{cve_id}/files"
tags: ["channels", "cves"]
---

# Get all package files, associated with specific CVE in the channel

`GET /channels/{channel_name}/cves/{cve_id}/files`

## Request

- Base URL: `https://api.anaconda.cloud/api`
- URL: `https://api.anaconda.cloud/api/channels/{channel_name}/cves/{cve_id}/files`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Auth`
- TypeScript: <https://skmtc.dev/anaconda/apis/anaconda-server-api/docs/channels/:channel_name/cves/:cve_id/files/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `channel_name` string, required
- `cve_id` string, required

## Query parameters

- `offset` integer
- `limit` integer
- `status` CVEStatus[]
- `min_score` number

## Response `200`

successfully returns routes, related to this CVE in the channel

- CVEPackage[]
  - `channel_name` string
  - `parent_channel_name` string
  - `cve_status` 'reported' | 'active' | 'mitigated' | 'cleared' | 'disputed' | 'unknown'
  - `artifact_family` 'anaconda_project' | 'anaconda_env' | 'cve' | 'conda' | 'python' | 'cran' | 'notebook' | 'docker' | 'sbom'
  - `artifact_type` string
  - `ckey` string
  - `common_name` string
  - `blob_sha256` string
  - `blob_size` string

## Other responses

- `400`: Server cannot execute request due to something that is perceived to be a client error
- `401`: Unauthenticated, no token is provided or token is invalid
- `403`: Access is forbidden
- `404`: The specified resource was not found
- `500`: Internal server error

---

[API](https://skmtc.dev/anaconda/apis/anaconda-server-api.md) - [All operations](https://skmtc.dev/anaconda/apis/anaconda-server-api/llms.txt) - [OpenAPI document](https://skmtc.dev/anaconda/apis/anaconda-server-api/revisions/6aef0cb7a151?raw)
