Skip to main content

Time Series Forecasting API

POSThttps://[api_name]-[api_id].infer.visai.ai/predict
Header
    X-API-Key string required

    Your API key

Domain Name
    api_name string required

    Deployed API Name

    api_id string required

    Deployed API ID

    Get your deployed api in Library | Console.
Request Body required
List of key-value. Key is represented by the data column and the value is represented by data in the column in each row.
* The columns of input must be the same as the columns of the training data.
* The number of data point should have at least the same number of back steps.
    inputs Array [
    object
    {timestep_col} string

    Date format according to your dataset.

    Note: timestep_col key is the timestep column you selected when training the data.

    {target_col} number

    Data point

    Note: target_col key is the target column you selected when training the data.

    {numerical_cols} or {categorical_cols} number

    Data point

    Note: numerical_cols or categorical_cols key is the column you selected when training the data.

    ]
Responses


object
forecast_values float[]

List of the predicted values from the model.

data_drift float

The difference between the distribution of training data and inference data.

Loading...