cURL
curl --request GET \ --url https://api.example.com/api/stats/costs
{}
Get aggregated LLM cost statistics.
7d
30d
all
model
call_site
day
Successful Response
The response is of type Response Get Cost Stats Api Stats Costs Get · object.
Response Get Cost Stats Api Stats Costs Get · object