Product
Jentic OSThe workplace. An in-house AI platform for every employeeJentic OneSafe access. Agents reach your systems without holding keysJentic AIRThe foundation. Gets your existing platforms ready for AI
Pricing
Developers

GET STARTED

API DirectoryBrowse 10,000+ APIs Ready For AI Agent IntegrationDocumentationGuides and API reference

TOOLS

API ScoringCheck your AI Readiness using our scorecardArazzo UIVisualize Arazzo Workflows As Interactive DocumentationArazzo EditorBuild And Edit Multi-Step API Workflows Visually

COMMUNITY

GitHubOpen source projects and examplesOpen StandardsBuilt on open specs. Never locked in.
Resources
Company
About UsOur mission and teamCareersJoin our teamContactGet in touch
Try it now
Jentic OSJentic OneJentic AIR
Pricing
API DirectoryDocumentationAPI ScoringArazzo UIArazzo EditorGitHubOpen Standards
Resources
About UsCareersContact
Try it now
JenticJentic
Products
  • Jentic OS
  • Jentic One
  • Jentic AIR
For Developers
  • API Directory
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
  • Trust Centre
ISO/IEC 27001:2022 certification badge issued by Prescient SecurityISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

AICPA SOC for Service Organizations logoAICPA SOC for Service Organizations logo

SOC 2® Type 1 report

Audited by Prescient Assurance

Terms & Conditions•Privacy Policy•
© 2026 Jentic Technology Ltd. All rights reserved.
2 Grattan Court East, Dublin, D02 VX86, Ireland
Switch to light modeSwitch to dark mode
APIs / Storage / Google / Cloud SQL Admin API
Cloud SQL Admin API logo

Google Cloud SQL Admin API

Browse all Google APIs
40
AI ReadinessNon-Ready (F)40/100
See full scorecard
Official vendor OpenAPI document · agent-readyStorageDatabaseoauth268 EndpointsREST

For Agents

Provision and operate managed MySQL, PostgreSQL, and SQL Server instances on Google Cloud. Run backups, manage databases and users, and orchestrate import and export from the v1 admin surface.

Use for: I want to create a Cloud SQL Postgres instance, List all Cloud SQL instances in a project, Take an on-demand backup of a Cloud SQL instance, Restore a Cloud SQL instance from a backup

Not supported: Does not run application SQL queries, manage schemas inside the database, or handle in-database backups - use for Cloud SQL instance, user, and backup administration only.

The Cloud SQL Admin API (v1) is the generally available administration surface for managed MySQL, PostgreSQL, and SQL Server instances on Google Cloud. It covers instance lifecycle (create, clone, restart, restore from backup, failover, switchover), database and user management, on-demand and scheduled backups, server CA rotation, IP and SSL configuration, and import/export jobs to and from Cloud Storage. New automation should target the v1 path under /v1.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the Cloud SQL Admin API to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Cloud SQL Admin API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.

Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.

1

Step 1: Jentic One Host machine

# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fgoogleapis.com%2Fsqladmin" | sh
2

Step 2: Agent machine

# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fgoogleapis.com%2Fsqladmin" | sh
jentic register       # connects your agent to your Jentic One instance

Jentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.

Capabilities

What an agent can do with Cloud SQL Admin API.

Create, list, update, and delete managed Cloud SQL instances across MySQL, PostgreSQL, and SQL Server

Take on-demand backups and list scheduled backup runs for an instance

Manage databases, users, and SSL certificates on each instance

Run import and export jobs that move data between Cloud SQL and Cloud Storage

Trigger failover or switchover to a read replica for HA recovery testing

Acquire SSRS leases and manage SQL Server-specific lifecycle operations

Use Cases

Patterns agents use Cloud SQL Admin API for, with concrete tasks.

★ Postgres Instance Provisioning

Provision a new Cloud SQL Postgres instance with a chosen tier, region, HA setting, and backup window for a service team. The Admin v1 API exposes instance creation as a long-running operation under /v1/projects/{project}/instances. Combined with calls to create the initial database and an application user, the full setup completes in a few minutes.

POST /v1/projects/myproj/instances with databaseVersion=POSTGRES_15, settings.tier=db-custom-2-7680, settings.availabilityType=REGIONAL.

Nightly Logical Export

Run nightly logical exports of a production Cloud SQL database to a Cloud Storage bucket for offsite retention. The export endpoint accepts a gs:// URI, a list of databases, and SQL or CSV format. Each export is a long-running operation that can be polled until done.

