Registry REST API
Interface with Google Cloud Agent Registry endpoints directly via HTTP REST.
# Target Resource Coordinates
Base URL: https://agentregistry.googleapis.com/v1alpha
Parent Resource: projects/fra-mts-m2c-app-dev/locations/eu
Authentication: Bearer token (
gcloud auth print-access-token)# Endpoints
GET/projects/{project}/locations/{location}/skills
Lists all agent skills registered in the specified project and region. Includes publisher skills and corporate private skills.
// Example Query
curl -H "Authorization: Bearer $(gcloud auth print-access-token)" \
"https://agentregistry.googleapis.com/v1alpha/projects/fra-mts-m2c-app-dev/locations/eu/skills?pageSize=1000"
POST/projects/{project}/locations/{location}/skills?skillId=private-<id>
Deploys a new revision of a corporate skill. In automated CI/CD pipelines, skills are initially created in the TARGET_STATE_DRAFT state.