Get customer usage
Authentication
AuthorizationBearer
Your production key sent as a bearer token.
Path parameters
customer_id
Query parameters
start
end
Response
Successful Response
customer_byok_spend
Spend billed against the customer’s own provider keys (USD)
organization_byok_spend
Spend billed against your organization’s provider keys (USD)
merge_spend
Spend billed against Merge-managed credentials (USD). The three spend fields are disjoint; their sum is the customer’s total spend for the range.
request_count
Number of requests in the range
per_model
Spend broken down per model, sorted by spend descending
per_provider
Spend broken down per provider, sorted by spend descending
per_routing_policy
Spend broken down per routing policy, sorted by spend descending