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"
}
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"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful Response
The response is of type object
.