Skip to main content

API Reference

Billing & Credits

View your plan, usage counts, limits, credit balance, and transaction history.

note
Credits are the universal billing unit. 1 credit = ₹1. Every API call (LLM, STT, TTS, search, image) deducts credits based on usage. Check your balance and transaction history programmatically.
GET/api/v1/tenants/me/billing Auth

Get plan, usage counts, and limits by tier

GET/api/v1/credits/balance Auth

Get current credit balance for your tenant

GET/api/v1/credits/packs

List available credit packs for purchase (no auth required)

GET/api/v1/credits/transactions Auth

Paginated credit ledger (includes a summary_by_type aggregate) — every deduction, refund, purchase, and grant

Query Parameters

limitnumber (1-200, default 50)
beforeISO8601 timestamp cursor
since_daysnumber (1-365)
typesignup_bonus | purchase | deduction | refund | plan_grant | admin | coupon
Was this page helpful?