POST /v1/projects/myproj/instances/prod/export with exportContext.uri=gs://backups/prod-2026-06-10.sql.gz and databases=['app_db'].

Failover Drill

Trigger a controlled failover from the primary instance to its replica to validate the recovery path. The Admin v1 API exposes failover and switchover endpoints that return long-running operations, letting the agent confirm completion before redirecting application traffic.

POST /v1/projects/myproj/instances/prod/failover, then poll the returned operation until done.

AI Agent Database Onboarding

An AI agent setting up a new microservice creates a Cloud SQL instance, then a database and an application-scoped user. Through Jentic, the agent searches for the create operations, loads each schema, and executes them in order - the entire onboarding fits inside a single agent reasoning loop.

Search Jentic for 'create a Cloud SQL instance', execute the create call, then chain databases.insert and users.insert against the new instance.

Key Endpoints

68 endpoints — the cloud sql admin api (v1) is the generally available administration surface for managed mysql, postgresql, and sql server instances on google cloud.

METHOD

PATH

DESCRIPTION

GET

/v1/projects/{project}/instances

List Cloud SQL instances in a project

GET

/v1/projects/{project}/instances/{instance}

Get a single Cloud SQL instance

POST

/v1/projects/{project}/instances/{instance}/clone

Clone an instance, optionally to a point in time

GET

/v1/projects/{project}/instances/{instance}/backupRuns

List backup runs for an instance

POST

/v1/projects/{project}/instances/{instance}/acquireSsrsLease

Acquire an SSRS lease on a SQL Server instance

GET

/v1/projects/{project}/instances/{instance}/connectSettings

Read connection settings for an instance

GET

/v1/flags

List supported instance flags

GET

/v1/projects/{project}/instances

List Cloud SQL instances in a project

GET

/v1/projects/{project}/instances/{instance}

Get a single Cloud SQL instance

POST

/v1/projects/{project}/instances/{instance}/clone

Clone an instance, optionally to a point in time

GET

/v1/projects/{project}/instances/{instance}/backupRuns

List backup runs for an instance

POST

/v1/projects/{project}/instances/{instance}/acquireSsrsLease

Acquire an SSRS lease on a SQL Server instance

GET

/v1/projects/{project}/instances/{instance}/connectSettings

Read connection settings for an instance

GET

/v1/flags

List supported instance flags

Jentic AI Readiness Score

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

C

Cloud SQL Admin API

- Non-Ready (F)
40/100
42
Foundational Compliance
56
Developer Experience & Jentic Compatibility
19
AI-Readiness & Agent Experience
91
Agent Usability
63
Security
64
AI Discoverability
Powered by JenticScoring Framework 1.0.0 | Scoring Engine 0.4.0
Show dimension breakdown
42

Foundational Compliance

Base layer of spec validity and structural soundness.

Grade: D-Signals: 4
66%

Lint Results

Aggregated quality score from linter diagnostics, weighted by severity.

100%

Resolution Completeness

Percentage of `$ref` references that resolve successfully.

0%

Specification Validity

Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).

0%

Structural Integrity

Structural correctness score based on schema issues using logarithmic dampening.

56

Developer Experience & Jentic Compatibility

Clarity, completeness, and ingestion readiness for developers and tooling.

Grade: CSignals: 4
0%

Example Density

How richly the API is illustrated with examples.

100%

Example Validity

Percentage of examples that conform to their schemas.

25%

Response Coverage

Percentage of operations with complete response definitions (success, client error, server error).

100%

Tooling Readiness

Health of API ingestion, bundling, and resolution within Jentic pipelines.

19

AI-Readiness & Agent Experience

Semantic breadth, depth, and agent comprehension for AI systems.

Grade: FSignals: 4
76%

Description Coverage

Coverage of descriptions across API elements.

0%

Error Standardization

Coverage of RFC 9457 Problem Details for error responses.

0%

OperationId Quality

Coverage, uniqueness, and casing consistency of operationIds for AI inference.

0%

Summary Coverage

Coverage of summaries across operations/tags/info.

91

Agent Usability

Functional utility, complexity comfort, and AI orchestration readiness.

Grade: A+Signals: 1
91%

Complexity Comfort

Agent comfort level based on API operational and structural complexity.

63

Security

Trust, risk posture, and security compliance.

Grade: B-Signals: 1
62%

Authentication Strength

Average quality of security schemes based on authentication method strength (weakest link for OAuth2).

64

AI Discoverability

Findability, semantic richness, and reasoning readiness.

Grade: BSignals: 1
64%

Descriptive Richness

