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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/tikv-regions-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 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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: TiKV HTTP Management Configuration Regions 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: Regions
description: Region management and inspection
paths:
/region/id/{id}:
get:
operationId: getRegionById
summary: Get Region By ID
description: Returns information about a specific Raft region by its ID including region metadata, leader, and peers.
tags:
- Regions
parameters:
- name: id
in: path
required: true
schema:
type: integer
description: Region ID
responses:
'200':
description: Region information returned
content:
application/json:
schema:
$ref: '#/components/schemas/RegionInfo'
'404':
description: Region not found
/region/key/{key}:
get:
operationId: getRegionByKey
summary: Get Region By Key
description: Returns the Raft region that contains the specified key.
tags:
- Regions
parameters:
- name: key
in: path
required: true
schema:
type: string
description: Key to look up (hex-encoded)
responses:
'200':
description: Region information returned
content:
application/json:
schema:
$ref: '#/components/schemas/RegionInfo'
/regions/meta:
get:
operationId: getAllRegionsMeta
summary: Get All Regions Metadata
description: Returns metadata for all Raft regions on this TiKV node.
tags:
- Regions
responses:
'200':
description: Regions metadata returned
content:
application/json:
schema:
type: object
properties:
regions:
type: array
items:
$ref: '#/components/schemas/RegionInfo'
components:
schemas:
RegionInfo:
type: object
properties:
id:
type: integer
description: Region ID
start_key:
type: string
description: Start key of the region (hex-encoded)
end_key:
type: string
description: End key of the region (hex-encoded)
region_epoch:
type: object
properties:
conf_ver:
type: integer
version:
type: integer
peers:
type: array
items:
type: object
properties:
id:
type: integer
store_id:
type: integer
leader:
type: object
properties:
id:
type: integer
store_id:
type: integer
written_bytes:
type: integer
read_bytes:
type: integer
approximate_size:
type: integer
description: Approximate region size in bytes
approximate_keys:
type: integer
description: Approximate number of keys in region