cURL
curl --request GET \ --url https://api.ledgerbeam.com/v1/billing/credit-history \ --header 'API-KEY: <api-key>'
{ "next_cursor": "XjdHaksD", "data": [ { "date": "2024-01-15", "credits_used": 150, "credits_remaining": 850, "total_credits": 1000 } ], "summary": { "total_credits_used": 5000, "current_credits": 500, "period_start": "2024-01-01", "period_end": "2024-01-31" } }
Retrieve credit usage history
Documentation IndexFetch the complete documentation index at: https://docs.ledgerbeam.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.ledgerbeam.com/llms.txt
Use this file to discover all available pages before exploring further.
API key for authentication
Credit history retrieved successfully
Pagination cursor for next page
"XjdHaksD"
List of credit usage records
Show child attributes