Harness Registry V2 API

registry V2 endpoints

Operations 15

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 /har/api/v2/artifacts List artifact versions in the registry · List Versions #
Ask an LLM
“Which versions of a package are stored in my artifact registry?”
“Can I filter artifact versions by package type or include deleted ones?”
Tell an agent
List all versions of package {package} in registry {registry_identifier}.
Show artifact versions in account {account_identifier} matching {search_term}.
POST /har/api/v2/copy Copy an artifact between registries · Copy Artifact #
Ask an LLM
“How do I promote an artifact from one registry to another?”
“Can I copy a single version of an artifact into a registry in a different project?”
Tell an agent
Copy artifact {src_artifact} version {src_version} from registry {src_registry_identifier} to {target_registry_identifier}.
Promote everything in registry {src_registry_identifier} into registry {target_registry_identifier} in project {target_project_identifier}.
GET /har/api/v2/files/{file_name} Download a registry file by its path · Download file using file path #
Ask an LLM
“How do I download a single file from my artifact registry by its path?”
“Can I fetch a named file out of a registry without pulling the whole package?”
Tell an agent
Download file {file_name} at path {path} from registry {registry_identifier}.
Fetch {file_name} from registry {registry_identifier} using path {path}.
POST /har/api/v2/files/bulk-download Start a bulk download of registry packages · Create a bulk download request #
Ask an LLM
“Can I download several packages or versions from a registry in one archive?”
“What's the way to request a bulk download with a custom output file name?”
Tell an agent
Create a bulk download request for registry {registryId}.
Start a bulk download of packages {packages} from registry {registryId} into file {outputFileName}.
GET /har/api/v2/files/bulk-download/{download_id} Check the status of a bulk download request · Get bulk download request status #
Ask an LLM
“Is my registry bulk download finished yet?”
“How can I track the progress of a bulk download I already requested?”
Tell an agent
Check the status of bulk download {download_id}.
Tell me whether bulk download request {download_id} is ready.
GET /har/api/v2/files/search Search files in a registry · Search Files #
Ask an LLM
“How do I find files in a registry by a search query?”
“Can I page through file search results inside one registry?”
Tell an agent
Search registry {registry_identifier} for files matching {query}.
Find files named like {query} in registry {registry_identifier}, {size} per page.
DELETE /har/api/v2/metadata Delete metadata keys from a registry entity · Delete Metadata #
Ask an LLM
“How do I remove specific metadata keys from a package in my registry?”
“Can I delete metadata from an artifact version rather than the whole package?”
Tell an agent destructive · confirm first
Delete metadata {metadata} from package {package} in registry {registryIdentifier}.
Strip the metadata keys {metadata} off version {version} in {registryIdentifier}.
GET /har/api/v2/metadata Get metadata for a package, version or registry · Get Metadata #
Ask an LLM
“What metadata key-value pairs are attached to a package version in my registry?”
“Can I read registry-level metadata as well as package metadata?”
Tell an agent
Get the metadata for package {package} version {version} in registry {registry_identifier}.
Show registry-level metadata for {registry_identifier}.
POST /har/api/v2/metadata Add or overwrite metadata keys on a registry entity · Update Metadata #
Ask an LLM
“Can I add a metadata tag to a package without losing its other metadata?”
“What's the way to upsert just a few metadata keys on an artifact version?”
Tell an agent
Add metadata {metadata} to package {package} in registry {registryIdentifier}, keeping existing keys.
Upsert metadata {metadata} on version {version} of {package} in {registryIdentifier}.
PUT /har/api/v2/metadata Replace all metadata on a registry entity · Save Metadata #
Ask an LLM
“How do I overwrite a package's metadata so only the new key-value pairs remain?”
“Can I wipe existing registry metadata and save a fresh set in one call?”
Tell an agent
Replace all metadata on package {package} in registry {registryIdentifier} with {metadata}.
Save {metadata} as the only metadata for version {version} of {package} in {registryIdentifier}, removing the old keys.
GET /har/api/v2/metadata/keys List available metadata keys · Get Metadata Keys #
Ask an LLM
“Which metadata keys are in use across my artifact registries?”
“Can I search the list of metadata key names?”
Tell an agent
List all metadata keys for account {account_identifier}.
Find metadata key names containing {search_term} in project {project_identifier}.
GET /har/api/v2/metadata/values List possible values for a metadata key · Get Metadata Values #
Ask an LLM
“What values have been used for a given metadata key?”
“Can I search the values recorded under one metadata key?”
Tell an agent
List the values of metadata key {key}.
Show values of key {key} that match {search_term}.
POST /har/api/v2/oci/tags Add tags to an OCI artifact · Add tags to OCI artifact #
Ask an LLM
“How do I add extra tags to a container image version in my registry?”
“Can I tag an existing OCI artifact version with several new tags at once?”
Tell an agent
Add tags {tags} to {package} version {version} in registry {registry_identifier}.
Tag OCI image {package} at {version} as {tags}.
GET /har/api/v2/packages List images and packages in the registry · List Image/Package #
Ask an LLM
“What images and packages are stored in my artifact registries?”
“Can I list packages of one package type, including deleted ones?”
Tell an agent
List packages in registry {registry_identifier}.
Show images of package type {package_type} matching {search_term}.
GET /har/api/v2/registries List artifact registries · List registries #
Ask an LLM
“Which artifact registries exist in my account or project?”
“Can I include registries from parent or child spaces when listing, or filter by registry type?”
Tell an agent
List the registries in project {project_identifier}.
Show registries of type {type} holding {package_type} packages.

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/harness:harness-registry-v2-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

harness-registry-v2-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Harness Registry V2 API
  version: '1.0'
  description: The Harness Software Delivery Platform uses OpenAPI Specification v3.0.
  contact:
    name: API Support
    email: contact@harness.io
    url: https://harness.io/
  x-logo:
    url: https://mma.prnewswire.com/media/779232/Harnes_logo_horizontal.jpg?p=facebook
    altText: Harness
  termsOfService: https://harness.io/terms-of-use/
servers:
- url: https://app.harness.io
  description: Harness host URL
- url: https://{vanity}
  description: Vanity URL
  variables:
    vanity:
      default: app.harness.io
security:
- x-api-key: []
tags:


# --- truncated at 32 KB (57 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/harness/refs/heads/main/openapi/harness-registry-v2-api-openapi.yml