Detect jurisdictions and classify risk
const url = 'https://example.com/api/v1/systems/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/classify';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"jurisdictions":["EU","CA"],"force":false}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/systems/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/classify \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "jurisdictions": [ "EU", "CA" ], "force": false }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”object
Restrict to these jurisdiction codes; default = auto-detected set.
Re-run even if metadata is unchanged.
Responses
Section titled “Responses”Successful Response
object
object
Full engine output: applicability, reasons, order and priority.
object
Every regime evaluated, strictest first; check applicable.
Verdict of the JurisdictionEngine for one regime.
object
Machine-readable trigger names behind each reason.
Codes that apply.
Recommended risk evaluation order: strictest regime first.
Regimes that win when obligations conflict. A tie returns all of them.
True when several regimes apply, so the strictest obligation governs.
Applicable regimes only. Kept for convenience; see jurisdictions.
Verdict of the JurisdictionEngine for one regime.
object
Machine-readable trigger names behind each reason.
object
Global baseline tiers; regional overlays map onto these.
object
Global baseline tiers; regional overlays map onto these.
Example
{ "success": true, "data": { "jurisdictions": { "matches": [ { "code": "EU", "name": "European Union", "regulation_name": "EU AI Act (Reg. 2024/1689)", "applicable": true, "confidence": 0.95, "reasons": [ "Offered to users in EU", "Data subjects located in DE" ], "signals": [ "offering_nexus", "data_subject_nexus" ], "matched_territories": [ "EU" ], "strictness": 0 } ], "applicable_jurisdictions": [ "EU", "CA", "GLOBAL" ], "evaluation_order": [ "EU", "CA", "GLOBAL" ], "most_restrictive_jurisdictions": [ "EU" ], "apply_most_restrictive": false, "most_restrictive": "EU" }, "detected_jurisdictions": [ { "code": "EU", "name": "European Union", "regulation_name": "EU AI Act (Reg. 2024/1689)", "applicable": true, "confidence": 0.95, "reasons": [ "Offered to users in EU", "Data subjects located in DE" ], "signals": [ "offering_nexus", "data_subject_nexus" ], "matched_territories": [ "EU" ], "strictness": 0 } ], "classifications": [ { "risk_tier": "prohibited" } ], "most_restrictive_tier": "prohibited" }}Unauthorized
object
Example
{ "error": { "code": "not_found", "correlation_id": "0f4b9a2e-6c2b-4f0e-9a4a-1c2b3d4e5f60", "message": "AI system not found." }}Forbidden
object
Example
{ "error": { "code": "not_found", "correlation_id": "0f4b9a2e-6c2b-4f0e-9a4a-1c2b3d4e5f60", "message": "AI system not found." }}Not Found
object
Example
{ "error": { "code": "not_found", "correlation_id": "0f4b9a2e-6c2b-4f0e-9a4a-1c2b3d4e5f60", "message": "AI system not found." }}Validation Error
object
object
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}