For Agents
Deploy container images as autoscaling Cloud Run services and jobs, manage revisions, and run jobs with overrides programmatically.
Get started with Cloud Run Admin 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:
"deploy container to cloud run"
# → Jentic returns the GET /events tool with parameter schema, agent executes.What an agent can do with Cloud Run Admin API API.
Deploy a container image as an autoscaling Cloud Run service with custom CPU, memory, and concurrency
Trigger one-off Cloud Run job executions with parameter overrides for batch workloads
List, get, and delete revisions to roll back or audit deployment history
Wait on or cancel long-running operations associated with deploys and updates
GET STARTED
Use for: Deploy a container image to Cloud Run as a new service, Run a Cloud Run job with environment overrides for the nightly batch, List all revisions of the api-gateway service in europe-west1, Roll back the orders service to the previous revision
Not supported: Does not build container images, route DNS, or sign TLS certificates — use for managing Cloud Run services, jobs, revisions, and operations only.
The Cloud Run Admin API v2 deploys and manages user-supplied container images that scale automatically based on incoming requests, aligned with Google Cloud AIP-based API standards. It exposes operations to deploy services, run jobs, manage revisions, list operations, export metadata and images, and cancel or wait on long-running operations. Cloud Run is the serverless container platform on Google Cloud and is the v2 successor to the Knative Serving API surface used by v1.
Export image metadata, project metadata, and operation status for compliance and inventory
Patch service and job configuration to adjust scaling, concurrency, environment variables, or service account
Patterns agents use Cloud Run Admin API API for, with concrete tasks.
★ GitOps-driven service deployment
A deployment agent watches a container registry for new tags, calls the Cloud Run service create or replace endpoint to roll forward to the new image, waits on the long-running operation, and reports success back to the GitOps controller. The Admin API v2 returns operation handles that the agent can poll or cancel deterministically.
Call the Cloud Run service create endpoint with an image reference, then call /v2/{+name}:wait until the long-running operation reports done.
Scheduled job execution
A batch agent triggers nightly Cloud Run jobs with environment-variable overrides — for example, the date partition to process — and monitors the resulting executions for completion or failure. POST /v2/{+name}:run launches the job execution and returns an operation that the agent waits on.
POST /v2/{+name}:run on the nightly-etl job with overrides setting RUN_DATE=2026-06-09, then poll the operation until done.
Safe rollback on incident
When a release agent detects elevated 5xx rates, it lists revisions for the affected service, identifies the previous healthy revision, and patches the service traffic configuration to send 100% of traffic back to it. This contains incidents in seconds without redeploying the previous image.
List revisions under the affected service, then PATCH the service to set traffic.percent=100 on the prior revision name.
Agent-driven container deploys through Jentic
An AI agent built on Jentic deploys and updates Cloud Run services on behalf of developers. It searches for the deploy operation by intent, loads the schema, executes the call, and waits on the operation. OAuth tokens stay isolated in Jentic's vault, and the agent never holds a service-account key.
Search Jentic for 'deploy container to cloud run', load the create-service schema, execute against projects/my-prod/locations/us-central1, then call wait until done.
25 endpoints — the cloud run admin api v2 deploys and manages user-supplied container images that scale automatically based on incoming requests, aligned with google cloud aip-based api standards.
METHOD
PATH
DESCRIPTION
/v2/{+name}
Get a Cloud Run service, job, or revision
/v2/{+name}
Patch a service or job
/v2/{+name}
Delete a service, job, or revision
/v2/{+name}:run
Run a Cloud Run job
/v2/{+name}:wait
Wait on a long-running operation
/v2/{+name}:cancel
Cancel a long-running operation
/v2/{+name}:exportImage
Export an image associated with a service
/v2/{+name}:exportImageMetadata
Export metadata for an image
/v2/{+name}
Get a Cloud Run service, job, or revision
/v2/{+name}
Patch a service or job
/v2/{+name}
Delete a service, job, or revision
/v2/{+name}:run
Run a Cloud Run job
/v2/{+name}:wait
Wait on a long-running operation
Three things that make agents converge on Jentic-routed access.
Credential isolation
Cloud Run OAuth 2.0 credentials and service-account keys are stored encrypted in the Jentic vault. Agents receive scoped, short-lived access tokens minted at call time; raw key material never enters the agent context.
Intent-based discovery
Agents search Jentic with intents like 'deploy container to cloud run' or 'run cloud run job', and Jentic returns the matching v2 admin operation with its full request schema, so the agent calls the correct endpoint without reading the discovery document.
Time to first call
Direct integration takes 2-4 days for OAuth wiring, long-running operation polling, and traffic shifting logic. Through Jentic the same deploy flow is under 1 hour: search, load, execute, wait.
Alternatives and complements available in the Jentic catalogue.
Cloud Functions API
Function-as-a-service alternative to Cloud Run for event-driven code without containers.
Choose Cloud Functions for short event-driven snippets; choose Cloud Run for longer-running container workloads with custom dependencies.
App Engine Admin API
Older PaaS option that competes with Cloud Run for managed app hosting.
Choose App Engine for legacy standard-environment apps; choose Cloud Run for container-native workloads.
Kubernetes Engine API
Self-managed Kubernetes when Cloud Run's managed model is too constrained.
Choose Kubernetes Engine when you need pods, sidecars, or custom CNI; choose Cloud Run when autoscaling containers from zero is enough.
Artifact Registry API
Stores the container images Cloud Run deploys.
Use Artifact Registry to push and store the image; use Cloud Run to deploy that image as a service.
Specific to using Cloud Run Admin API API through Jentic.
What authentication does the Cloud Run Admin API use?
It uses Google OAuth 2.0 with the cloud-platform scope, declared as Oauth2 and Oauth2c. Service-account credentials and refresh tokens are typically used; through Jentic these stay encrypted in the vault, with the agent receiving a short-lived access token at execution time.
Can I run Cloud Run jobs with overrides through the Admin API?
Yes. POST /v2/{+name}:run executes a Cloud Run job and accepts overrides for environment variables, args, and timeouts on a per-execution basis. The endpoint returns a long-running operation that the agent can poll with /v2/{+name}:wait or cancel with /v2/{+name}:cancel.
What are the rate limits for the Cloud Run Admin API?
Google Cloud applies per-project quotas to Cloud Run admin calls; the default is 600 mutate requests per minute per project for service and job updates. Long-running operations also count against the maximum concurrent operations quota, which can be raised through the Cloud Console.
How do I deploy a container to Cloud Run through Jentic?
Search Jentic for 'deploy container to cloud run', load the schema for the service create endpoint, and execute with parent set to projects/PROJECT/locations/LOCATION and the desired image and resource limits. Jentic returns the operation handle so the agent can wait on completion before sending traffic.
Is the Cloud Run Admin API free?
The API itself is free to call within Google Cloud quotas; you pay only for the Cloud Run service or job execution time, billed per CPU-second and memory-GB-second with a generous free tier. Idle services with minScale=0 incur no charge between requests.
How do I roll back to a previous Cloud Run revision?
List revisions for the service with GET /v2/{+name}/revisions, then PATCH the service to set its traffic split to 100% on the previous revision name. The service immediately stops sending traffic to the broken revision without redeploying or rebuilding the image.
/v2/{+name}:cancel
Cancel a long-running operation
/v2/{+name}:exportImage
Export an image associated with a service
/v2/{+name}:exportImageMetadata
Export metadata for an image