Documentation Index
Fetch the complete documentation index at: https://docs.maximem.ai/llms.txt
Use this file to discover all available pages before exploring further.
Parameters
This method takes no parameters.Returns
CreditBalance dataclass with the wallet snapshot.
The client (organization) the wallet belongs to.
Total spendable credits across all buckets.
True when the balance has fallen below the configured low-balance threshold. A good signal to surface a “top up” prompt to your operators.Per-source breakdown of the balance. Each
CreditBucket has:source_type(string) — origin of the credits (e.g."paid","promo","redeem").balance(float) — credits remaining in this bucket.expires_at(datetime | None) — when this bucket expires, if applicable.Nonemeans the bucket does not expire.
Example
Raises
SynapAuthError— when the API key is missing or invalid.