List forecast accuracy
curl --request GET \
--url https://api.insightchain.ai/v1/inventory/forecast_accuracy \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.insightchain.ai/v1/inventory/forecast_accuracy"
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/forecast_accuracy', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"request_id": "f59d1764-d6de-40a1-9e7e-69526a6910cf",
"status": "ok",
"message": null,
"overall": {
"level": "org",
"node": "org",
"label": "Whole organization",
"item_id": null,
"location_id": null,
"period_start": null,
"status": "ok",
"reason": null,
"sample": {
"leaves": 4050,
"origins": 26,
"points": 52,
"actual_total": 412600,
"history_weeks": 61
},
"ours": {
"mae": 6.2,
"rmse": 8.4,
"bias": -0.6,
"bias_pct": -1.7,
"wape_pct": 17.5,
"mase": 0.81,
"rmsse": 0.84,
"mae_by_horizon": [
5.58,
6.82
],
"bias_by_horizon": [
-0.6,
-0.6
],
"methods": {
"smoothed_weekday": 22,
"intermittent": 4
}
},
"naive": {
"mae": 7.9,
"rmse": 10,
"bias": 0.3,
"bias_pct": 0.8,
"wape_pct": 22.3,
"mase": 1,
"rmsse": 1,
"mae_by_horizon": [
7.11,
8.69
],
"bias_by_horizon": [
0.3,
0.3
]
},
"seasonal_naive": {
"mae": 8.3,
"rmse": 10.9,
"bias": 1.1,
"bias_pct": 3.1,
"wape_pct": 23.4,
"mase": 1.05,
"rmsse": 1.09,
"mae_by_horizon": [
7.47,
9.13
],
"bias_by_horizon": [
1.1,
1.1
],
"seasonal_share": 0.42
},
"value_add": {
"rmsse_ratio": 0.84,
"wape_points": 4.8,
"beats_naive": true
}
},
"filters": {
"level": "item",
"period": "summary",
"from": null,
"to": null,
"item": null,
"location": null,
"status": null,
"sort": "worst",
"evaluation_id": null
},
"rows": [
{
"level": "item",
"node": "MAT-00000029",
"label": "Handbags - Style 00000029",
"item_id": "f29f7ba4-eb59-4852-85ec-3bf82a4678d4",
"location_id": null,
"period_start": null,
"status": "ok",
"reason": null,
"sample": {
"leaves": 12,
"origins": 26,
"points": 52,
"actual_total": 1840,
"history_weeks": 61
},
"ours": {
"mae": 6.2,
"rmse": 8.4,
"bias": -0.6,
"bias_pct": -1.7,
"wape_pct": 17.5,
"mase": 0.81,
"rmsse": 0.84,
"mae_by_horizon": [
5.58,
6.82
],
"bias_by_horizon": [
-0.6,
-0.6
],
"methods": {
"smoothed_weekday": 22,
"intermittent": 4
}
},
"naive": {
"mae": 7.9,
"rmse": 10,
"bias": 0.3,
"bias_pct": 0.8,
"wape_pct": 22.3,
"mase": 1,
"rmsse": 1,
"mae_by_horizon": [
7.11,
8.69
],
"bias_by_horizon": [
0.3,
0.3
]
},
"seasonal_naive": {
"mae": 8.3,
"rmse": 10.9,
"bias": 1.1,
"bias_pct": 3.1,
"wape_pct": 23.4,
"mase": 1.05,
"rmsse": 1.09,
"mae_by_horizon": [
7.47,
9.13
],
"bias_by_horizon": [
1.1,
1.1
],
"seasonal_share": 0.42
},
"value_add": {
"rmsse_ratio": 0.84,
"wape_points": 4.8,
"beats_naive": true
}
}
],
"page": {
"limit": 100,
"total": 405,
"has_more": true,
"next_cursor": "example-token"
},
"data_as_of": "2026-11-16T02:58:40.000+00:00",
"notes": [
"For each past week, our forecast and two benchmarks (naive: the last week; seasonal naive: the same week a year earlier) are made from the sales before it and compared with what sold over the next horizon_weeks."
],
"duration_ms": 4,
"object": "list",
"data": [
{
"level": "item",
"node": "MAT-00000029",
"label": "Handbags - Style 00000029",
"item_id": "f29f7ba4-eb59-4852-85ec-3bf82a4678d4",
"location_id": null,
"period_start": null,
"status": "ok",
"reason": null,
"sample": {
"leaves": 12,
"origins": 26,
"points": 52,
"actual_total": 1840,
"history_weeks": 61
},
"ours": {
"mae": 6.2,
"rmse": 8.4,
"bias": -0.6,
"bias_pct": -1.7,
"wape_pct": 17.5,
"mase": 0.81,
"rmsse": 0.84,
"mae_by_horizon": [
5.58,
6.82
],
"bias_by_horizon": [
-0.6,
-0.6
],
"methods": {
"smoothed_weekday": 22,
"intermittent": 4
}
},
"naive": {
"mae": 7.9,
"rmse": 10,
"bias": 0.3,
"bias_pct": 0.8,
"wape_pct": 22.3,
"mase": 1,
"rmsse": 1,
"mae_by_horizon": [
7.11,
8.69
],
"bias_by_horizon": [
0.3,
0.3
]
},
"seasonal_naive": {
"mae": 8.3,
"rmse": 10.9,
"bias": 1.1,
"bias_pct": 3.1,
"wape_pct": 23.4,
"mase": 1.05,
"rmsse": 1.09,
"mae_by_horizon": [
7.47,
9.13
],
"bias_by_horizon": [
1.1,
1.1
],
"seasonal_share": 0.42
},
"value_add": {
"rmsse_ratio": 0.84,
"wape_points": 4.8,
"beats_naive": true
}
}
],
"has_more": true,
"next_cursor": "example-token",
"evaluation": {
"id": "5d2c8a14-7b3e-4f19-a6c0-9e1b2d3f4a55",
"computed_at": "2026-11-16T03:40:12.000+00:00",
"age_hours": 127.3,
"stale": false,
"history": {
"from": "2025-09-22",
"to": "2026-11-15",
"weeks": 60,
"capped": false,
"calendar_from": "2025-05-19",
"calendar_weeks": 78
},
"origins": {
"count": 26,
"from": "2026-05-18",
"to": "2026-11-09"
},
"horizon_weeks": 2,
"min_history_weeks": 13,
"min_scored_origins": 8,
"pairs": {
"total": 4050,
"scored": 3312,
"insufficient_history": 738
},
"items": 405,
"levels": [
"item_location",
"item",
"category",
"location",
"location_type",
"org"
],
"levels_skipped": {},
"method": {
"forecast": "A statistical forecast per item and location, fitted on the sales before each week and summed into weeks",
"benchmarks": [
"naive",
"seasonal_naive"
],
"scaled_error": "rmsse",
"demand_history": "daily_demand"
},
"data_as_of": "2026-11-16T02:58:40.000+00:00"
}
}{
"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 forecast accuracy
Forecast accuracy measured on your own sales history: ours against naive and seasonal naive, with error, bias, scaled error and sample size per level.
Key scope: read (or execute). Answers the list object (object, data, has_more, next_cursor); the same rows stay under rows, deprecated.
GET
/
v1
/
inventory
/
forecast_accuracy
List forecast accuracy
curl --request GET \
--url https://api.insightchain.ai/v1/inventory/forecast_accuracy \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.insightchain.ai/v1/inventory/forecast_accuracy"
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/forecast_accuracy', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"request_id": "f59d1764-d6de-40a1-9e7e-69526a6910cf",
"status": "ok",
"message": null,
"overall": {
"level": "org",
"node": "org",
"label": "Whole organization",
"item_id": null,
"location_id": null,
"period_start": null,
"status": "ok",
"reason": null,
"sample": {
"leaves": 4050,
"origins": 26,
"points": 52,
"actual_total": 412600,
"history_weeks": 61
},
"ours": {
"mae": 6.2,
"rmse": 8.4,
"bias": -0.6,
"bias_pct": -1.7,
"wape_pct": 17.5,
"mase": 0.81,
"rmsse": 0.84,
"mae_by_horizon": [
5.58,
6.82
],
"bias_by_horizon": [
-0.6,
-0.6
],
"methods": {
"smoothed_weekday": 22,
"intermittent": 4
}
},
"naive": {
"mae": 7.9,
"rmse": 10,
"bias": 0.3,
"bias_pct": 0.8,
"wape_pct": 22.3,
"mase": 1,
"rmsse": 1,
"mae_by_horizon": [
7.11,
8.69
],
"bias_by_horizon": [
0.3,
0.3
]
},
"seasonal_naive": {
"mae": 8.3,
"rmse": 10.9,
"bias": 1.1,
"bias_pct": 3.1,
"wape_pct": 23.4,
"mase": 1.05,
"rmsse": 1.09,
"mae_by_horizon": [
7.47,
9.13
],
"bias_by_horizon": [
1.1,
1.1
],
"seasonal_share": 0.42
},
"value_add": {
"rmsse_ratio": 0.84,
"wape_points": 4.8,
"beats_naive": true
}
},
"filters": {
"level": "item",
"period": "summary",
"from": null,
"to": null,
"item": null,
"location": null,
"status": null,
"sort": "worst",
"evaluation_id": null
},
"rows": [
{
"level": "item",
"node": "MAT-00000029",
"label": "Handbags - Style 00000029",
"item_id": "f29f7ba4-eb59-4852-85ec-3bf82a4678d4",
"location_id": null,
"period_start": null,
"status": "ok",
"reason": null,
"sample": {
"leaves": 12,
"origins": 26,
"points": 52,
"actual_total": 1840,
"history_weeks": 61
},
"ours": {
"mae": 6.2,
"rmse": 8.4,
"bias": -0.6,
"bias_pct": -1.7,
"wape_pct": 17.5,
"mase": 0.81,
"rmsse": 0.84,
"mae_by_horizon": [
5.58,
6.82
],
"bias_by_horizon": [
-0.6,
-0.6
],
"methods": {
"smoothed_weekday": 22,
"intermittent": 4
}
},
"naive": {
"mae": 7.9,
"rmse": 10,
"bias": 0.3,
"bias_pct": 0.8,
"wape_pct": 22.3,
"mase": 1,
"rmsse": 1,
"mae_by_horizon": [
7.11,
8.69
],
"bias_by_horizon": [
0.3,
0.3
]
},
"seasonal_naive": {
"mae": 8.3,
"rmse": 10.9,
"bias": 1.1,
"bias_pct": 3.1,
"wape_pct": 23.4,
"mase": 1.05,
"rmsse": 1.09,
"mae_by_horizon": [
7.47,
9.13
],
"bias_by_horizon": [
1.1,
1.1
],
"seasonal_share": 0.42
},
"value_add": {
"rmsse_ratio": 0.84,
"wape_points": 4.8,
"beats_naive": true
}
}
],
"page": {
"limit": 100,
"total": 405,
"has_more": true,
"next_cursor": "example-token"
},
"data_as_of": "2026-11-16T02:58:40.000+00:00",
"notes": [
"For each past week, our forecast and two benchmarks (naive: the last week; seasonal naive: the same week a year earlier) are made from the sales before it and compared with what sold over the next horizon_weeks."
],
"duration_ms": 4,
"object": "list",
"data": [
{
"level": "item",
"node": "MAT-00000029",
"label": "Handbags - Style 00000029",
"item_id": "f29f7ba4-eb59-4852-85ec-3bf82a4678d4",
"location_id": null,
"period_start": null,
"status": "ok",
"reason": null,
"sample": {
"leaves": 12,
"origins": 26,
"points": 52,
"actual_total": 1840,
"history_weeks": 61
},
"ours": {
"mae": 6.2,
"rmse": 8.4,
"bias": -0.6,
"bias_pct": -1.7,
"wape_pct": 17.5,
"mase": 0.81,
"rmsse": 0.84,
"mae_by_horizon": [
5.58,
6.82
],
"bias_by_horizon": [
-0.6,
-0.6
],
"methods": {
"smoothed_weekday": 22,
"intermittent": 4
}
},
"naive": {
"mae": 7.9,
"rmse": 10,
"bias": 0.3,
"bias_pct": 0.8,
"wape_pct": 22.3,
"mase": 1,
"rmsse": 1,
"mae_by_horizon": [
7.11,
8.69
],
"bias_by_horizon": [
0.3,
0.3
]
},
"seasonal_naive": {
"mae": 8.3,
"rmse": 10.9,
"bias": 1.1,
"bias_pct": 3.1,
"wape_pct": 23.4,
"mase": 1.05,
"rmsse": 1.09,
"mae_by_horizon": [
7.47,
9.13
],
"bias_by_horizon": [
1.1,
1.1
],
"seasonal_share": 0.42
},
"value_add": {
"rmsse_ratio": 0.84,
"wape_points": 4.8,
"beats_naive": true
}
}
],
"has_more": true,
"next_cursor": "example-token",
"evaluation": {
"id": "5d2c8a14-7b3e-4f19-a6c0-9e1b2d3f4a55",
"computed_at": "2026-11-16T03:40:12.000+00:00",
"age_hours": 127.3,
"stale": false,
"history": {
"from": "2025-09-22",
"to": "2026-11-15",
"weeks": 60,
"capped": false,
"calendar_from": "2025-05-19",
"calendar_weeks": 78
},
"origins": {
"count": 26,
"from": "2026-05-18",
"to": "2026-11-09"
},
"horizon_weeks": 2,
"min_history_weeks": 13,
"min_scored_origins": 8,
"pairs": {
"total": 4050,
"scored": 3312,
"insufficient_history": 738
},
"items": 405,
"levels": [
"item_location",
"item",
"category",
"location",
"location_type",
"org"
],
"levels_skipped": {},
"method": {
"forecast": "A statistical forecast per item and location, fitted on the sales before each week and summed into weeks",
"benchmarks": [
"naive",
"seasonal_naive"
],
"scaled_error": "rmsse",
"demand_history": "daily_demand"
},
"data_as_of": "2026-11-16T02:58:40.000+00:00"
}
}{
"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