GET
/v2/organizations/{organizationId}/billing/invoices/{invoiceId}/usageGet usage for an organization invoice
Retrieves usage details for a specific invoice belonging to an organization. Use organizationId and invoiceId to select the invoice and review its billed usage and totals.
organizationIdintegerrequired
The integer identifier of the organization that owns the invoice.
invoiceIdintegerrequired
The integer identifier of the invoice whose usage to retrieve.
200Returns invoice usage totals, including usage for keys, seats, and translations, along with applicable credits, subscription price, and total.
appliedStripeCreditsnumberoptional
Relevant for invoices only. When there are applied stripe credits, we need to reduce the total price by this amount.
carryOverTotalnumberoptional
Relevant for invoices only. Total amount deferred from previous billing periods that is included in this invoice.
creditsobjectoptional
keysobjectrequired
seatsobjectrequired
subscriptionPricenumberoptional
totalnumberrequired
translationsobjectrequired
400Returned when the request is invalid.
codestringrequired
paramsarray<object>optional
401Returned when authentication is missing or invalid.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user is not permitted to access the requested resource.
codestringrequired
paramsarray<object>optional
404Returned when the organization or invoice is not found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 indicates an invalid request, a 401 indicates an authentication failure, a 403 indicates insufficient access, and a 404 indicates the organization or invoice was not found. The organizationId and invoiceId path parameters must identify an invoice associated with that organization.