billing

Get credit balance and consumption

Changed on

Get credit balance totals, consumption totals, and contract date ranges for the specified Organization.

get/v1/organizations/{organizationId}/billing/credits/stats

Request

  • Base URL
    https://gateway.cribl.cloud
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://login.cribl.cloud/oauth/token
    • or HTTP bearer

Path parameters

organizationIdstring required

The <code>id</code> of the Organization.

Response

Credit balance and consumption totals.

totalCreditsRemainingnumber required

Credits remaining under the current contract.

totalCreditsUsednumber required

Credits consumed under the current contract.

totalCreditsAcquirednumber required

Credits acquired under the current contract.

Example response

{
  "totalCreditsRemaining": 5127123.69,
  "totalCreditsUsed": 2555625.49,
  "totalCreditsAcquired": 11061354.6,
  "contracts": [
    {
      "startDate": "2025-09-17T00:00:00.000Z",
      "endDate": "2026-08-02T00:00:00.000Z"
    }
  ]
}

Changes