TiKV Debug API

Debug and diagnostic endpoints

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/tikv-debug-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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

OpenAPI Specification

tikv-debug-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: TiKV HTTP Management Configuration Debug API
  description: TiKV exposes an HTTP management API on each node for status monitoring, configuration management, and Prometheus metrics. The default port is 20160 for TiKV nodes and 2379 for PD (Placement Driver) nodes.
  version: '7.1'
  contact:
    name: TiKV Community
    url: https://tikv.org/
  license:
    name: Apache 2.0
    url: https://github.com/tikv/tikv/blob/master/LICENSE
servers:
- url: http://localhost:20160
  description: TiKV node HTTP API (default port)
tags:
- name: Debug
  description: Debug and diagnostic endpoints
paths:
  /debug/pprof/profile:
    get:
      operationId: getPprofProfile
      summary: Get CPU Profile
      description: Returns a pprof CPU profile for performance analysis.
      tags:
      - Debug
      parameters:
      - name: seconds
        in: query
        schema:
          type: integer
          default: 10
        description: Duration in seconds to profile
      responses:
        '200':
          description: CPU profile data
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
  /fail/{failpoint}:
    put:
      operationId: setFailpoint
      summary: Set Failpoint
      description: Sets a failpoint for testing and fault injection. Only available when TiKV is compiled with fail-rs support.
      tags:
      - Debug
      parameters:
      - name: failpoint
        in: path
        required: true
        schema:
          type: string
        description: Failpoint name
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: string
      responses:
        '200':
          description: Failpoint set
    delete:
      operationId: deleteFailpoint
      summary: Delete Failpoint
      description: Removes an active failpoint.
      tags:
      - Debug
      parameters:
      - name: failpoint
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Failpoint removed