---
title: "Get the artifacts of the subchannel"
method: GET
path: "/channels/{channel_name}/subchannels/{subchannel_name}/artifacts"
tags: ["channels"]
---

# Get the artifacts of the subchannel

`GET /channels/{channel_name}/subchannels/{subchannel_name}/artifacts`

## Request

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

## Path parameters

- `channel_name` string, required
- `subchannel_name` string, required

## Query parameters

- `q` string
- `only_names` string[]
- `offset` integer
- `limit` integer
- `sort` string[]
- `artifact_family` ArtifactFamily[]
- `platform` string

## Response `200`

get the subchannel artifacts

- object
  - `total_count` number
  - `items` Artifact[]
    - `name` string
    - `family` 'anaconda_project' | 'anaconda_env' | 'cve' | 'conda' | 'python' | 'cran' | 'notebook' | 'docker' | 'sbom'
    - `channel` string
    - `subchannel` string
    - `download_count` number
    - `privacy` 'private' | 'authenticated' | 'public': channel privacy channel
    - `file_count` number: number of files (routes) in the artifact
    - `cve_count` number: number of CVE in the artifact files
    - `metadata` object: family specific fields such as base and version
    - `updated_at` string

## Other responses

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