API Reference
End User Costs API
Per-user cost analysis scoped by your external user ID. Understand spend concentration and per-customer unit economics.
GETGet cost breakdown by dimension for a specific end-user — Returns cost aggregation grouped by a metadata dimension key for the specified end-user.GETGet cost breakdown by model for a specific end-user — Returns cost aggregation grouped by AI model for the specified end-user.GETGet cost breakdown by provider for a specific end-user — Returns cost aggregation grouped by AI provider for the specified end-user.GETGet end user cost summary — Returns cost summary for the specified end-user with comparison to the previous period.GETGet cost trend for a specific end-user — Returns time-series cost data with adaptive granularity for the specified end-user.