TiKV website screenshot

TiKV

TiKV is a CNCF-graduated distributed transactional key-value database built in Rust with Raft consensus. Originally created to complement TiDB, it provides horizontal scalability, strong consistency, and high availability with ACID transaction support. Client APIs are available for Java, Rust, Python, Go, and C++. An HTTP management API provides status, configuration, and monitoring endpoints.

4 APIs 0 Features
ACIDCNCFDatabaseDistributed SystemsKey-Value StoreOpen SourceRust

APIs

TiKV HTTP Management API

TiKV exposes an HTTP API for cluster management, status monitoring, configuration retrieval and updates, and Prometheus metrics collection.

TiKV Java Client

The official Java client for TiKV. Supports raw key-value operations and transactional operations via gRPC. Available on Maven Central.

TiKV Rust Client

The official Rust client for TiKV providing raw and transactional key-value access to TiKV clusters.

TiKV Python Client

The official Python client for TiKV supporting raw and transactional key-value operations.

Collections

Pricing Plans

Tikv Plans Pricing

1 plans

PLANS

Rate Limits

Tikv Rate Limits

1 limits

RATE LIMITS

FinOps

Tikv Finops

FINOPS

Semantic Vocabularies

Tikv Context

14 classes · 0 properties

JSON-LD

API Governance Rules

TiKV API Rules

4 rules · 2 errors 2 warnings

SPECTRAL

JSON Structure

Tikv Region Structure

0 properties

JSON STRUCTURE

Example Payloads

Tikv Getregionbyid Example

2 fields

EXAMPLE

Tikv Getstatus Example

2 fields

EXAMPLE

Resources

🔗
LinkedIn
LinkedIn
🔗
Website
Website
🔗
Documentation
Documentation
🚀
GettingStarted
GettingStarted
👥
GitHubOrganization
GitHubOrganization
👥
GitHubRepository
GitHubRepository
🔗
Governance
Governance
🔗
CNCF
CNCF
📰
Blog
Blog
🔗
Community
Community
🔗
RoadMap
RoadMap
🔗
License
License
🔗
Slack
Slack
🔗
Forums
Forums
📦
SDKs
SDKs
📦
SDKs
SDKs
📦
SDKs
SDKs
📦
SDKs
SDKs

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: TiKV HTTP Management API
  version: '7.1'
items:
- info:
    name: Status
    type: folder
  items:
  - info:
      name: Get Node Status
      type: http
    http:
      method: GET
      url: http://localhost:20160/status
    docs: Returns the current status of the TiKV node including version information, Git hash, and whether the node is ready.
      Also used as a keepalive endpoint.
- info:
    name: Metrics
    type: folder
  items:
  - info:
      name: Get Prometheus Metrics
      type: http
    http:
      method: GET
      url: http://localhost:20160/metrics
    docs: Returns Prometheus-formatted metrics for the TiKV node including operation counts, latencies, storage usage, and
      Raft consensus metrics.
- info:
    name: Configuration
    type: folder
  items:
  - info:
      name: Get Configuration
      type: http
    http:
      method: GET
      url: http://localhost:20160/config
      params:
      - name: section
        value: ''
        type: query
        description: Filter by configuration section (e.g., storage, raftstore)
      - name: key
        value: ''
        type: query
        description: Filter by specific configuration key within a section
    docs: Returns the current runtime configuration of the TiKV node. Supports optional section and key filtering.
  - info:
      name: Update Configuration
      type: http
    http:
      method: POST
      url: http://localhost:20160/config
      body:
        type: json
        data: '{}'
    docs: Updates runtime configuration of the TiKV node. Only certain configuration keys support online updates.
- info:
    name: Debug
    type: folder
  items:
  - info:
      name: Get CPU Profile
      type: http
    http:
      method: GET
      url: http://localhost:20160/debug/pprof/profile
      params:
      - name: seconds
        value: ''
        type: query
        description: Duration in seconds to profile
    docs: Returns a pprof CPU profile for performance analysis.
  - info:
      name: Set Failpoint
      type: http
    http:
      method: PUT
      url: http://localhost:20160/fail/:failpoint
      params:
      - name: failpoint
        value: ''
        type: path
        description: Failpoint name
    docs: Sets a failpoint for testing and fault injection. Only available when TiKV is compiled with fail-rs support.
  - info:
      name: Delete Failpoint
      type: http
    http:
      method: DELETE
      url: http://localhost:20160/fail/:failpoint
      params:
      - name: failpoint
        value: ''
        type: path
    docs: Removes an active failpoint.
- info:
    name: Regions
    type: folder
  items:
  - info:
      name: Get Region By ID
      type: http
    http:
      method: GET
      url: http://localhost:20160/region/id/:id
      params:
      - name: id
        value: ''
        type: path
        description: Region ID
    docs: Returns information about a specific Raft region by its ID including region metadata, leader, and peers.
  - info:
      name: Get Region By Key
      type: http
    http:
      method: GET
      url: http://localhost:20160/region/key/:key
      params:
      - name: key
        value: ''
        type: path
        description: Key to look up (hex-encoded)
    docs: Returns the Raft region that contains the specified key.
  - info:
      name: Get All Regions Metadata
      type: http
    http:
      method: GET
      url: http://localhost:20160/regions/meta
    docs: Returns metadata for all Raft regions on this TiKV node.
bundled: true