For Agents
Manage Google Cloud Artifact Registry repositories, packages, and versions across Docker, Maven, npm, Python, apt, and yum formats.
Get started with Artifact Registry API in minutes using your preferred integration method.
# Add to your MCP client config (Claude Desktop, Cursor, Windsurf)
{
"jentic": {
"url": "https://api.jentic.com/mcp",
"auth": "oauth"
}
}
# Then ask your agent:
"list container images in Google Artifact Registry"
# → Jentic returns the GET /events tool with parameter schema, agent executes.What an agent can do with Artifact Registry API API.
Create, list, and delete repositories scoped to a project and region across 7+ package formats
Import apt artifacts in bulk via /v1/{+parent}/aptArtifacts:import for repository migrations
Download a package or version via /v1/{+name}:download to fetch the artifact bytes
Attach metadata files to a version with the attachments resource for SBOMs and signatures
GET STARTED
Use for: I need to create a Docker repository in Artifact Registry in europe-west1, List every container image in a given Artifact Registry repository, Download a specific Maven artifact version from Artifact Registry, Import an existing apt repository into Artifact Registry
Not supported: Does not build artifacts, run CI pipelines, or scan images for vulnerabilities — use for storing, listing, downloading, and deleting versioned packages and container images only.
The Artifact Registry API is Google Cloud's managed service for storing and serving build artifacts including Docker container images, Maven, npm, Python, apt, and yum packages. It exposes operations to manage repositories, list and download package versions, attach files, and import artifacts from supported source formats. Repositories are scoped to a project and location, and access is governed by Cloud IAM roles bound to the registry resource. The API is the single integration surface for CI pipelines, Cloud Build, and Cloud Run when promoting and consuming versioned artifacts.
List repository locations available to a project before deciding where to create a registry
Patch a repository to update labels, cleanup policies, or virtual repository upstreams
Patterns agents use Artifact Registry API API for, with concrete tasks.
★ Container Image Distribution for Cloud Run and GKE
Host Docker images for Cloud Run services and GKE workloads inside a regional Artifact Registry repository, with IAM controls scoped per repository. The API exposes endpoints to create the repository, list images and tags, and delete unused versions to keep storage bounded. Pairs naturally with Cloud Build for push and Cloud Run for pull.
Create a Docker repository in europe-west1, then list all images and delete tags older than 30 days using DELETE /v1/{name}.
Language Package Hosting for Internal Libraries
Run a private Maven, npm, or Python package registry for internal libraries without operating registry infrastructure. The API allows creation of format-specific repositories, version listing, and direct artifact download for builds. Integrates with standard language tooling once the repository URL and IAM-scoped credential are configured.
Create a Python repository, list package versions matching a name prefix, and download a specific .whl via /v1/{name}:download.
Migrating apt Repositories into Google Cloud
Move an existing apt repository hosted on a self-managed server into a Google-managed Artifact Registry by calling the apt import endpoint. Imports run as long-running operations and bring all .deb packages and metadata under a single managed repository with IAM-based access control.
POST a list of source GCS URIs to /v1/{parent}/aptArtifacts:import and poll the returned operation until it completes.
AI Agent Artifact Promotion in CI
Use an AI agent to promote a build artifact from a staging repository to production by inspecting tags, copying the version, and applying a release tag. Through Jentic the agent discovers Artifact Registry operations by intent and calls them with project-scoped credentials supplied at execute time, with no Google Cloud SDK setup required in the agent runtime.
Use Jentic search for 'tag a container image in Artifact Registry', load the operation, and execute it with the source and destination repository names.
34 endpoints — the artifact registry api is google cloud's managed service for storing and serving build artifacts including docker container images, maven, npm, python, apt, and yum packages.
METHOD
PATH
DESCRIPTION
/v1/{+name}/locations
List Artifact Registry locations for a project
/v1/{+name}
Get a repository, package, version, tag, or attachment by resource name
/v1/{+name}
Delete a repository, version, or tag
/v1/{+name}
Update a repository or tag
/v1/{+name}:download
Download an artifact's bytes
/v1/{+parent}/aptArtifacts:import
Bulk import apt packages into a repository
/v1/{+parent}/aptArtifacts:create
Create an apt artifact in a repository
/v1/{+name}/locations
List Artifact Registry locations for a project
/v1/{+name}
Get a repository, package, version, tag, or attachment by resource name
/v1/{+name}
Delete a repository, version, or tag
/v1/{+name}
Update a repository or tag
/v1/{+name}:download
Download an artifact's bytes
Three things that make agents converge on Jentic-routed access.
Credential isolation
Google service account keys are encrypted in the Jentic vault. Agents call Artifact Registry through Jentic with short-lived access tokens minted on demand, never seeing the JSON key file in their context.
Intent-based discovery
Agents search by intent (e.g. 'list container images in Artifact Registry') and Jentic returns the matching Artifact Registry operation with its input schema, instead of the agent traversing Google's discovery document.
Time to first call
Direct integration: 1-3 days for service account setup, IAM bindings, and SDK wiring. Through Jentic: under 1 hour once the service account credential is registered in the vault.
Alternatives and complements available in the Jentic catalogue.
Cloud Build API
Builds and pushes container images and language packages into Artifact Registry
Use Cloud Build to produce the artifact and Artifact Registry to store and version it; the two are designed to be used together.
Kubernetes Engine API
Pulls container images from Artifact Registry to run on GKE clusters
Pair with Artifact Registry when the agent's job is to ship images to a GKE workload rather than just store them.
Binary Authorization API
Enforces deploy-time policy on images stored in Artifact Registry
Add Binary Authorization when an agent must ensure only signed or attested images from the registry can be deployed.
Specific to using Artifact Registry API API through Jentic.
What authentication does the Artifact Registry API use?
The API uses Google OAuth 2.0 with cloud-platform-scoped access tokens. Service accounts authenticate via signed JWTs exchanged for access tokens and must hold the appropriate roles/artifactregistry.* IAM role on the repository. Through Jentic, the service account key sits in the encrypted vault and the agent receives only short-lived access tokens.
Which package formats does the Artifact Registry API support?
The spec exposes endpoints for Docker, Maven, npm, Python, apt, yum, and generic format repositories. The format is set when the repository is created via POST /v1/{parent}/repositories and cannot be changed afterwards.
What are the rate limits for the Artifact Registry API?
Limits are not declared in the OpenAPI spec; they are enforced as project-level quotas on artifactregistry.googleapis.com. Check the IAM and Admin > Quotas page in the Google Cloud console for your project's read and write request limits before scheduling large list or import jobs.
How do I import an apt repository through Jentic?
Run pip install jentic, then search for 'import an apt repository into Artifact Registry'. Jentic returns the POST /v1/{parent}/aptArtifacts:import operation with its schema. Execute it with a list of source GCS URIs and the target repository name; the call returns a long-running operation handle to poll.
Can I download artifact bytes through the API?
Yes. GET /v1/{name}:download returns the raw bytes for a package version. The caller must have artifactregistry.repositories.downloadArtifacts on the repository.
How do I delete unused container tags?
Send DELETE /v1/{name} where name is the full resource path of the tag or version. To automate cleanup, define a repository cleanup policy via PATCH /v1/{repository} so the registry deletes matching versions on a schedule.
/v1/{+parent}/aptArtifacts:import
Bulk import apt packages into a repository
/v1/{+parent}/aptArtifacts:create
Create an apt artifact in a repository