Anaconda Artifacts API

Artifact endpoints - search, retrieve, mirror

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Package Registries & Distribution AE-250.10

Operations 11

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /artifacts Search all artifacts in the repo · Get list of all artifacts #
Ask an LLM
“How do I search every package in my Anaconda Server repo?”
“Can I find only the artifacts created on a certain date?”
Tell an agent
Search all artifacts in the repo for {q}.
Find artifacts created on {created}.
GET /artifacts/{artifact_family}/ List artifacts of one type · Get list of all the artifacts of a specific type #
Ask an LLM
“What packages of a given type are in my repo?”
“Can I list only the source packages?”
Tell an agent
List all {artifact_family} artifacts.
Find {artifact_family} packages matching {q}.
GET /artifacts/{artifact_family}/{artifact_name} List artifacts of a name and type · Get list of the artifacts by type and name #
Ask an LLM
“Which artifacts of a given name and type exist in my channels?”
“Can I page through every artifact matching a family and name?”
Tell an agent
List artifacts of type {artifact_family} named {artifact_name}.
Show {limit} artifacts named {artifact_name} in {artifact_family} from offset {offset}.
GET /artifacts/{artifact_family}/{artifact_name}/channels List channels containing a package · Get all channels that have this artifact in it #
Ask an LLM
“Which channels carry a particular package?”
“What channels have a given package in them?”
Tell an agent
List channels that contain {artifact_family} package {artifact_name}.
Show which channels hold {artifact_name} of type {artifact_family}.
GET /artifacts/{artifact_family}/{artifact_name}/{artifact_file}/download Download a package file · Download the artifact file #
Ask an LLM
“How do I download a specific file from a package?”
“Can I fetch one artifact file by its name?”
Tell an agent
Download {artifact_file} from {artifact_family} package {artifact_name}.
Fetch the {artifact_file} file of {artifact_name} ({artifact_family}).
GET /artifacts/{artifact_family}/{artifact_name}/versions List versions of a package · Get list of artifact versions available for this artifact #
Ask an LLM
“What versions of a package are available?”
“Can I see the version history of a package?”
Tell an agent
List versions of {artifact_family} package {artifact_name}.
Show the version history of {artifact_name} ({artifact_family}).
POST /repo/upload Upload an artifact to a channel · Used by repo-proxy to handle upload artifact flow #
Ask an LLM
“How do I upload a package to a channel?”
“What fields does an artifact upload need?”
Tell an agent
Upload {name} to channel {channel} with SHA256 {server_sha256}.
Add {name} to {channel} from temp path {server_temp_path}.
GET /repo/{channel_name}/{ckey:[^/].*?} Read an artifact's contents · Get artifact contents or other information #
Ask an LLM
“How do I download the file behind an artifact key in a channel?”
“Can I get the SBOM for an artifact in one request?”
Tell an agent
Get the artifact with key {ckey} from channel {channel_name}.
Fetch the SBOM for artifact {artifact_key} in channel {channel_name} using sbom option {sbom}.
PATCH /repo/{channel_name}/{ckey:[^/].*?} Patch an artifact's metadata · Patch artifact metadata #
Ask an LLM
“How do I update the metadata of an artifact I already uploaded?”
“Can I change the metadata on an existing artifact in a channel?”
Tell an agent
Patch the metadata of artifact {ckey} in channel {channel_name}.
Update metadata on channel {channel_name}'s artifact {artifact_key}.
GET /repo/{root_version:\d+}.root.json Get a signing root.json by version · Returns root.json for package signing #
Ask an LLM
“Where do I get the root.json for signed package verification?”
“What does root.json look like for a given signing root version?”
Tell an agent
Get root.json for signing root version {root_version}.
Download the {root_number}.root.json signing file.
GET /repo/key_mgr.json Get the key_mgr.json signing file · Returns key_mgr.json for package signing #
Ask an LLM
“Where is the key_mgr.json file for package signing?”
“Which key manager file does package signing use?”
Tell an agent
Get the key_mgr.json signing file.
Download the package signing key manager file.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/anaconda:anaconda-artifacts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

