mem.account namespace manages the account; the top-level client exposes
usage, billing, and analytics reads.
account.get
plan, profile, api_keys, billing contact, payment
method, invoices, and the current invoice.
account.update
profile, notifications, billing_contact, payment_method,
plan. Returns the updated view.
API keys
Checkout
checkout returns {"free": True, ...}); paid
plans return a payment-provider session you confirm with confirm_checkout.
Usage, billing & analytics
The top-level client reads counters and computed cost:Billing API
Checkout, invoices, and usage endpoints.