---
title: "Get all files of the artifact"
method: GET
path: "/channels/{channel_name}/artifacts/{artifact_family}/{artifact_name}/files"
tags: ["channels"]
---

# Get all files of the artifact

`GET /channels/{channel_name}/artifacts/{artifact_family}/{artifact_name}/files`

## Request

- Base URL: `https://api.anaconda.cloud/api`
- URL: `https://api.anaconda.cloud/api/channels/{channel_name}/artifacts/{artifact_family}/{artifact_name}/files`
- Auth: none declared
- TypeScript: <https://skmtc.dev/anaconda/apis/anaconda-server-api/docs/channels/:channel_name/artifacts/:artifact_family/:artifact_name/files/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `channel_name` string, required
- `artifact_family` 'anaconda_project' | 'anaconda_env' | 'cve' | 'conda' | 'python' | 'cran' | 'notebook' | 'docker' | 'sbom', required
- `artifact_name` string, required

## Query parameters

- `offset` integer
- `limit` integer
- `sort` string[]
- `omit_cve` boolean
- `include_nonsearchable` boolean
- `status` CVEStatus[]
- `max_score` number
- `min_score` number
- `architectures` string[]
- `state` 'active' | 'passive'
- `created_min` string
- `created_max` string
- `ckey` string
- `version` string
- `cve_extra_info` boolean

## Response `200`

successfully retrieved all files

- object
  - `total_count` number
  - `items` ArtifactFile[]
    - `channel` string: artifact's channel
    - `subchannel` string: artifact's subchannel
    - `ckey` string
    - `family` 'anaconda_project' | 'anaconda_env' | 'cve' | 'conda' | 'python' | 'cran' | 'notebook' | 'docker' | 'sbom'
    - `name` string: common_name of the artifact
    - `metadata` object: artifact_type specific fields such as base and version
    - `signatures` object: list of signatures for this artifact
    - `size` number: size of the artifact in bytes
    - `url` string: the location of the file for downloading
    - `cve_count` number
    - `cve_score` number
    - `cve_scores` object
      - `cvssv2` number
      - `cvssv3` number
    - `cve_status` 'reported' | 'active' | 'mitigated' | 'cleared' | 'disputed' | 'unknown'
    - `created_at` string
    - `updated_at` 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
- `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)
