cURL
curl --request GET \ --url https://control-plane.kubiya.ai/api/v1/analytics/costs \ --header 'Authorization: <api-key>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Get detailed cost breakdown over time.
Returns cost metrics grouped by the specified time period.
Number of days to include Number of days to include
1 <= x <= 365
Group costs by time period Group costs by time period
Successful Response
Was this page helpful?