Skip to main content
POST
How good the forecasts are: hold out the last steps and score them

Authorizations

Authorization
string
header
required

Your API key, sent as 'Authorization: Bearer '.

Body

application/json
rows
Rows · object[]
required

The history: one row per series and step, with the target and any other inputs.

time_column
string
required

The date or time of each step.

Example:

"date"

target
string
required

The column to forecast.

Example:

"units"

horizon
integer
required

The number of steps to forecast.

Required range: x >= 1
Example:

28

series_column

The column, or the columns, that identify a series (store and item). Leave out for one series.

Example:
frequency
string | null

The step: H, D, W, M, Q, Y, or a multiple such as 15min. Default: inferred from the history.

column_types
Column Types · object

Override the inferred type of a column: number, category, date, text, image, audio or document (a link to a file), embedding (a list of numbers), id (never read) or ignore.

Example:
windows
integer
default:1

Repeat the test from this many start dates, each one horizon earlier, and average the scores.

Required range: 1 <= x <= 20

Response

Successful Response

The response is of type object.