How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

tidb Billing API

Operations for retrieving monthly billing summaries, cost details, and usage trends.

tidb Billing API is one of 23 APIs that Tidb publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Billing. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 2 JSON Schemas.

This API exposes 3 operations across 3 paths, and defines 6 schemas. It is described by OpenAPI 3.2.0, at version v1beta1.

Requests are made against 3 base URLs: https://dedicated.tidbapi.com/v1beta1, https://iam.tidbapi.com/v1beta1, https://billing.tidbapi.com/v1beta1.

3 operations 3 paths 6 schemas 2 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
v1beta1
Base URL
https://api.tidbcloud.com
Authentication
HTTP Digest
Terms of Service
Resource Areas
1

Authentication & Security 1

tidb Billing API declares 1 security scheme for authenticating requests. It uses HTTP digest authentication (digestAuth). By default, every request must be authenticated.

  • digestAuth — HTTP Digest Authentication using a TiDB Cloud API public key as the username and private key as the password. Keys are generated in the TiDB Cloud console unde…

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 2 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Billing 3

Operations for retrieving monthly billing summaries, cost details, and usage trends.

GET
/bills/{billedMonth}
Get monthly bill
getMonthlyBill 1 param → 200400401
GET
/billsDetails/{billedMonth}
Get monthly bill with daily details
getMonthlyBillDetails 1 param → 200400401
POST
/billsCostExplorer
Query cost explorer
queryCostExplorer body → 200400401

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are BillDetail (8 properties), ErrorResponse (4 properties), BillsExplorer (3 properties), CostExplorerRequest (2 properties). Each schema is shown below with its type and property counts.

BillsCostExplorer
object
Results from a cost explorer query.
1 property
ErrorResponse
object
Standard error response returned when an API request fails.
4 properties
BillsExplorer
object
An organization's monthly billing summary.
3 properties
CostExplorerRequest
object
Request body for querying the cost explorer.
2 properties
BillsDetails
object
Detailed daily billing data for a month.
1 property
BillDetail
object
A single daily billing record for a cluster and service.
8 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

tidb-billing-api-openapi.yml Raw ↑

Other APIs Tidb publishes across the network.

tidb API Keys API
tidb Audit Logs API
tidb Chat2Data API
tidb Clusters API
tidb Data App API Keys API
tidb Data Apps API
tidb Data Sources API
tidb Data Summaries API
tidb DDL API
tidb Deployments API
tidb Diagnostics API
tidb Endpoints API
Where this information came from

This is an independent, third-party profile of tidb Billing API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.