APIBilling
List billing transactions
List recent credit ledger transactions with pagination.
Query Parameters
organizationId?string
Organization to query transactions for. Auto-filled from CLI and SDK context when omitted. User tokens must supply it unless the credential's fixed scope resolves it; secret keys may omit it (the key's organization applies).
Length
1 <= lengthlimit?integer
Maximum number of transactions to return per page.
Range
1 <= value <= 100Default
10page?integer
Page number for pagination (1-indexed).
Range
1 <= value <= 9007199254740991Default
1Response Body
application/json
curl -X GET "https://example.com/billing/transactions"{ "items": [ { "id": "string", "transactionType": "cycle_top_up", "creditDelta": "string", "direction": "credit", "reason": "cycle_renewal", "amount": "string", "balanceAfter": "string", "occurredAt": "2019-08-24T14:15:22Z", "billingInvoiceId": "string" } ], "pagination": { "page": 0, "limit": 0, "total": 0, "totalPages": 0, "hasNext": true, "hasPrev": true }}