201Successful Response
Schema: SuccessEnvelope_ForecastResponse_
successbooleanmessagestringcodestringdataForecastResponse
/api/v1/budgets/forecastGenerate a financial forecast based on historical data.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: GenerateForecastRequest
methodForecastMethodEnumForecastMethodEnumForecasting method.
lookback_monthsintegerHistorical months to analyze.
forecast_monthsintegerMonths to forecast.
growth_rate_percentintegerGrowth rate adjustment.
use_seasonalitybooleanApply seasonal adjustments.
include_cash_flowbooleanInclude cash flow projections.
Schema: SuccessEnvelope_ForecastResponse_
successbooleanmessagestringcodestringdataForecastResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject