Usage
A per-customer spend report
Usage is a per-customer spend report over a date range, broken down by credential source (customer BYOK, org BYOK, or Merge-managed) and by model, provider, and routing policy. Use it to bill your own customers or to reconcile spend.
Path: /v1/customers/{customer_id}/usage. See Checking usage on the overview for the request; this page documents the response fields.
Fields
The three spend fields are disjoint: their sum is the customer’s total spend for the range.
Org-wide usage
GET /v1/customers/usage returns one row per customer seen across your organization for the range, sorted by total spend descending, which is the call to make when reconciling a whole billing run rather than one tenant.
The breakdown is two-way here rather than three-way: byok_spend combines the customer’s own keys and your organization’s, where the per-customer report separates them. A customer-scoped API key cannot call this endpoint, since it would expose every other tenant’s spend. Use an organization-level production key.