API Reference
Log In
API Reference

Get cost breakdown by product

Returns cost metrics grouped by product over time for the specified date range. Enables tracking of AI costs associated with specific products or services, useful for product-level P&L analysis and cost optimization.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
date-time
date-time
string
enum
integer | null
≥ 0
Defaults to 0
integer
0 to 100
Defaults to 20
products
array of strings | null
products
costSource
array of strings | null
costSource
Allowed:
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
API Key
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json