PingCAP · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Pingcap Import API
14 actions
14 updates
phrasing
extends
openapi/pingcap-import-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for PingCAP's API. It is a proposal applied on top of the contract, not a document PingCAP publishes.
What the actions change
x-apievangelist-phrasing
Targets 14
$.info
$.paths['/clusters/{clusterId}/imports'].get
$.paths['/clusters/{clusterId}/imports'].post
$.paths['/clusters/{clusterId}/imports/{importId}'].get
$.paths['/clusters/{clusterId}/imports/{importId}:cancel'].post
$.paths['/clusters/{clusterId}/imports/{id}'].get
$.paths['/clusters/{clusterId}/imports/{id}:cancel'].post
$.paths['/api/v1beta/projects/{project_id}/clusters/{cluster_id}/imports'].get
$.paths['/api/v1beta/projects/{project_id}/clusters/{cluster_id}/imports'].post
$.paths['/api/v1beta/projects/{project_id}/clusters/{cluster_id}/imports/preview'].post
$.paths['/api/v1beta/projects/{project_id}/clusters/{cluster_id}/imports/role_info'].get
$.paths['/api/v1beta/projects/{project_id}/clusters/{cluster_id}/imports/upload_file'].post
$.paths['/api/v1beta/projects/{project_id}/clusters/{cluster_id}/imports/{import_id}'].get
$.paths['/api/v1beta/projects/{project_id}/clusters/{cluster_id}/imports/{import_id}'].patch
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Pingcap Import API
version: 1.0.0
extends: openapi/pingcap-import-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-25'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 13
- target: $.paths['/clusters/{clusterId}/imports'].get
update:
x-apievangelist-phrasing:
intent: List import tasks on a cluster
effect: read
questions:
- Which data import tasks have run on my cluster?
- Can I page through a cluster's import history?
instructions:
- text: List import tasks for cluster {clusterId}.
slots:
clusterId: path.clusterId
- text: Show {pageSize} import tasks on cluster {clusterId} ordered by {orderBy}.
slots:
pageSize: query.pageSize
clusterId: path.clusterId
orderBy: query.orderBy
method: generated
generated: '2026-11-25'
- target: $.paths['/clusters/{clusterId}/imports'].post
update:
x-apievangelist-phrasing:
intent: Start an import into a cluster
effect: write
questions:
- How do I import data into a TiDB Cloud cluster?
- Can I name an import task and set its size when I create it?
instructions:
- text: Create an import into cluster {clusterId} with details {creationDetails}.
slots:
clusterId: path.clusterId
creationDetails: requestBody.creationDetails
- text: Start importing {totalSize} bytes into cluster {clusterId} using {creationDetails}.
slots:
totalSize: requestBody.totalSize
clusterId: path.clusterId
creationDetails: requestBody.creationDetails
method: generated
generated: '2026-11-25'
- target: $.paths['/clusters/{clusterId}/imports/{importId}'].get
update:
x-apievangelist-phrasing:
intent: Get an import task on a cluster
effect: read
questions:
- What state is a particular import task on my cluster in?
- Can I look up one import task by its ID?
instructions:
- text: Get import {importId} on cluster {clusterId}.
slots:
importId: path.importId
clusterId: path.clusterId
- text: Show the progress of import {importId} in cluster {clusterId}.
slots:
importId: path.importId
clusterId: path.clusterId
method: generated
generated: '2026-11-25'
- target: $.paths['/clusters/{clusterId}/imports/{importId}:cancel'].post
update:
x-apievangelist-phrasing:
intent: Cancel an import on a cluster
effect: destructive
questions:
- How do I stop an import that is still running on a cluster?
- Can I cancel an import task by its ID?
instructions:
- text: Cancel import {importId} on cluster {clusterId}.
slots:
importId: path.importId
clusterId: path.clusterId
- text: Stop the running import {importId} in cluster {clusterId}.
slots:
importId: path.importId
clusterId: path.clusterId
method: generated
generated: '2026-11-25'
- target: $.paths['/clusters/{clusterId}/imports/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get an import task on Starter or Essential
effect: read
questions:
- Can I fetch an import task from a Starter or Essential cluster by its ID?
- What does the older import endpoint return for a single import?
instructions:
- text: Get import {id} on Starter or Essential cluster {clusterId}.
slots:
id: path.id
clusterId: path.clusterId
- text: Show the status of import {id} in cluster {clusterId}.
slots:
id: path.id
clusterId: path.clusterId
method: generated
generated: '2026-11-25'
- target: $.paths['/clusters/{clusterId}/imports/{id}:cancel'].post
update:
x-apievangelist-phrasing:
intent: Cancel an import task on a Starter or Essential instance
effect: destructive
questions:
- How do I abort a data load running on my TiDB Cloud Starter or Essential instance?
- Can I cancel an import I kicked off by mistake on a Starter instance?
instructions:
- text: Abort the import {id} running on Starter or Essential instance {clusterId}.
slots:
id: path.id
clusterId: path.clusterId
- text: Cancel task {id} on Starter or Essential instance {clusterId} before it finishes.
slots:
id: path.id
clusterId: path.clusterId
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1beta/projects/{project_id}/clusters/{cluster_id}/imports'].get
update:
x-apievangelist-phrasing:
intent: List import tasks in a project cluster
effect: read
questions:
- Which import tasks exist for a cluster in my project?
- Can I list all imports on a project cluster?
instructions:
- text: List import tasks for cluster {cluster_id} in project {project_id}.
slots:
cluster_id: path.cluster_id
project_id: path.project_id
- text: Show every import on project cluster {cluster_id} of project {project_id}.
slots:
cluster_id: path.cluster_id
project_id: path.project_id
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1beta/projects/{project_id}/clusters/{cluster_id}/imports'].post
update:
x-apievangelist-phrasing:
intent: Start an import task in a project cluster
effect: write
questions:
- How do I create an import task in a project cluster?
- Can I preview data before creating an import task?
instructions:
- text: Create import task {name} on project cluster {cluster_id} in project {project_id} with spec {spec}.
slots:
name: requestBody.name
cluster_id: path.cluster_id
project_id: path.project_id
spec: requestBody.spec
- text: Start an import in project {project_id} cluster {cluster_id} using spec {spec}.
slots:
project_id: path.project_id
cluster_id: path.cluster_id
spec: requestBody.spec
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1beta/projects/{project_id}/clusters/{cluster_id}/imports/preview'].post
update:
x-apievangelist-phrasing:
intent: Preview the data before an import
effect: read
questions:
- Can I see how my data will look before I start an import to a cluster?
- What does a preview of imported rows return for each table?
instructions:
- text: Preview the data for import task {spec} on cluster {cluster_id} in project {project_id}.
slots:
spec: requestBody.spec
cluster_id: path.cluster_id
project_id: path.project_id
- text: Show up to {limit_rows_count} rows of each table before importing {spec} to {cluster_id}.
slots:
limit_rows_count: requestBody.limit_rows_count
spec: requestBody.spec
cluster_id: path.cluster_id
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1beta/projects/{project_id}/clusters/{cluster_id}/imports/role_info'].get
update:
x-apievangelist-phrasing:
intent: Get the role for import tasks on a cluster
effect: read
questions:
- Which IAM role does an import task need to read from my data source?
- How do I configure access for import tasks on a cluster?
instructions:
- text: Get the import task role info for project cluster {cluster_id} in project {project_id}.
slots:
cluster_id: path.cluster_id
project_id: path.project_id
- text: Show the access role configuration for imports on cluster {cluster_id} of project {project_id}.
slots:
cluster_id: path.cluster_id
project_id: path.project_id
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1beta/projects/{project_id}/clusters/{cluster_id}/imports/upload_file'].post
update:
x-apievangelist-phrasing:
intent: Upload a local file for an import
effect: write
questions:
- How do I upload a CSV file to import into a Starter cluster?
- Can I upload a local file before creating an import task?
instructions:
- text: Upload local file {local_file_name} to project cluster {cluster_id} in project {project_id} with payload {payload}.
slots:
local_file_name: requestBody.local_file_name
cluster_id: path.cluster_id
project_id: path.project_id
payload: requestBody.payload
- text: Add {local_file_name} to the import staging area of cluster {cluster_id} in project {project_id}.
slots:
local_file_name: requestBody.local_file_name
cluster_id: path.cluster_id
project_id: path.project_id
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1beta/projects/{project_id}/clusters/{cluster_id}/imports/{import_id}'].get
update:
x-apievangelist-phrasing:
intent: Get an import task in a project cluster
effect: read
questions:
- How do I check how an import is going on a cluster inside a project?
- What details are returned for one import task when I give the project, cluster and import IDs?
instructions:
- text: Fetch the import task {import_id} for cluster {cluster_id} under project {project_id}.
slots:
import_id: path.import_id
cluster_id: path.cluster_id
project_id: path.project_id
- text: Check progress of import {import_id} within project {project_id}, cluster {cluster_id}, using the project-scoped endpoint.
slots:
import_id: path.import_id
project_id: path.project_id
cluster_id: path.cluster_id
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1beta/projects/{project_id}/clusters/{cluster_id}/imports/{import_id}'].patch
update:
x-apievangelist-phrasing:
intent: Cancel an import task in a project cluster
effect: destructive
questions:
- Can I cancel an import task that is still preparing or importing?
- What action do I send to cancel an import task?
instructions:
- text: Apply action {action} to import {import_id} on project cluster {cluster_id} in project {project_id}.
slots:
action: requestBody.action
import_id: path.import_id
cluster_id: path.cluster_id
project_id: path.project_id
- text: Cancel import {import_id} in project {project_id} cluster {cluster_id} with action {action}.
slots:
import_id: path.import_id
project_id: path.project_id
cluster_id: path.cluster_id
action: requestBody.action
method: generated
generated: '2026-11-25'
Work with this as data
Every overlay 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 openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/pingcap-import-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.