Billing

Get organization active credit balances

Disclaimer: This beta endpoint is evolving; the API contract may change. <br /><br /> Returns the active credit balances for the organization, each with its own balance ID, type and remaining credits, along with the total remaining credits across all of them. A balance is active when it has started, has not expired, and has credits remaining. Balances are ordered by expiration date, soonest first. The list is always present and is empty when the organization has no active balances.

get/v1/organizations/{organizationId}/creditBalances

Request

  • Base URL
    https://api.clickhouse.cloud
  • Auth
    HTTP basic

Path parameters

organizationId, string uuid required

ID of the requested organization.

Response

Successful response

object required
status, number

HTTP status code.

requestId, string uuid

Unique id assigned to every request. UUIDv4

result, CreditBalances

Example response

{
  "status": 200,
  "result": {
    "balances": [
      {
        "startDate": "2026-03-01T00:00:00Z",
        "expirationDate": "2027-03-01T00:00:00Z"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 35 revisions of this API.