v6

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01485121699.8 KB

Forecast Costs

Forecast cost for next hour and project monthly spend.

Extrapolates current spending rate to predict next hour's cost AND rolls the trailing 7-day spend out to a 30-day projection (projected_month_usd) for the web GUI's "projected month" KPI card. The legacy fields (forecast_next_hour_usd, burn_rate_*, confidence, data_points) remain unchanged for the TUI / CLI.

get/costs/forecast

Response

Successful Response

{"stackTrail":"paths:/costs/forecast:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}