PingCAP · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for DM OpenAPI DOC Task API
22 actions
22 updates
phrasing
extends
openapi/pingcap-task-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 22 · first 16 shown; the file carries all of them
$.info
$.paths['/api/v1/tasks'].get
$.paths['/api/v1/tasks'].post
$.paths['/api/v1/tasks/{task-name}'].get
$.paths['/api/v1/tasks/{task-name}'].put
$.paths['/api/v1/tasks/{task-name}'].delete
$.paths['/api/v1/tasks/{task-name}/status'].get
$.paths['/api/v1/tasks/{task-name}/start'].post
$.paths['/api/v1/tasks/{task-name}/stop'].post
$.paths['/api/v1/tasks/{task-name}/sources/{source-name}/migrate_targets'].get
$.paths['/api/v1/tasks/{task-name}/sources/{source-name}/schemas'].get
$.paths['/api/v1/tasks/{task-name}/sources/{source-name}/schemas/{schema-name}'].get
$.paths['/api/v1/tasks/{task-name}/sources/{source-name}/schemas/{schema-name}/{table-name}'].get
$.paths['/api/v1/tasks/{task-name}/sources/{source-name}/schemas/{schema-name}/{table-name}'].put
$.paths['/api/v1/tasks/{task-name}/sources/{source-name}/schemas/{schema-name}/{table-name}'].delete
$.paths['/api/v1/tasks/converters'].post
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 DM OpenAPI DOC Task API
version: 1.0.0
extends: openapi/pingcap-task-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: 21
- target: $.paths['/api/v1/tasks'].get
update:
x-apievangelist-phrasing:
intent: List data migration tasks
effect: read
questions:
- Which data migration tasks are configured in DM?
- Can I list tasks that are in a particular stage?
instructions:
- text: List all data migration tasks.
- text: List tasks in stage {stage}.
slots:
stage: query.stage
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1/tasks'].post
update:
x-apievangelist-phrasing:
intent: Create a data migration task
effect: write
questions:
- How do I create a new data migration task?
- What do I need to configure a new task, like the source and target databases?
instructions:
- text: Create a data migration task {task}.
slots:
task: requestBody.task
- text: Set up a new task with source {source} and target {target}.
slots:
source: requestBody.task
target: requestBody.task
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1/tasks/{task-name}'].get
update:
x-apievangelist-phrasing:
intent: Get a data migration task
effect: read
questions:
- What are the settings of one data migration task?
- Can I fetch a task's configuration by its name?
instructions:
- text: Get data migration task {task_name}.
slots:
task_name: path.task-name
- text: Show the configuration of task {task_name}.
slots:
task_name: path.task-name
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1/tasks/{task-name}'].put
update:
x-apievangelist-phrasing:
intent: Update a data migration task
effect: write
questions:
- How do I change the configuration of an existing data migration task?
- Can I edit a task's settings after it's created?
instructions:
- text: Update data migration task {task_name} with {task}.
slots:
task_name: path.task-name
task: requestBody.task
- text: Change the settings of existing task {task_name}.
slots:
task_name: path.task-name
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1/tasks/{task-name}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a data migration task
effect: destructive
questions:
- How do I delete a data migration task?
- Can I force-delete a task that still has running subtasks?
instructions:
- text: Delete data migration task {task_name}.
slots:
task_name: path.task-name
- text: Force delete task {task_name} with force {force}.
slots:
task_name: path.task-name
force: query.force
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1/tasks/{task-name}/status'].get
update:
x-apievangelist-phrasing:
intent: Get a data migration task's status
effect: read
questions:
- Is my data migration task running, paused or stopped?
- Can I check the status of a task for specific source databases?
instructions:
- text: Get the status of data migration task {task_name}.
slots:
task_name: path.task-name
- text: Show task {task_name} status for sources {source_name_list}.
slots:
task_name: path.task-name
source_name_list: query.source_name_list
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1/tasks/{task-name}/start'].post
update:
x-apievangelist-phrasing:
intent: Start a data migration task
effect: write
questions:
- How do I start a data migration task?
- Can I remove the downstream meta database when starting a task?
instructions:
- text: Start data migration task {task_name}.
slots:
task_name: path.task-name
- text: 'Start task {task_name} and remove its downstream meta database: {remove_meta}.'
slots:
task_name: path.task-name
remove_meta: requestBody.remove_meta
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1/tasks/{task-name}/stop'].post
update:
x-apievangelist-phrasing:
intent: Stop a data migration task
effect: write
questions:
- How do I stop a data migration task?
- Can I wait a certain time before a task is stopped?
instructions:
- text: Stop data migration task {task_name}.
slots:
task_name: path.task-name
- text: Stop task {task_name} with a timeout of {timeout_duration}.
slots:
task_name: path.task-name
timeout_duration: requestBody.timeout_duration
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1/tasks/{task-name}/sources/{source-name}/migrate_targets'].get
update:
x-apievangelist-phrasing:
intent: Get source-to-target table routes for a task
effect: read
questions:
- Which source tables are mapped to which target tables in a task?
- Can I filter the table route mapping for one schema pattern?
instructions:
- text: Get the source-to-target table route mapping for task {task_name} on source {source_name}.
slots:
task_name: path.task-name
source_name: path.source-name
- text: Show task {task_name} source {source_name} table routes matching {schema_pattern}.
slots:
task_name: path.task-name
source_name: path.source-name
schema_pattern: query.schema_pattern
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1/tasks/{task-name}/sources/{source-name}/schemas'].get
update:
x-apievangelist-phrasing:
intent: List source schemas for a task
effect: read
questions:
- What schemas are being migrated in a task from a given source?
- Can I list the source database schemas a task is pulling from?
instructions:
- text: List source schemas for task {task_name} on source {source_name}.
slots:
task_name: path.task-name
source_name: path.source-name
- text: Show the schemas in task {task_name} from source {source_name}.
slots:
task_name: path.task-name
source_name: path.source-name
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1/tasks/{task-name}/sources/{source-name}/schemas/{schema-name}'].get
update:
x-apievangelist-phrasing:
intent: List tables in a source schema
effect: read
questions:
- Which tables exist in a source database schema for a task?
- Can I see the table list for one source of a task?
instructions:
- text: List tables in source {source_name}, schema {schema_name}, task {task_name}.
slots:
source_name: path.source-name
schema_name: path.schema-name
task_name: path.task-name
- text: Show the tables of {schema_name} in task {task_name} source {source_name}.
slots:
schema_name: path.schema-name
task_name: path.task-name
source_name: path.source-name
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1/tasks/{task-name}/sources/{source-name}/schemas/{schema-name}/{table-name}'].get
update:
x-apievangelist-phrasing:
intent: Get a source table's structure in a task
effect: read
questions:
- What are the column definitions of a source table in a task?
- Can I see the source table structure for one task and source?
instructions:
- text: Get the structure of source table {table_name} in task {task_name} on source {source_name} schema {schema_name}.
slots:
table_name: path.table-name
task_name: path.task-name
source_name: path.source-name
schema_name: path.schema-name
- text: Show source table {table_name} structure for task {task_name}, source {source_name}, schema {schema_name}.
slots:
table_name: path.table-name
task_name: path.task-name
source_name: path.source-name
schema_name: path.schema-name
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1/tasks/{task-name}/sources/{source-name}/schemas/{schema-name}/{table-name}'].put
update:
x-apievangelist-phrasing:
intent: Alter a source table's structure in a task
effect: write
questions:
- How do I run a DDL on a source table while a task is running?
- Can I flush the schema change to the checkpoint right away?
instructions:
- text: Run SQL {sql_content} on source table {table_name} in task {task_name} on source {source_name} schema {schema_name}.
slots:
sql_content: requestBody.sql_content
table_name: path.table-name
task_name: path.task-name
source_name: path.source-name
schema_name: path.schema-name
- text: Apply {sql_content} to source table {table_name} in task {task_name}, source {source_name}, schema {schema_name}, flush {flush}.
slots:
sql_content: requestBody.sql_content
table_name: path.table-name
task_name: path.task-name
source_name: path.source-name
schema_name: path.schema-name
flush: requestBody.flush
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1/tasks/{task-name}/sources/{source-name}/schemas/{schema-name}/{table-name}'].delete
update:
x-apievangelist-phrasing:
intent: Drop a source table's structure in a task
effect: destructive
questions:
- How do I remove a source table's structure from a task?
- Can I drop a source table's structure without touching the task itself?
instructions:
- text: Delete the structure of source table {table_name} in task {task_name} on source {source_name} schema {schema_name}.
slots:
table_name: path.table-name
task_name: path.task-name
source_name: path.source-name
schema_name: path.schema-name
- text: Drop source table {table_name} structure for task {task_name}, source {source_name}, schema {schema_name}.
slots:
table_name: path.table-name
task_name: path.task-name
source_name: path.source-name
schema_name: path.schema-name
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1/tasks/converters'].post
update:
x-apievangelist-phrasing:
intent: Convert a task between config file and object
effect: read
questions:
- How do I turn a task configuration file into a task object?
- Can I convert a task object back into a YAML config file?
instructions:
- text: Convert task {task} to a configuration file.
slots:
task: requestBody.task
- text: Parse the YAML config file {task_config_file} into a task object.
slots:
task_config_file: requestBody.task_config_file
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1/tasks/templates'].get
update:
x-apievangelist-phrasing:
intent: List data migration task templates
effect: read
questions:
- What task templates are available for creating new data migration tasks?
- Can I see all the task template names?
instructions:
- text: List data migration task templates.
- text: Show every task template available.
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1/tasks/templates'].post
update:
x-apievangelist-phrasing:
intent: Create a data migration task template
effect: write
questions:
- How do I create a reusable task template with a source and target config?
- Can I set a task template to use optimistic sharding and online DDL?
instructions:
- text: Create task template {name} in mode {task_mode} with target {target_config}.
slots:
name: requestBody.name
task_mode: requestBody.task_mode
target_config: requestBody.target_config
- text: Create a {task_mode} task template {name} with source config {source_config}, target {target_config}, online DDL {enhance_online_schema_change}, on duplicate {on_duplicate}, table rules {table_migrate_rule}.
slots:
task_mode: requestBody.task_mode
name: requestBody.name
source_config: requestBody.source_config
target_config: requestBody.target_config
enhance_online_schema_change: requestBody.enhance_online_schema_change
on_duplicate: requestBody.on_duplicate
table_migrate_rule: requestBody.table_migrate_rule
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1/tasks/templates/import'].post
update:
x-apievangelist-phrasing:
intent: Import task templates from configuration
effect: write
questions:
- How do I bring task templates into DM from configuration, replacing ones that already exist?
- Can I import task templates without overwriting the ones I already have?
- What does the overwrite option do when importing task templates?
instructions:
- text: Import task templates with overwrite set to {overwrite}.
slots:
overwrite: requestBody.overwrite
- text: 'Bulk import task templates into DM and set whether to replace existing ones: {overwrite}.'
slots:
overwrite: requestBody.overwrite
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1/tasks/templates/{task-name}'].get
update:
x-apievangelist-phrasing:
intent: Get a data migration task template
effect: read
questions:
- What are the settings of one task template?
- Can I fetch a task template by its name?
instructions:
- text: Get data migration task template {task_name}.
slots:
task_name: path.task-name
- text: Show the configuration of task template {task_name}.
slots:
task_name: path.task-name
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1/tasks/templates/{task-name}'].put
update:
x-apievangelist-phrasing:
intent: Update a data migration task template
effect: write
questions:
- How do I change an existing task template?
- Can I edit a task template after it's created?
instructions:
- text: Update task template {task_name}.
slots:
task_name: path.task-name
- text: Edit the existing task template {task_name}.
slots:
task_name: path.task-name
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1/tasks/templates/{task-name}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a task template
effect: destructive
questions:
- How do I delete a task template I no longer use?
- Can I remove a task template by its name?
instructions:
- text: Delete task template {task-name}.
slots:
task-name: path.task-name
- text: Remove the unused task template {task-name}.
slots:
task-name: path.task-name
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-task-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.