Artifact Registry API

Store and manage build artifacts in a scalable and integrated service built on Google infrastructure.


To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:


REST Resource: v1beta2.projects.locations

get GET /v1beta2/{name=projects/*/locations/*}
Gets information about a location.
list GET /v1beta2/{name=projects/*}/locations
Lists information about the supported locations for this service.

REST Resource: v1beta2.projects.locations.operations

get GET /v1beta2/{name=projects/*/locations/*/operations/*}
Gets the latest state of a long-running operation.
list GET /v1beta2/{name=projects/*/locations/*}/operations
Lists operations that match the specified filter in the request.

REST Resource: v1beta2.projects.locations.repositories

create POST /v1beta2/{parent=projects/*/locations/*}/repositories
Creates a repository.
delete DELETE /v1beta2/{name=projects/*/locations/*/repositories/*}
Deletes a repository and all of its contents.
get GET /v1beta2/{name=projects/*/locations/*/repositories/*}
Gets a repository.
getIamPolicy GET /v1beta2/{resource=projects/*/locations/*/repositories/*}:getIamPolicy
Gets the IAM policy for a given resource.
list GET /v1beta2/{parent=projects/*/locations/*}/repositories
Lists repositories.
patch PATCH /v1beta2/{*/locations/*/repositories/*}
Updates a repository.
setIamPolicy POST /v1beta2/{resource=projects/*/locations/*/repositories/*}:setIamPolicy
Updates the IAM policy for a given resource.
testIamPermissions POST /v1beta2/{resource=projects/*/locations/*/repositories/*}:testIamPermissions
Tests if the caller has a list of permissions on a resource.

REST Resource: v1beta2.projects.locations.repositories.files

get GET /v1beta2/{name=projects/*/locations/*/repositories/*/files/**}
Gets a file.
list GET /v1beta2/{parent=projects/*/locations/*/repositories/*}/files
Lists files.

REST Resource: v1beta2.projects.locations.repositories.packages

delete DELETE /v1beta2/{name=projects/*/locations/*/repositories/*/packages/*}
Deletes a package and all of its versions and tags.
get GET /v1beta2/{name=projects/*/locations/*/repositories/*/packages/*}
Gets a package.
list GET /v1beta2/{parent=projects/*/locations/*/repositories/*}/packages
Lists packages.

REST Resource: v1beta2.projects.locations.repositories.packages.tags

create POST /v1beta2/{parent=projects/*/locations/*/repositories/*/packages/*}/tags
Creates a tag.
delete DELETE /v1beta2/{name=projects/*/locations/*/repositories/*/packages/*/tags/*}
Deletes a tag.
get GET /v1beta2/{name=projects/*/locations/*/repositories/*/packages/*/tags/*}
Gets a tag.
list GET /v1beta2/{parent=projects/*/locations/*/repositories/*/packages/*}/tags
Lists tags.
patch PATCH /v1beta2/{*/locations/*/repositories/*/packages/*/tags/*}
Updates a tag.

REST Resource: v1beta2.projects.locations.repositories.packages.versions

delete DELETE /v1beta2/{name=projects/*/locations/*/repositories/*/packages/*/versions/*}
Deletes a version and all of its content.
get GET /v1beta2/{name=projects/*/locations/*/repositories/*/packages/*/versions/*}
Gets a version
list GET /v1beta2/{parent=projects/*/locations/*/repositories/*/packages/*}/versions
Lists versions.