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/history
This endpoint returns a list of the authenticated user’s credit transactions, including purchases, usage, and refunds. Requires session-based authentication (JWT access token).For third-party integrations: Use
GET /credits/history/api with API Key authentication instead.Query Parameters
Number of transactions to return (max 100).
Number of transactions to skip for pagination.
Filter by transaction type:
purchase, usage, or refund.Response
An array of transaction objects.
Total number of transactions.
Whether there are more transactions to fetch.
GET /credits/history/api
This endpoint returns the user’s credit transaction history using API Key authentication. Ideal for third-party integrations.Authentication
Requires API Key authentication. Include your API key in theAuthorization header:
Query Parameters
Same as/credits/history above.
Response
Same as/credits/history above.