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.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for TiDB Cloud Restore API
version: 1.0.0
extends: openapi/pingcap-restore-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: 3
- target: $.paths['/api/v1beta/projects/{project_id}/restores'].get
update:
x-apievangelist-phrasing:
intent: List restore tasks in a project
effect: read
questions:
- Which restore tasks have run in my project?
- Can I page through restore tasks?
instructions:
- text: List restore tasks in project {project_id}.
slots:
project_id: path.project_id
- text: Show page {page} of restore tasks in {project_id}, {page_size} per page.
slots:
page: query.page
project_id: path.project_id
page_size: query.page_size
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1beta/projects/{project_id}/restores'].post
update:
x-apievangelist-phrasing:
intent: Restore a backup to a new cluster
effect: write
questions:
- How do I restore a backup to a new cluster?
- Can I change the node size of the restored cluster?
instructions:
- text: Restore backup {backup_id} to a cluster named {name} in project {project_id}.
slots:
backup_id: requestBody.backup_id
name: requestBody.name
project_id: path.project_id
- text: Create a restore of {backup_id} as {name} with config {config}.
slots:
backup_id: requestBody.backup_id
name: requestBody.name
config: requestBody.config
method: generated
generated: '2026-11-25'
- target: $.paths['/api/v1beta/projects/{project_id}/restores/{restore_id}'].get
update:
x-apievangelist-phrasing:
intent: Get a restore task
effect: read
questions:
- Has my restore finished?
- What is the status of a restore task?
instructions:
- text: Get restore task {restore_id} in project {project_id}.
slots:
restore_id: path.restore_id
project_id: path.project_id
- text: Check the status of restore {restore_id}.
slots:
restore_id: path.restore_id
method: generated
generated: '2026-11-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.