Super Admin Usage

Get credit usage for an organization

Returns the monthly credit budget, credits consumed this month, and credits remaining. Fields are null if the organization does not have a usage-based subscription.

get/super-admin/usage/{orgId}/credits

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

orgIdstring uuid required

Organization ID

Response

monthlyCreditsnumber nullable required

Monthly credit budget from the usage-based subscription. Null if the org does not have a usage-based subscription.

creditsUsednumber required

Total credits consumed in the current calendar month.

creditsRemainingnumber nullable required

Credits remaining this month (monthlyCredits - creditsUsed). Null if the org does not have a usage-based subscription.

Example response

{
  "monthlyCredits": 10000,
  "creditsUsed": 4250.5,
  "creditsRemaining": 5749.5
}

Changes

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