Skip to main content
GET
/
api
/
costs
/
summary
Get Cost Summary
curl --request GET \
  --url http://localhost:8000/api/costs/summary
{
  "total_cost": "<string>",
  "this_month_cost": "<string>",
  "by_provider": {}
}

Headers

x-user-id
string | null

Response

Successful Response

total_cost
string
required
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
this_month_cost
string
required
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
by_provider
By Provider · object
required