Reference/billing

List Credit Ledger

List Credit Ledger Project API key or dashboard access token (JWT). Request examples use snake_case; schemas may also display accepted camelCase aliases. Replace resource placeholders with accessible IDs. See the guides for runtime model constraints and workflows.

GET/v1/billing/ledger
Open playground
Project API key or dashboard access token (JWT). See authentication.

Authorizations

Project API key or dashboard access token (JWT).

Query Parameters

pageintegeroptionaldefault: 1

1-indexed page number

page_sizeintegeroptionaldefault: 500
pageSizeintegeroptional
sort_bystringoptional

Allowlisted sort field

sort_dirstringoptionaldefault: desc

Response

200 - application/json
Successful Response
itemsarrayrequired
totalintegerrequired
pageintegerrequired
pageSizeintegerrequired
hasMorebooleanrequired
Request Example
curl --fail-with-body -X GET "https://api.apimarketplace.com/v1/billing/ledger" -H "Authorization: Bearer $API_KEY"