APIs
- Predictions
- Datasets
- Fine-tune models
- API Keys
Predictions
List Predictions
GET
/
predictions
Copy
curl --request GET \
--url https://api.timesdb.in/predictions \
--header 'Authorization: Bearer <token>'
Copy
{
"items": [
{
"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"
}
],
"total": 123,
"current_page": "<string>",
"current_page_backwards": "<string>",
"previous_page": "<string>",
"next_page": "<string>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200 - application/json
Successful Response
The response is of type object
.
Copy
curl --request GET \
--url https://api.timesdb.in/predictions \
--header 'Authorization: Bearer <token>'
Copy
{
"items": [
{
"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"
}
],
"total": 123,
"current_page": "<string>",
"current_page_backwards": "<string>",
"previous_page": "<string>",
"next_page": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.