Get customer usage
Authentication
AuthorizationBearer
Your production key (prefixed mg_), sent as a bearer token.
Path parameters
customer_id
Query parameters
start
end
Response
Successful Response
total_spend
byok_spend
Spend billed against a bring-your-own key (customer or org).
customer_byok_spend
BYOK spend on the customer's own key.
org_byok_spend
BYOK spend on your organization's key.
managed_spend
Spend billed against Merge-managed credentials.
request_count
period_start
period_end
by_model
by_provider
by_routing_policy