Retrieve cost analytics with hourly/daily timeseries and model-level breakdown
X-API-Key header.
1h, 6h, 24h, 7d, 30dNote: Default is 7d for cost analytics (differs from other endpoints).(input_tokens * input_price + output_tokens * output_price) using model pricing from the model_pricing table.null costs./tokens, this endpoint returns both hourly and daily arrays in every response.DASHBOARD_CACHE_TTL_MS).7d (weekly view).