List recommendations
curl --request GET \
--url https://api.insightchain.ai/v1/recommendations \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.insightchain.ai/v1/recommendations"
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/recommendations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"request_id": "3ec0fb6e-c892-4914-8d6e-27407d773db9",
"recommendations": [
{
"id": "fea148ac-92ae-4370-b44b-62bfc83c2470",
"kind": "purchase",
"status": "proposed",
"quantity": 120,
"priority": 82,
"rationale": {
"on_hand": 64,
"reorder_point": 180,
"order_up_to_level": 300,
"days_of_cover": 4.5,
"lead_time_days": 21,
"supplier": "VEND-000020"
},
"expected_impact": {
"recommended_action": "purchase",
"estimated_value": 7554,
"stockout_risk_before": 0.42
},
"data_as_of": "2026-11-21T10:56:02.819+00:00",
"status_changed_by": null,
"status_changed_at": null,
"superseded_at": null,
"created_at": "2026-11-21T10:56:02.901975+00:00",
"updated_at": "2026-11-21T10:56:02.901975+00:00",
"item": {
"external_id": "MAT-00000029",
"description": "Handbags - Style 00000029"
},
"from_location": null,
"to_location": {
"external_id": "1010",
"name": "Store 1010"
}
}
],
"has_more": true,
"next_offset": 50,
"object": "list",
"data": [
{
"id": "fea148ac-92ae-4370-b44b-62bfc83c2470",
"kind": "purchase",
"status": "proposed",
"quantity": 120,
"priority": 82,
"rationale": {
"on_hand": 64,
"reorder_point": 180,
"order_up_to_level": 300,
"days_of_cover": 4.5,
"lead_time_days": 21,
"supplier": "VEND-000020"
},
"expected_impact": {
"recommended_action": "purchase",
"estimated_value": 7554,
"stockout_risk_before": 0.42
},
"data_as_of": "2026-11-21T10:56:02.819+00:00",
"status_changed_by": null,
"status_changed_at": null,
"superseded_at": null,
"created_at": "2026-11-21T10:56:02.901975+00:00",
"updated_at": "2026-11-21T10:56:02.901975+00:00",
"item": {
"external_id": "MAT-00000029",
"description": "Handbags - Style 00000029"
},
"from_location": null,
"to_location": {
"external_id": "1010",
"name": "Store 1010"
}
}
],
"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>"
}Recommendations
List recommendations
Recommendations from every agent with their status, newest first.
Key scope: read (or execute). Module: recommendations. Answers the list object (object, data, has_more, next_cursor); the same rows stay under recommendations, deprecated.
GET
/
v1
/
recommendations
List recommendations
curl --request GET \
--url https://api.insightchain.ai/v1/recommendations \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.insightchain.ai/v1/recommendations"
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/recommendations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"request_id": "3ec0fb6e-c892-4914-8d6e-27407d773db9",
"recommendations": [
{
"id": "fea148ac-92ae-4370-b44b-62bfc83c2470",
"kind": "purchase",
"status": "proposed",
"quantity": 120,
"priority": 82,
"rationale": {
"on_hand": 64,
"reorder_point": 180,
"order_up_to_level": 300,
"days_of_cover": 4.5,
"lead_time_days": 21,
"supplier": "VEND-000020"
},
"expected_impact": {
"recommended_action": "purchase",
"estimated_value": 7554,
"stockout_risk_before": 0.42
},
"data_as_of": "2026-11-21T10:56:02.819+00:00",
"status_changed_by": null,
"status_changed_at": null,
"superseded_at": null,
"created_at": "2026-11-21T10:56:02.901975+00:00",
"updated_at": "2026-11-21T10:56:02.901975+00:00",
"item": {
"external_id": "MAT-00000029",
"description": "Handbags - Style 00000029"
},
"from_location": null,
"to_location": {
"external_id": "1010",
"name": "Store 1010"
}
}
],
"has_more": true,
"next_offset": 50,
"object": "list",
"data": [
{
"id": "fea148ac-92ae-4370-b44b-62bfc83c2470",
"kind": "purchase",
"status": "proposed",
"quantity": 120,
"priority": 82,
"rationale": {
"on_hand": 64,
"reorder_point": 180,
"order_up_to_level": 300,
"days_of_cover": 4.5,
"lead_time_days": 21,
"supplier": "VEND-000020"
},
"expected_impact": {
"recommended_action": "purchase",
"estimated_value": 7554,
"stockout_risk_before": 0.42
},
"data_as_of": "2026-11-21T10:56:02.819+00:00",
"status_changed_by": null,
"status_changed_at": null,
"superseded_at": null,
"created_at": "2026-11-21T10:56:02.901975+00:00",
"updated_at": "2026-11-21T10:56:02.901975+00:00",
"item": {
"external_id": "MAT-00000029",
"description": "Handbags - Style 00000029"
},
"from_location": null,
"to_location": {
"external_id": "1010",
"name": "Store 1010"
}
}
],
"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>"
}Authorizations
Query Parameters
Response
OK