PingCAP Cluster API

Create, get, update, delete, pause, resume, reset the root password, and list node quotas of a cluster.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
IT Infrastructure Management BC-600.50

Operations 32

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /clusters List TiDB Cloud clusters · List clusters #
Ask an LLM
“Which TiDB Cloud clusters exist in my organization?”
“Can I filter clusters by region or state?”
Tell an agent
List all clusters in my organization.
List clusters in region {regionIds} with state {clusterStates}.
POST /clusters Create a TiDB Cloud Dedicated cluster · Create a cluster #
Ask an LLM
“How do I create a dedicated TiDB cluster in a specific region?”
“What node settings do I need to specify when creating a cluster?”
Tell an agent
Create a cluster named {displayName} in {regionId} with TiDB node setting {tidbNodeSetting} and TiKV node setting {tikvNodeSetting}.
Create a cluster {displayName} in {regionId} with TiDB {tidbNodeSetting}, TiKV {tikvNodeSetting} and TiFlash {tiflashNodeSetting}.
GET /clusters/{clusterId} Get a TiDB Cloud cluster · Get a cluster #
Ask an LLM
“What are the details of one TiDB Cloud cluster?”
“Can I look up a cluster by its ID?”
Tell an agent
Get cluster {clusterId}.
Show the configuration of TiDB cluster {clusterId}.
DELETE /clusters/{clusterId} Delete a TiDB Cloud cluster · Delete a cluster #
Ask an LLM
“How do I delete a TiDB Cloud cluster?”
“Can I delete a cluster without validating first?”
Tell an agent destructive · confirm first
Delete cluster {clusterId}.
Delete cluster {clusterId} with validateOnly {validateOnly}.
PATCH /clusters/{clusterId} Update a TiDB Cloud cluster · Update a cluster #
Ask an LLM
“How do I change the node settings of an existing TiDB Cloud cluster?”
“Can I rename a cluster after it's created?”
Tell an agent
Update cluster {clusterId} node settings to TiDB {tidbNodeSetting}, TiKV {tikvNodeSetting} and TiFlash {tiflashNodeSetting}.
Rename cluster {clusterId} to {displayName}.
POST /clusters/{clusterId}:pauseCluster Pause a TiDB Cloud cluster · Pause a cluster #
Ask an LLM
“How do I pause a TiDB Cloud cluster?”
“Can I pause a cluster that is already paused?”
Tell an agent
Pause cluster {clusterId}.
Put TiDB cluster {clusterId} into a paused state.
POST /clusters/{clusterId}:resumeCluster Resume a paused TiDB Cloud cluster · Resume a cluster #
Ask an LLM
“How do I resume a cluster that was paused?”
“Can I resume a cluster that is not paused?”
Tell an agent
Resume cluster {clusterId}.
Unpause TiDB cluster {clusterId}.
POST /clusters/{clusterId}:resetRootPassword Reset a cluster's root password · Reset the root password of a cluster #
Ask an LLM
“How do I reset the root password of a TiDB Cloud cluster?”
“Is the new root password returned after resetting it?”
Tell an agent
Reset the root password of cluster {clusterId} to {rootPassword}.
Set a new root password {rootPassword} on cluster {clusterId}.
GET /clusters:showNodeQuota Show node quotas for the organization · List node quotas for your organization #
Ask an LLM
“How many nodes of each type can my organization have?”
“What is the maximum number of TiDB, TiKV and TiFlash nodes allowed?”
Tell an agent
Show my organization's node quotas.
List the maximum number of nodes per component type.
GET /clusters/{clusterId}/logRedactionPolicy Get a cluster's log redaction policy · Get log redaction policy #
Ask an LLM
“What log redaction policy is set on a cluster?”
“Can I check how logs are redacted for a cluster?”
Tell an agent
Get the log redaction policy for cluster {clusterId}.
Show how logs are redacted on cluster {clusterId}.
PATCH /clusters/{cluster.clusterId} Update a Starter or Essential instance · Update a TiDB Cloud Starter or Essential instance #
Ask an LLM
“How do I resize a TiDB Cloud Starter or Essential instance?”
“Can I update only certain fields of a Starter or Essential cluster?”
Tell an agent
Update Starter or Essential instance {clusterId} with {updateMask}.
Resize instance {clusterId} using update mask {updateMask}.
GET /regions List regions for Starter or Essential clusters · List available regions for an organization #
Ask an LLM
“Which regions can I create a TiDB Cloud Starter or Essential instance in?”
“What regions are available for a new Starter or Essential cluster?”
Tell an agent
List regions available for Starter or Essential clusters.
Show the regions where I can create a new Starter or Essential instance.
GET /api/v1beta/clusters/provider/regions List cloud providers, regions and specs · List the cloud providers, regions and available specifications #
Ask an LLM
“Which cloud providers and regions are available for my clusters?”
“What node specifications can I choose from in each region?”
Tell an agent
List cloud providers, regions and available specifications.
Show the regions and node specs I can use for a cluster.
GET /api/v1beta/projects/{project_id}/aws-cmek List AWS Customer-Managed Encryption Keys · List AWS Customer-Managed Encryption Keys for a project #
Ask an LLM
“Which AWS Customer-Managed Encryption Keys are configured for a project?”
“Can I see the CMEK settings for a project?”
Tell an agent
List AWS CMEK for project {project_id}.
Show the customer-managed encryption keys configured on project {project_id}.
POST /api/v1beta/projects/{project_id}/aws-cmek Configure AWS Customer-Managed Encryption Keys · Configure AWS Customer-Managed Encryption Keys for a project #
Ask an LLM
“How do I enable customer-managed encryption keys on a project?”
“Can I configure CMEK for a project before creating clusters?”
Tell an agent
Configure AWS CMEK {specs} on project {project_id}.
Enable customer-managed encryption keys {specs} for project {project_id}.
GET /api/v1beta/projects/{project_id}/clusters List clusters in a project · List all clusters in a project #
Ask an LLM
“Which clusters belong to a specific project?”
“Can I page through the clusters in one project?”
Tell an agent
List clusters in project {project_id}.
Show project {project_id}'s clusters, {page_size} per page.
POST /api/v1beta/projects/{project_id}/clusters Create a TiDB Cloud cluster · Create a cluster #
Ask an LLM
“Can I create a dedicated TiDB cluster before setting a project CIDR?”
“What cluster tiers can I choose for a new TiDB cluster?”
Tell an agent
Create a {cluster_type} cluster named {name} on {cloud_provider} in region {region} with config {config}.
Set up a new {cluster_type} cluster {name} in project {project_id}.
GET /api/v1beta/projects/{project_id}/clusters/{cluster_id} Get a Starter or Essential cluster · Get a cluster by ID #
Ask an LLM
“What are the details of a Starter or Essential cluster?”
“Can I look up a Starter or Essential cluster by ID?”
Tell an agent
Get Starter or Essential cluster {cluster_id} in project {project_id}.
Show the configuration of cluster {cluster_id} in project {project_id}.
DELETE /api/v1beta/projects/{project_id}/clusters/{cluster_id} Delete a Starter or Essential cluster · Delete a cluster #
Ask an LLM
“How do I delete a Starter or Essential cluster?”
“Can I remove a Starter or Essential cluster from a project?”
Tell an agent destructive · confirm first
Delete Starter or Essential cluster {cluster_id} from project {project_id}.
Remove cluster {cluster_id} in project {project_id}.
PATCH /api/v1beta/projects/{project_id}/clusters/{cluster_id} Modify a TiDB Cloud Dedicated cluster · Modify a TiDB Cloud Dedicated cluster #
Ask an LLM
“How do I modify the components of a TiDB Cloud Dedicated cluster?”
“Can I pause or resume a Dedicated cluster through its config?”
Tell an agent
Modify Dedicated cluster {cluster_id} in project {project_id} with config {config}.
Update the components of Dedicated cluster {cluster_id} in project {project_id} using config {config}.
GET /api/v1beta/projects/{project_id}/clusters/{cluster_id}/private_endpoint_service Get a cluster's private endpoint service · Retrieve the private endpoint service information for a cluster #
Ask an LLM
“How do I see the private endpoint service details for a Dedicated cluster?”
“What does the private endpoint service record look like for my cluster?”
Tell an agent
Show the private endpoint service for cluster {cluster_id} in project {project_id}.
Get the private endpoint service details of cluster {cluster_id} in project {project_id}.
POST /api/v1beta/projects/{project_id}/clusters/{cluster_id}/private_endpoint_service Create a private endpoint service for a cluster · Create a private endpoint service for a cluster #
Ask an LLM
“How do I create a PrivateLink or Private Service Connect service for a cluster?”
“Can I create a private endpoint service for a Starter instance?”
Tell an agent
Create a private endpoint service for cluster {cluster_id} in project {project_id}.
Set up a PrivateLink service for cluster {cluster_id} in project {project_id}.
GET /api/v1beta/projects/{project_id}/clusters/{cluster_id}/private_endpoints List private endpoints on a cluster · List all private endpoints for a cluster #
Ask an LLM
“Which private endpoints are attached to my cluster?”
“Can I see all private endpoints for one cluster?”
Tell an agent
List private endpoints for cluster {cluster_id} in project {project_id}.
Show every private endpoint on cluster {cluster_id} in project {project_id}.
POST /api/v1beta/projects/{project_id}/clusters/{cluster_id}/private_endpoints Create a private endpoint for a cluster · Create a private endpoint for a cluster #
Ask an LLM
“How do I attach a private endpoint to my cluster?”
“What is required to create a private endpoint on a cluster?”
Tell an agent
Create a private endpoint named {endpoint_name} for cluster {cluster_id} in project {project_id}.
Add private endpoint {endpoint_name} to cluster {cluster_id} in project {project_id}.
DELETE /api/v1beta/projects/{project_id}/clusters/{cluster_id}/private_endpoints/{endpoint_id} Delete a private endpoint from a cluster · Delete a private endpoint for a cluster #
Ask an LLM
“How do I remove a private endpoint from my cluster?”
“Can I delete a private endpoint by its ID?”
Tell an agent destructive · confirm first
Delete private endpoint {endpoint_id} from cluster {cluster_id} in project {project_id}.
Remove private endpoint {endpoint_id} on cluster {cluster_id} in project {project_id}.
GET /api/v1beta/projects/{project_id}/private_endpoints List private endpoints across a project · List all private endpoints in a project #
Ask an LLM
“Which private endpoints exist in my whole project?”
“Can I list private endpoints across all clusters in a project?”
Tell an agent
List all private endpoints in project {project_id}.
Show every private endpoint across project {project_id}.
GET /api/v1/cluster/info Get a cluster's topology info · get cluster info such as cluster id #
Ask an LLM
“What topology is my cluster running with?”
“Can I read the cluster info like master and worker topology?”
Tell an agent
Get the cluster info for this cluster.
Show the master, worker and monitoring topology of my cluster.
PUT /api/v1/cluster/info Update a cluster's topology info · update cluster info #
Ask an LLM
“How do I change the master topology of a cluster?”
“Can I update the worker and monitoring topology of a cluster?”
Tell an agent
Update the master topology of this cluster to {master_topology_list}.
Set the worker topology to {worker_topology_list} and alert manager to {alert_manager_topology}.
GET /api/v1/cluster/masters List a cluster's master nodes · get cluster master node list #
Ask an LLM
“Which master nodes are running in my cluster?”
“Can I list the master nodes of a cluster?”
Tell an agent
List the master nodes of my cluster.
Show every master node in the cluster.
DELETE /api/v1/cluster/masters/{master-name} Offline a master node · offline master node #
Ask an LLM
“How do I take a master node offline?”
“Can I offline a master node by name?”
Tell an agent destructive · confirm first
Offline master node {master_name}.
Take master node {master_name} out of the cluster.
GET /api/v1/cluster/workers List a cluster's worker nodes · get cluster worker node list #
Ask an LLM
“Which worker nodes are in my cluster?”
“Can I list the worker nodes of a cluster?”
Tell an agent
List the worker nodes of my cluster.
Show every worker node in the cluster.
DELETE /api/v1/cluster/workers/{worker-name} Offline a worker node · offline worker node #
Ask an LLM
“How do I take a worker node offline?”
“Can I offline a worker node by name?”
Tell an agent destructive · confirm first
Offline worker node {worker_name}.
Take worker node {worker_name} out of the cluster.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pingcap:pingcap-cluster-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pingcap-cluster-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pingcap Cluster API
  x-refined-note:
  - x-logo differs across the merged source definitions and was not carried
  version: '1.0'
  description: 'Operations tagged Cluster across 4 of this provider''s published API definitions: pingcap-tidb-cloud-dedicated-v1beta1-openapi-original.json, pingcap-tidb-cloud-starter-essential-v1beta1-openapi-original.json, pingcap-tidb-cloud-v1beta-openapi-original.json, pingcap-tidb-dm-openapi-original.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://dedicated.tidbapi.com/v1beta1
- url: https://serverless.tidbapi.com/v1beta1
- url: https://api.tidbcloud.com
- url: https://you.domain.com/
tags:


# --- truncated at 32 KB (271 KB total) ---
# Full source: https://artifacts.apis.io/pingcap/openapi/pingcap-cluster-api-openapi.yml