Review passport origin evidence
curl --request POST \
--url https://api.insightchain.ai/v1/passports/{id}/origin_evidence/{evidence_id}/review \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"decision": "confirm"
}
'import requests
url = "https://api.insightchain.ai/v1/passports/{id}/origin_evidence/{evidence_id}/review"
payload = { "decision": "confirm" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({decision: 'confirm'})
};
fetch('https://api.insightchain.ai/v1/passports/{id}/origin_evidence/{evidence_id}/review', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"evidence": {
"id": "cf8b2ad5-f389-4a81-9f65-960fdebb5651",
"document_external_id": "DOC-ORIGIN-03",
"document_title": "Tannery declaration of origin 03",
"document_kind": "certificate",
"status": "confirmed",
"extraction": {
"ok": true,
"extraction": {
"plots": [
{
"page": 2,
"label": "Pasture A",
"areaHa": 2.8,
"country": "IT",
"geometry": {
"type": "Point",
"coordinates": [
11.58,
43.07
]
}
}
],
"issuer": "Conceria Modello S.p.A.",
"origins": [
{
"page": 1,
"country": "IT",
"material": "Bovine hides",
"regionCode": "IT-52",
"regionName": "Toscana"
}
],
"warnings": [
"plot_point_without_area"
],
"confidence": "high",
"custodySteps": [
{
"uom": "kg",
"date": "2026-01-04",
"page": 1,
"buyer": "Macello Senese S.r.l.",
"seller": "Azienda Agricola Val d'Orcia",
"quantity": 2400,
"regionFrom": null,
"countryFrom": null,
"documentReference": "DDT-03"
}
],
"documentType": "tannery_declaration",
"documentReference": "TD-2026-03"
}
},
"extracted_at": "2026-11-21T09:39:13.011735+00:00",
"suggested": {
"country": "IT",
"regionCode": "IT-52",
"regionName": "Toscana",
"ambiguous": false
},
"confirmed_country": "IT",
"confirmed_region_code": "IT-52",
"confirmed_region_name": "Toscana",
"material_external_ids": [
"MAT-BODY"
],
"review_note": "Checked against the supplier's declaration",
"reviewed_by": "api_key:00000000-0000-4000-8000-000000000001",
"reviewed_at": "2026-11-21T10:55:55.561+00:00",
"created_at": "2026-11-21T09:39:13.011735+00:00"
},
"report": {
"rulesetVersion": "2026.08-uflpa-v1",
"regionsVersion": "2026.08-uflpa-regions-v1",
"effectiveDate": "2026-08-20",
"basis": "Based on the UFLPA (Pub. L. 117-78) rebuttable presumption and CBP's Operational Guidance for Importers (June 2022) on admissibility pack...",
"asOf": "2026-11-21",
"verdict": "gaps_found",
"checks": [
{
"id": "custody.chain_present",
"label": "Chain of custody recorded",
"status": "pass",
"detail": null,
"remediation": null,
"regulationRefs": [
"UFLPA §3"
]
}
],
"counts": {
"pass": 6,
"fail": 3,
"manualReview": 0,
"notApplicable": 0
}
},
"eudr": {
"inScope": true,
"ready": true,
"gaps": [],
"plotCount": 18,
"coveredMaterials": [
"MAT-BODY"
],
"uncoveredMaterials": []
},
"written": {
"transfers": 2,
"plots": 1,
"skipped_steps": [
{
"step": 3,
"reason": "no_date"
}
],
"skipped_plots": [
{
"plot": 2,
"reason": "point_requires_area"
}
]
},
"request_id": "2d3650d5-2c4e-4be7-8d7d-3c3b2468e8c9"
}{
"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>"
}{
"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>"
}Product passports
Review passport origin evidence
Confirm or reject origin evidence; confirm needs country. A decision: the key’s creator must still be a member.
Key scope: execute. Module: dpp.
POST
/
v1
/
passports
/
{id}
/
origin_evidence
/
{evidence_id}
/
review
Review passport origin evidence
curl --request POST \
--url https://api.insightchain.ai/v1/passports/{id}/origin_evidence/{evidence_id}/review \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"decision": "confirm"
}
'import requests
url = "https://api.insightchain.ai/v1/passports/{id}/origin_evidence/{evidence_id}/review"
payload = { "decision": "confirm" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({decision: 'confirm'})
};
fetch('https://api.insightchain.ai/v1/passports/{id}/origin_evidence/{evidence_id}/review', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"evidence": {
"id": "cf8b2ad5-f389-4a81-9f65-960fdebb5651",
"document_external_id": "DOC-ORIGIN-03",
"document_title": "Tannery declaration of origin 03",
"document_kind": "certificate",
"status": "confirmed",
"extraction": {
"ok": true,
"extraction": {
"plots": [
{
"page": 2,
"label": "Pasture A",
"areaHa": 2.8,
"country": "IT",
"geometry": {
"type": "Point",
"coordinates": [
11.58,
43.07
]
}
}
],
"issuer": "Conceria Modello S.p.A.",
"origins": [
{
"page": 1,
"country": "IT",
"material": "Bovine hides",
"regionCode": "IT-52",
"regionName": "Toscana"
}
],
"warnings": [
"plot_point_without_area"
],
"confidence": "high",
"custodySteps": [
{
"uom": "kg",
"date": "2026-01-04",
"page": 1,
"buyer": "Macello Senese S.r.l.",
"seller": "Azienda Agricola Val d'Orcia",
"quantity": 2400,
"regionFrom": null,
"countryFrom": null,
"documentReference": "DDT-03"
}
],
"documentType": "tannery_declaration",
"documentReference": "TD-2026-03"
}
},
"extracted_at": "2026-11-21T09:39:13.011735+00:00",
"suggested": {
"country": "IT",
"regionCode": "IT-52",
"regionName": "Toscana",
"ambiguous": false
},
"confirmed_country": "IT",
"confirmed_region_code": "IT-52",
"confirmed_region_name": "Toscana",
"material_external_ids": [
"MAT-BODY"
],
"review_note": "Checked against the supplier's declaration",
"reviewed_by": "api_key:00000000-0000-4000-8000-000000000001",
"reviewed_at": "2026-11-21T10:55:55.561+00:00",
"created_at": "2026-11-21T09:39:13.011735+00:00"
},
"report": {
"rulesetVersion": "2026.08-uflpa-v1",
"regionsVersion": "2026.08-uflpa-regions-v1",
"effectiveDate": "2026-08-20",
"basis": "Based on the UFLPA (Pub. L. 117-78) rebuttable presumption and CBP's Operational Guidance for Importers (June 2022) on admissibility pack...",
"asOf": "2026-11-21",
"verdict": "gaps_found",
"checks": [
{
"id": "custody.chain_present",
"label": "Chain of custody recorded",
"status": "pass",
"detail": null,
"remediation": null,
"regulationRefs": [
"UFLPA §3"
]
}
],
"counts": {
"pass": 6,
"fail": 3,
"manualReview": 0,
"notApplicable": 0
}
},
"eudr": {
"inScope": true,
"ready": true,
"gaps": [],
"plotCount": 18,
"coveredMaterials": [
"MAT-BODY"
],
"uncoveredMaterials": []
},
"written": {
"transfers": 2,
"plots": 1,
"skipped_steps": [
{
"step": 3,
"reason": "no_date"
}
],
"skipped_plots": [
{
"plot": 2,
"reason": "point_requires_area"
}
]
},
"request_id": "2d3650d5-2c4e-4be7-8d7d-3c3b2468e8c9"
}{
"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>"
}{
"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
Headers
Path Parameters
Body
application/json
Response
OK