anaconda-artifacts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '6.5'
  title: Anaconda Server Artifacts API
  description: Artifact endpoints - search, retrieve, mirror
servers:
- url: https://api.anaconda.cloud/api
tags:
- name: Artifacts
  description: Artifact endpoints - search, retrieve, mirror
paths:
  /artifacts:
    get:
      x-not-implemented: yellow
      tags:
      - Artifacts
      summary: Get list of all artifacts
      description: Gets all the artifacts regardless of type found within the entire standalone Repo
      operationId: repo.endpoints.artifacts.search_artifacts
      parameters:
      - $ref: '#/components/parameters/offset-query'
      - $ref: '#/components/parameters/limit-query'
      - $ref: '#/components/parameters/search-query'
      - $ref: '#/components/parameters/only_names-query'
      - $ref: '#/components/parameters/artifact-sort-query'
      - $ref: '#/components/parameters/artifact_family-query'
      - $ref: '#/components/parameters/platform-query'
      - $ref: '#/components/parameters/created-query'
      - $ref: '#/components/parameters/updated-query'
      responses:
        '200':
          description: successfully retrieved all artifacts
          content:
            application/json:
              schema:
                type: object
                properties:
                  total_count:
                    type: number
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/Artifact'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /artifacts/{artifact_family}/:
    get:
      x-not-implemented: red
      tags:
      - Artifacts
      summary: Get list of all the artifacts of a specific type
      description: Gets all artifacts that match the given type parameter
      operationId: repo.endpoints.artifacts.get_all_by_type
      parameters:
      - $ref: '#/components/parameters/artifact_family-parameter'
      - $ref: '#/components/parameters/offset-query'
      - $ref: '#/components/parameters/limit-query'
      - $ref: '#/components/parameters/search-query'
      - $ref: '#/components/parameters/artifact-sort-query'
      responses:
        '200':
          description: successfully retrieved all artifacts with the artifact_family
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Artifact'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
      - jwt: []
      deprecated: true
  /artifacts/{artifact_family}/{artifact_name}:
    get:
      x-not-implemented: red
      tags:
      - Artifacts
      summary: Get list of the artifacts by type and name
      description: Search for artifacts matching the artifact_family and artifact_name
      operationId: repo.endpoints.artifacts.get_all_by_type_and_name
      parameters:
      - $ref: '#/components/parameters/artifact_family-parameter'
      - $ref: '#/components/parameters/artifact_name-parameter'
      - $ref: '#/components/parameters/offset-query'
      - $ref: '#/components/parameters/limit-query'
      responses:
        '200':
          description: successfully retrieved all artifacts of type artifact_family
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Artifact'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalServerError'
      deprecated: true
  /artifacts/{artifact_family}/{artifact_name}/channels:
    get:
      x-not-implemented: red
      tags:
      - Artifacts
      summary: Get all channels that have this artifact in it
      operationId: repo.endpoints.artifacts.artifact_channels
      parameters:
      - $ref: '#/components/parameters/artifact_family-parameter'
      - $ref: '#/components/parameters/artifact_name-parameter'
      - $ref: '#/components/parameters/offset-query'
      - $ref: '#/components/parameters/limit-query'
      responses:
        '200':
          description: successfully retrieved all channels using this artifact
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Artifact'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalServerError'
      deprecated: true
  /artifacts/{artifact_family}/{artifact_name}/{artifact_file}/download:
    get:
      x-not-implemented: red
      tags:
      - Artifacts
      summary: Download the artifact file
      operationId: repo.endpoints.artifacts.download_artifact
      parameters:
      - $ref: '#/components/parameters/artifact_family-parameter'
      - $ref: '#/components/parameters/artifact_name-parameter'
      - in: path
        name: artifact_file
        description: the url property of the ArtifactFile to download from
        schema:
          type: string
        required: true
      responses:
        '200':
          description: successfully downloaded the file
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
      deprecated: true
  /artifacts/{artifact_family}/{artifact_name}/versions:
    get:
      x-not-implemented: red
      tags:
      - Artifacts
      summary: Get list of artifact versions available for this artifact
      operationId: repo.endpoints.artifacts.versions
      parameters:
      - $ref: '#/components/parameters/artifact_family-parameter'
      - $ref: '#/components/parameters/artifact_name-parameter'
      - $ref: '#/components/parameters/offset-query'
      - $ref: '#/components/parameters/limit-query'
      responses:
        '200':
          description: returns an array of versions associated with this artifact
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ArtifactVersion'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
      deprecated: true
  /repo/upload:
    post:
      x-internal: true
      summary: Used by repo-proxy to handle upload artifact flow
      operationId: repo.endpoints.artifacts.upload_artifact
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UploadRequest'
      responses:
        '200':
          description: ok
        '400':
          description: metadata format is invalid
      tags:
      - Artifacts
  /repo/{channel_name}/{ckey:[^/].*?}:
    summary: Interacting with artifacts within a channel
    get:
      summary: Get artifact contents or other information
      operationId: repo.endpoints.artifacts.get_artifact
      parameters:
      - $ref: '#/components/parameters/channel-parameter'
      - $ref: '#/components/parameters/ckey-parameter'
      - $ref: '#/components/parameters/sbom-query'
      responses:
        '200':
          description: ok
        '404':
          description: not found
        '422':
          description: proxied file is broken
      tags:
      - Artifacts
    patch:
      summary: Patch artifact metadata
      operationId: repo.endpoints.artifacts.patch_artifact_metadata
      parameters:
      - $ref: '#/components/parameters/channel-parameter'
      - $ref: '#/components/parameters/ckey-parameter'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ArtifactMetadata'
      responses:
        '204':
          description: ok
        '400':
          description: metadata format is invalid
        '404':
          description: file not found
        '422':
          description: proxied file is broken
      tags:
      - Artifacts
      security:
      - jwt: []
      - user_token: []
  /repo/{root_version:\d+}.root.json:
    get:
      summary: Returns root.json for package signing
      operationId: repo.endpoints.signatures.root_json
      parameters:
      - $ref: '#/components/parameters/root_version-parameter'
      responses:
        '200':
          description: ok
        '404':
          description: root.json version not found
      tags:
      - Artifacts
      security: []
  /repo/key_mgr.json:
    get:
      summary: Returns key_mgr.json for package signing
      operationId: repo.endpoints.signatures.key_mgr_json
      responses:
        '200':
          description: ok
        '404':
          description: key_mgr.json is not configured
      tags:
      - Artifacts
      security: []
