Skip to main content
GET
Get a paginated list of all credit ledger entries for the authenticated user. This is the full account history — purchases, daily staking refreshes, usage charges, refunds, and adjustments. Use this endpoint when you need the complete financial audit trail, not just inference usage.

Headers

string
required
API key or Cognito JWT: Bearer sk-xxxxxx

Query Parameters

integer
default:"50"
Maximum number of items to return (minimum 1).
integer
default:"0"
Number of items to skip for pagination.
string
Filter by ledger entry type:
  • purchase — Credit top-ups (Stripe, Coinbase, etc.)
  • staking_refresh — Daily staking allowance refresh
  • usage_hold — Pending hold while a request is in flight
  • usage_charge — Finalized inference usage charge
  • refund — Credit refund
  • adjustment — Manual or system adjustment
string
Filter entries created after this datetime (ISO 8601).
string
Filter entries created before this datetime (ISO 8601).

Response

array
List of ledger entries. Returns newest entries first.
integer
Total number of matching entries.
integer
Page size used for this response.
integer
Offset used for this response.
boolean
Whether additional pages are available.
For inference usage only, prefer List Usage — it returns a cleaner schema focused on API calls. Use List Transactions when you also need purchases, refreshes, and refunds.