POST
/
predictions
curl --request POST \
  --url https://api.timesdb.in/predictions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "series_id": "<string>",
  "ai_model_id": "<string>",
  "series": [
    {
      "timestamp": "2023-11-07T05:31:56Z",
      "value": 123,
      "metadata": {}
    }
  ],
  "is_async": false,
  "fine_tuning_epochs": 123
}'
{
  "id": "<string>",
  "ai_model_id": "<string>",
  "status": "QUEUED",
  "input_series": [
    {
      "timestamp": "2023-11-07T05:31:56Z",
      "value": 123,
      "metadata": {}
    }
  ],
  "prediction_series": [
    {
      "timestamp": "2023-11-07T05:31:56Z",
      "value": 123,
      "metadata": {}
    }
  ],
  "input_series_id": "<string>",
  "prediction_series_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

201
application/json

Successful Response

The response is of type object.