Credits
Retrieve your balance
What your workspace can spend now, what running generations hold, whether auto top-up will add more when it runs low, and whether it got the welcome credit, which workspaces made since 2026-10-14 don't get. Add credits and turn on auto top-up at add_credits_url; your first top-up has no card fee, and none from $20.
Needs an API key with the generations:read scope.
get/v1/credits
Request
- Base URL: https://api.tryleap.ai
- URL: https://api.tryleap.ai/v1/credits
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
Response
The balance.
Changes
No recorded changes to this operation across all 1 revision of this API.