speko.credits.
Balances are returned in micro-USD (1_000_000 µ$ = $1). The SDK also pre-divides to float USD for display.
get_balance
OrganizationBalance
Current balance in micro-USD, as string for lossless round-trips.
ISO-8601 timestamp of the last ledger event.
get_ledger
next_cursor from one response back in as cursor to fetch the next page; next_cursor is None means the history is exhausted.
CreditLedgerEntry
Signed — positive for grants/topups/refunds, negative for debits. String-encoded to survive JSON for values beyond 2^53.
Billable metric when the entry ties to a specific usage row.
Session the debit was applied against.
CreditLedgerPage
Cursor for the next page, or
None when history is exhausted.