Assess Governance
POSThttps://api.confident-ai.com/v2/governance/assess
Assesses this project against every control in the governance policy it belongs to, and returns whether they all passed. Call it as a gate in a deployment pipeline: a false passed means at least one control is failing. A project that belongs to no governance policy is rejected with a 400.
curl -X POST "https://api.confident-ai.com/v2/governance/assess" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"passed": true,
"governancePolicy": {
"id": "<GOVERNANCE-POLICY-ID>",
"name": "EU AI Act readiness"
}
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Response
Assess Governance succeeded.
successbooleanIndicates if the request was successful.
dataobjectThe verdict of assessing a project against every control in its governance policy.
Show 2 propertiesHide 2 properties
passedbooleanWhether every control in the policy passed. Use this as the gate in a deployment pipeline: false means at least one control is failing.
governancePolicyobjectA governance policy, named by id.
Show 2 propertiesHide 2 properties
idstringThe id of the governance policy.
namestringThe name of the governance policy.
deprecatedbooleanIndicates if this endpoint is deprecated.