Credits

Get credit balance

Returns the current credit balance and a usage summary for the billing period.

get/workspaces/{workspace_id}/credits

Request

  • Base URL: https://api.compelling.ai/v1
  • URL: https://api.compelling.ai/v1/workspaces/{workspace_id}/credits
  • Auth: HTTP bearer

Response

OK

balanceinteger

Remaining credits.

used_this_periodinteger
total_this_periodinteger
resets_atstring date-time

Example response

{
  "balance": 4200,
  "used_this_period": 800,
  "total_this_period": 5000
}

Changes

No recorded changes to this operation across all 1 revision of this API.