Typescript (SDK)
Usage
List usage transactions
Returns the account’s raw credit ledger (newest first), cursor-paginated. Spends are negative; grants are positive. Each entry may carry a reference to the resource that triggered the charge (currently generation jobs).
GET
Typescript (SDK)
Authorizations
API key in the format: Bearer {api_token}
Query Parameters
Number of transactions to return (1-100, default 15).
Required range:
1 <= x <= 100Transaction id (cred_…) to paginate forward from.
Transaction id (cred_…) to paginate backward from.
Limit results to the last N days. Omit for full history.
Required range:
x >= 1
