Forecast

Project a transient aggregate without persisting it

post/companies/{companyId}/forecast/projection/preview

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Path parameters

companyId, string uuid required

Headers

X-Median-App-Surface, 'qa'

Optional customer-app bundle marker for production-promoted demo-parity routes. Production customer calls omit this header. When present, qa selects the QA bundle and the server additionally requires an allowlisted test company with persisted client_status=test.

Request body

object required
horizon, 12 | 18 | 24
levers, string[]
model, ForecastModel required

Persisted company forecast model used for a transient preview; never written

streams, ForecastStream[]
headcount, ForecastHeadcount[]
opex, ForecastOpex[]
scenarios, ForecastScenario[]

Response

Projection result (not persisted)

object required
success, boolean
data, ProjectionResult

Full projection result with all three scenarios, runway, and KPIs

Changes

No recorded changes to this operation across all 110 revisions of this API.