Clarity and depth of descriptions across API elements.

View full reportHow the score is calculatedMore about the dimensions

Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

Score your own APIScoring CLI agent skill
npx @jentic/api-scorecard-cli score <openapi-url>

Why Jentic?

What agents get from Jentic-routed access to this vendor.

Setup

Wiring the Cloud SQL Admin API by hand means configuring a service account, minting OAuth access tokens against sqladmin.googleapis.com, and tracking its v1 request shapes yourself. Through Jentic you install once, import the Cloud SQL Admin API from the API Directory, store the OAuth credential once, and your agent calls it.

Permission scoping

Cloud SQL Admin puts the project and instance in the URL path (/v1/projects/{project}/instances/{instance}), so a rule can pin your agent to one instance: it can read instance details, databases, and connect settings there and nothing else. You choose the operations it may call, so clone or acquiring an SSRS lease are not included unless you add them.

Credential isolation

Your Cloud SQL Admin OAuth credential is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.

Intent-based discovery

Agents search Jentic by intent such as 'create a Cloud SQL instance' or 'list database flags', and Jentic returns the matching Cloud SQL Admin v1 operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Alternative

Cloud SQL Admin API (v1beta4)

→

Same resource model exposed under the older /sql/v1beta4 path.

Choose v1beta4 only when existing client libraries or runbooks are pinned to /sql/v1beta4. New automation should use this v1 surface.

Alternative

Cloud Spanner API

→

Spanner is globally distributed strongly consistent SQL; Cloud SQL is regional managed MySQL/Postgres/SQL Server.

Choose Spanner for global write scale and strong consistency. Choose Cloud SQL for managed MySQL, Postgres, or SQL Server semantics in a single region.

Alternative

AlloyDB API

→

AlloyDB is a higher-performance Postgres-compatible service tuned for mixed workloads.

Choose AlloyDB when Postgres compatibility plus heavier mixed workloads is the priority. Choose Cloud SQL for the broader MySQL/Postgres/SQL Server choice.

Complementary

Cloud Storage JSON API

→

Cloud Storage holds the dump files used by Cloud SQL import and export operations.

Use Cloud Storage to manage the gs:// buckets and lifecycle rules for Cloud SQL exports before invoking the import/export endpoints.

FAQs

Specific to using Cloud SQL Admin API through Jentic.

What authentication does the Cloud SQL Admin API use?

The Cloud SQL Admin API uses OAuth 2.0 with the cloud-platform or sqlservice.admin scope. Through Jentic, OAuth credentials are stored in your Jentic One instance and exchanged for short-lived access tokens, so service-account JSON keys never enter the agent context.

Can I create a SQL Server instance with this API?

Yes. POST /v1/projects/{project}/instances accepts databaseVersion values including SQLSERVER_2019_STANDARD and SQLSERVER_2019_ENTERPRISE. SQL Server-specific operations like acquireSsrsLease are exposed at /v1/projects/{project}/instances/{instance}/acquireSsrsLease.

What is the difference between this v1 surface and v1beta4?

The v1 path (/v1) is the generally available admin surface and is the recommended target for new integrations. The /sql/v1beta4 surface remains supported for tooling that already calls it but receives slower feature updates than v1.

What are the rate limits for the Cloud SQL Admin API?

Admin API quotas default to a few hundred requests per minute per project, with stricter limits on instance creation and import/export operations. Quotas are visible and adjustable in the Google Cloud Console under IAM and admin > Quotas.

How do I take a backup through Jentic?

Search Jentic for 'back up a Cloud SQL instance', load the backupRuns.insert schema, and execute POST /v1/projects/{project}/instances/{instance}/backupRuns. Jentic returns the long-running operation handle so the agent can poll until the backup is done.

Is the Cloud SQL Admin API free?

The Admin API itself has no per-call charge. Cloud SQL costs come from the underlying instance compute, storage, and backup retention, billed per hour and per GB.

Can I limit what my agent is allowed to do with the Cloud SQL Admin API?

Yes. Because you run Jentic One yourself, your own rules decide which Cloud SQL Admin operations and which OAuth credential the agent may use. Since the API puts the project and instance in the URL path (/v1/projects/{project}/instances/{instance}), you can pin the agent to a single instance and let it read instance details, databases, and connect settings there and nothing else. You choose the exact operations it may call, so destructive or sensitive actions like cloning an instance or acquiring an SSRS lease stay off limits unless you add them.

GET STARTED

Start building with Cloud SQL Admin API

Explore with Jentic One
View OpenAPI Document