Skip to main content
GET
/
api
/
stats
/
costs
Get Cost Stats
curl --request GET \
  --url https://api.example.com/api/stats/costs
{}

Query Parameters

period
enum<string>
default:7d
Available options:
7d,
30d,
all
group_by
enum<string>
default:model
Available options:
model,
call_site,
day

Response

Successful Response

The response is of type Response Get Cost Stats Api Stats Costs Get · object.