APIBilling
List usage invoices
List cycle-end usage invoices — the local settlement record, one per settled billing cycle, zero-total settlements included.
Query Parameters
organizationId?string
Organization to list usage invoices for. Auto-filled from CLI and SDK context when omitted.
Length
1 <= lengthlimit?integer
Maximum invoices to return, newest cycle first.
Range
1 <= value <= 100Default
24Response Body
application/json
curl -X GET "https://example.com/billing/usage-invoices"{ "items": [ { "id": "string", "cycleStartsAt": "2019-08-24T14:15:22Z", "cycleEndsAt": "2019-08-24T14:15:22Z", "status": "string", "currency": "string", "subtotalAmount": "string", "totalAmount": "string", "lineItems": [ { "productKey": "logs_ingested_bytes", "displayName": "string", "meteredQuantity": "string", "includedQuantity": "string", "overageQuantity": "string", "unitPrice": "string", "amount": "string" } ], "hostedInvoiceUrl": "string", "finalizedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z" } ]}