Documentation Index
Fetch the complete documentation index at: https://docs.llmgenerator.com/llms.txt
Use this file to discover all available pages before exploring further.
GET /credits/balance
This endpoint returns the authenticated user’s current credit balance and usage statistics. Requires session-based authentication (JWT access token).For third-party integrations: Use
GET /credits/balance/api with API Key authentication instead.Response
The user’s current available credit balance.
Total credits purchased over the account lifetime.
Total credits used over the account lifetime.
Array of recent credit transactions.
GET /credits/balance/api
This endpoint returns the authenticated user’s current credit balance using API Key authentication. Ideal for third-party integrations and external applications.Authentication
Requires API Key authentication. Include your API key in theAuthorization header:
Response
Same as/credits/balance above.