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), and the source system (source, normally "openmeter"). 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.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Responses
Current available credits for the authenticated organization.
org_idIdentifier of the organization the balance belongs to.
balanceCredits currently available to the organization.
as_ofTimestamp at which the balance was measured.
sourceSystem the balance was read from.