APIBilling
Get accrued usage charges
Get usage charges accrued so far in the open billing cycle, priced under the cycle's plan terms. These settle on the cycle-end usage invoice.
Query Parameters
organizationId?string
Organization to query accrued charges for. Auto-filled from CLI and SDK context when omitted.
Length
1 <= lengthResponse Body
application/json
curl -X GET "https://example.com/billing/usage-charges/accrued"{ "cycle": { "startsAt": "2019-08-24T14:15:22Z", "endsAt": "2019-08-24T14:15:22Z" }, "currency": "string", "settlesInCents": true, "lineItems": [ { "productKey": "logs_ingested_bytes", "displayName": "string", "meteredQuantity": "string", "includedQuantity": "string", "overageQuantity": "string", "unitPrice": "string", "amount": "string" } ], "totalAmount": "string"}