action i_cue_post_forecast_history_and_forecast { label: "History and forecast for fast timeseries view" description: "Reponse provides history and forecast per timeseries. Great for visualizing results." provider: i_cue method: POST path: "/forecast/history-and-forecast" encoding: json input: { type: "object" properties: { Token: { type: "string" } data: { type: "array" items: { type: "object" properties: { historyValues: { type: "array" items: { type: "number" format: "double" } } timeSeriesId: { type: "string" } } additionalProperties: false } } method: { type: "string" } override: { type: "boolean" } params: { type: "object" required: ["discardData", "errorType", "holdOutPeriod", "noFcst", "outlierDetection", "periodicity"] properties: { discardData: { type: "boolean" } errorType: { type: "string" enum: ["MeanAbsolutePercentageError", "MeanSquaredError", "MeanAbsoluteError", "MedianAbsoluteDeviation", "None"] } holdOutPeriod: { type: "integer" format: "int32" } noFcst: { type: "integer" format: "int32" } outlierDetection: { type: "boolean" } periodicity: { type: "integer" format: "int32" } } additionalProperties: false } planningLevelId: { type: "string" } startDate: { type: "string" } } required: ["method", "planningLevelId", "startDate"] additionalProperties: false } output: { type: "object" properties: { hyperparameters: { type: "object" properties: { discardData: { type: "boolean" } errorType: { type: "string" enum: ["MeanAbsolutePercentageError", "MeanSquaredError", "MeanAbsoluteError", "MedianAbsoluteDeviation", "None"] } holdOutPeriod: { type: "integer" format: "int32" } noFcst: { type: "integer" format: "int32" } periodicity: { type: "integer" format: "int32" } } additionalProperties: false } timeSeries: { type: "array" items: { type: "object" properties: { error: { type: "number" format: "double" } forecastData: { type: "array" items: { type: "object" properties: { date: { type: "string" } value: { type: "number" format: "double" } } additionalProperties: false } } historyData: { type: "array" items: { type: "object" additionalProperties: true } } method: { type: "string" } timeSeriesId: { type: "string" } } additionalProperties: false } } } additionalProperties: false } }