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
API key for authentication
Credit history retrieved successfully
Pagination cursor for next page
"XjdHaksD"
List of credit usage records
Show child attributes