Skip to content
Navigation

Plan, credit balance, grants and recent usage

The plan and usage summary the Settings → Billing screen renders. Its rates come from the advertised catalog and carry a price for every row — for the plan’s own credit price list, including the meters it does not price, read GET /api/billing/rates. Authorization: any member of the organization.

GET
https://api.cloudraker.com/billing/plan-view
Try it
Live API request

Authorization

  • bearerAuth
    HTTP
    required

Returns

200

The organization’s plan view.

JSON
  • plan
    object
    required
    • name
      string | null
      required
  • balance
    object
    required
    • settled
      number
      required
    • granted
      number
      required
    • creditValueUsd
      number
      required
  • aiWallet
    object
    required
    • settled
      number
      required
    • granted
      number
      required
    • creditValueUsd
      number
      required
    • recharged
      boolean
      required
  • credits
    object
    required
    • balance
      number
      required
    • held
      number
      required
    • currency
      string
      required
  • rates
    array of
    object
    required
    • feature
      string
      required
    • unit
      string
      required
    • credits
      number
      required
  • grants
    array of
    object
    required
    • reason
      string | null
      required
    • granted
      number
      required
    • remaining
      number
      required
    • grantedAt
      string
      required
    • expiresAt
      string | null
      required
  • usage
    array of
    object
    required
    • at
      string
      required
    • event
      string | null
      required
    • feature
      string | null
      required
    • quantity
      number
      required
    • credits
      number | null
      required
    • dimensions
      optional
      map of
      string | number | boolean

503

not_configured — billing is not wired in this environment; metering_unavailable — the billing service did not answer.
JSON
  • error
    not_configured
    or
    metering_unavailable
    required

Type to search…

↑↓ navigate↵ selectEsc close