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

# Get all dependencies of artifact

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

## Request

- Base URL: `https://api.anaconda.cloud/api`
- URL: `https://api.anaconda.cloud/api/channels/{channel_name}/artifacts/{artifact_family}/{artifact_name}/dependencies`
- Auth: none declared

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

## Response `200`

successfully retrieved all dependencies

- object
  - `total_count` number
  - `items` ArtifactDependency[]
    - `name` string
    - `version` string
    - `artifact` Artifact: The object stored in Repo in as few properties as possible
      - `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

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