TiDB exposes an HTTP API on its status port (defaultDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/pingcap/tidb/llms.txt
Use this file to discover all available pages before exploring further.
10080). The API requires no authentication by default and covers server status, Prometheus metrics, schema inspection, region metadata, runtime settings, DDL history, and administrative operations.
Base URL
tidb.toml:
Quick start
API categories
Status and Metrics
Server health, Prometheus metrics, region metadata, schema info, and current settings.
Administration
Update settings, DDL history, GC operations, binlog recovery, profiling, and more.
Endpoint reference
| Category | Example endpoints |
|---|---|
| Status | GET /status, GET /info, GET /info/all |
| Metrics | GET /metrics |
| Regions | GET /regions/meta, GET /regions/hot, GET /regions/{id} |
| Schema | GET /schema, GET /schema/{db}, GET /schema/{db}/{table} |
| Tables | GET /tables/{db}/{table}/regions |
| Settings | GET /settings, POST /settings |
| DDL | GET /ddl/history, POST /ddl/owner/resign |
| Stats | GET /stats/dump/{db}/{table} |
| Debug | GET /debug/zip, GET /debug/pprof/ |
| Binlog | GET /binlog/recover |
| Upgrade | POST /upgrade/{op} |