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

c731d9228f03

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/api/v1/costs/forecast

Response

Successful Response

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