components:
  parameters:
    created-query:
      in: query
      name: created
      description: timestamp start boundary for when created. I guess this could be either "only artifacts created on this exact date" or "artifacts created on this date and newer"
      schema:
        type: integer
    only_names-query:
      in: query
      name: only_names
      description: list of packages, search for. exact names, separated by comma
      schema:
        type: array
        items:
          type: string
    updated-query:
      in: query
      name: updated
      description: timestamp end boundary
      schema:
        type: integer
    artifact_family-query:
      name: artifact_family
      in: query
      schema:
        type: array
        items:
          $ref: '#/components/schemas/ArtifactFamily'
    offset-query:
      in: query
      name: offset
      required: false
      schema:
        type: integer
        default: 0
      description: the offset of the result set
    artifact-sort-query:
      in: query
      name: sort
      description: property to sort artifacts (may be comma-separated)
      schema:
        type: array
        items:
          type: string
          enum:
          - common_name
          - -common_name
          - download_count
          - -download_count
          - updated_at
          - -updated_at
    sbom-query:
      in: query
      name: sbom
      required: false
      schema:
        type: string
        enum:
        - view
        - download
    artifact_name-parameter:
      name: artifact_name
      in: path
      required: true
      description: the unique name of the artifact
      schema:
        type: string
        example: numpy
    ckey-parameter:
      name: ckey
      in: path
      required: true
      schema:
        type: string
        format: path
    search-query:
      in: query
      name: q
      description: the string to search on
      schema:
        type: string
    artifact_family-parameter:
      name: artifact_family
      in: path
      required: true
      schema:
        $ref: '#/components/schemas/ArtifactFamily'
    limit-query:
      in: query
      name: limit
      required: false
      schema:
        type: integer
        default: 100
      description: the number of results in the result set
    channel-parameter:
      name: channel_name
      in: path
      required: true
      schema:
        type: string
        pattern: ^[a-z][a-z0-9_-]*$
    platform-query:
      name: platform
      in: query
      schema:
        type: string
      description: filter for the platform
    root_version-parameter:
      name: root_version
      in: path
      required: true
      schema:
        type: integer
        minimum: 0
        maximum: 1000
      description: the number of results in the result set
  responses:
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Forbidden:
      description: Access is forbidden
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthenticated:
      description: Unauthenticated, no token is provided or token is invalid
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: The specified resource was not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    BadRequest:
      description: Server cannot execute request due to something that is perceived to be a client error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    ArtifactFamily:
      type: string
      enum:
      - anaconda_project
      - anaconda_env
      - cve
      - conda
      - python
      - cran
      - notebook
      - docker
      - sbom
    ChannelPrivacy:
      description: channel privacy channel
      type: string
      enum:
      - private
      - authenticated
      - public
    Artifact:
      type: object
      description: The object stored in Repo in as few properties as possible
      properties:
        name:
          type: string
        family:
          $ref: '#/components/schemas/ArtifactFamily'
        channel:
          type: string
        subchannel:
          type: string
        download_count:
          type: number
        privacy:
          $ref: '#/components/schemas/ChannelPrivacy'
        file_count:
          description: number of files (routes) in the artifact
          type: number
        cve_count:
          description: number of CVE in the artifact files
          type: number
        metadata:
          type: object
          description: family specific fields such as base and version
        updated_at:
          type: string
    ArtifactMetadata:
      type: object
      description: Artifact's metadata
    UploadRequest:
      type: object
      description: The information that proxy sends us after successful upload
      required:
      - channel
      - name
      - server_temp_path
      - server_sha256
      - server_md5
      - server_size
      - client_fields
      properties:
        channel:
          type: string
        name:
          type: string
        server_temp_path:
          type: string
        server_sha256:
          type: string
        server_md5:
          type: string
        server_size:
          type: integer
        client_fields:
          type: object
    ErrorResponse:
      type: object
      description: The metadata contained in an error response
      properties:
        code:
          type: string
          description: Internal error code. Could be used to show corresponding message text from a message catalog
          example: bad-parameter
        message:
          type: string
          description: Short human-readable error message. Used mainly for logging
          example: Bad request parameter for 'sort'
        status:
          type: integer
          description: The HTTP Status code
          example: 401
    ArtifactVersion:
      type: object
      description: The version or point-in-time that this artifact existed and all it's associated metadata
      properties:
        id:
          type: string
        version:
          type: integer
        name:
          type: string
        file_type:
          description: type of file
          example: conda
          type: string
        created_at:
          description: the date the file was created
          type: string
        updated_at:
          description: date of last update
          type: string
        uploader:
          description: where was this uploaded (channel?)
          type: string
        download_count:
          description: the number of downloads
          type: integer
  securitySchemes:
    jwt:
      type: http
      scheme: bearer
      bearerFormat: JWT
      x-bearerInfoFunc: repo.auth.token_provider.decode_token
    user_token:
      type: apiKey
      name: X-Auth
      in: header
      x-apikeyInfoFunc: repo.auth.token_provider.decode_user_private_token
x-provenance:
  method: harvested
  publisher: Anaconda
  source: https://api.anaconda.cloud/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)