credits

Get Credit Balance

Get current user's credit balance.

Returns the current balance along with lifetime totals for earned and spent credits, plus the next renewal date and monthly credit amount (computed from subscription anchor dates).

Uses a single query to resolve team ownership and fetch credits + subscription info.

get/api/v1/credits/balance

Request

  • Base URL: https://api.trylapis.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.trylapis.com/api/v1/credits/balance
  • Auth: HTTP bearer

Response

Successful Response

balanceinteger required
total_earnedinteger required
total_spentinteger required
next_renewal_datestring date-time nullable
monthly_creditsinteger nullable

Changes

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