Get my organization's API credit balance
Return the current Propalt API credit balance for the organization linked to the signed-in user. Takes no parameters: the organization is determined automatically from the authenticated session, so it always reports the caller's own balance and can never query another organization. Returns the number of credits currently available (balance), the time the balance was measured (as_of), the source system (source, normally "openmeter"), and the full URL for buying credits or changing plans (top_up_url). Use this whenever the user asks how many credits, how much balance, or how much quota they have left, or whether they have enough credits to make more API calls.
Responses
Current available credits for the authenticated organization.
org_idIdentifier of the organization the balance belongs to.
balanceCredits currently available to the organization.
top_up_urlFull URL to buy credits or change plans.
as_ofTimestamp at which the balance was measured, in the format returned by the balance service.
sourceSystem the balance was read from.