List forecasts
curl --request GET \
--url https://api.insightchain.ai/v1/inventory/forecasts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.insightchain.ai/v1/inventory/forecasts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.insightchain.ai/v1/inventory/forecasts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"request_id": "bc54e272-dff5-498a-af1a-a6a3fc7d8df5",
"window_days": 90,
"horizon_days": 30,
"data_as_of": null,
"demand_source": {
"source": "order_lines",
"history_complete": false,
"history_as_of": null,
"fallback_reason": "history_not_built"
},
"stale": true,
"count": 100,
"total": 4050,
"has_more": true,
"forecasts": [
{
"item": "MAT-00000029",
"description": "Handbags - Style 00000029",
"location": "1003",
"classification": "intermittent",
"method": "intermittent",
"history_mean_daily": 2.8,
"forecast_daily_rate": 22.4713,
"forecast_horizon_total": 674.14,
"in_sample_mae": null,
"day_of_week_indices": null
}
],
"demand_drivers_in_horizon": [
{
"title": "Las Vegas Grand Prix 2026",
"event_type": "sports_event",
"severity": 2,
"country_codes": [
"US"
],
"starts_at": "2026-11-19T00:00:00+00:00",
"ends_at": "2026-11-21T23:59:59+00:00"
}
],
"planning": {
"source": "on_request",
"reason": "no_stored_result"
},
"duration_ms": 192,
"notes": [
"Forecasts are statistical and the same for the same history: smoothed by weekday for steady and variable demand (smoothed_weekday), an intermittent-demand method for sparse demand (intermittent)."
],
"object": "list",
"data": [
{
"item": "MAT-00000029",
"description": "Handbags - Style 00000029",
"location": "1003",
"classification": "intermittent",
"method": "intermittent",
"history_mean_daily": 2.8,
"forecast_daily_rate": 22.4713,
"forecast_horizon_total": 674.14,
"in_sample_mae": null,
"day_of_week_indices": null
}
],
"next_cursor": "example-token"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}Inventory
List forecasts
Deterministic demand forecast per item and location, with calendar demand drivers. Read-only; planning in the answer says whether it is the latest stored result or one made for this request’s settings.
Key scope: read (or execute). Answers the list object (object, data, has_more, next_cursor); the same rows stay under forecasts, deprecated.
GET
/
v1
/
inventory
/
forecasts
List forecasts
curl --request GET \
--url https://api.insightchain.ai/v1/inventory/forecasts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.insightchain.ai/v1/inventory/forecasts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.insightchain.ai/v1/inventory/forecasts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"request_id": "bc54e272-dff5-498a-af1a-a6a3fc7d8df5",
"window_days": 90,
"horizon_days": 30,
"data_as_of": null,
"demand_source": {
"source": "order_lines",
"history_complete": false,
"history_as_of": null,
"fallback_reason": "history_not_built"
},
"stale": true,
"count": 100,
"total": 4050,
"has_more": true,
"forecasts": [
{
"item": "MAT-00000029",
"description": "Handbags - Style 00000029",
"location": "1003",
"classification": "intermittent",
"method": "intermittent",
"history_mean_daily": 2.8,
"forecast_daily_rate": 22.4713,
"forecast_horizon_total": 674.14,
"in_sample_mae": null,
"day_of_week_indices": null
}
],
"demand_drivers_in_horizon": [
{
"title": "Las Vegas Grand Prix 2026",
"event_type": "sports_event",
"severity": 2,
"country_codes": [
"US"
],
"starts_at": "2026-11-19T00:00:00+00:00",
"ends_at": "2026-11-21T23:59:59+00:00"
}
],
"planning": {
"source": "on_request",
"reason": "no_stored_result"
},
"duration_ms": 192,
"notes": [
"Forecasts are statistical and the same for the same history: smoothed by weekday for steady and variable demand (smoothed_weekday), an intermittent-demand method for sparse demand (intermittent)."
],
"object": "list",
"data": [
{
"item": "MAT-00000029",
"description": "Handbags - Style 00000029",
"location": "1003",
"classification": "intermittent",
"method": "intermittent",
"history_mean_daily": 2.8,
"forecast_daily_rate": 22.4713,
"forecast_horizon_total": 674.14,
"in_sample_mae": null,
"day_of_week_indices": null
}
],
"next_cursor": "example-token"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}Authorizations
Query Parameters
Response
OK