Skip to main content
POST
Validate Forecast Intent

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request body for POST /agent/validate — the LLM-free clarify step. The frontend merges the user's clarification answers into intent and re-validates against columns; no file upload or model call is needed.

intent
ForecastIntent · object
required

Partially-filled intent to revalidate.

columns
string[]
required

Real dataset column names to validate against.

profile
SeriesProfile · object | null

Optional profile (drives the horizon cap).

Response

Successful Response

Response from POST /agent/extract and POST /agent/validate. Carries the typed business intent plus the real dataset columns (so the frontend can render answer chips for clarification questions) and the aggregate profile when one could be computed.

intent
ForecastIntent · object
required

Extracted + validated forecasting intent.

columns
string[]
required

Real dataset column names (for answer chips).

covariate_suggestions
CovariateSuggestion · object[]

Proactive, runnable covariate suggestions for the described use-case — the chat offers them as accept/decline chips.

profile
SeriesProfile · object | null

Aggregate dataset profile when target/time/entity columns were detected.