Assess Governance Policy
(v2)POST
Runs every control the policy applies — including inherited ones — against every project enrolled in it, right now, appending a verdict for each control and project pair. Statuses, check counts and streaks all move as a result. Cost and duration scale with controls times projects, and the request does not return until the run finishes, so expect it to be slow on a large policy. The verdicts are not in this response; read them back from the policy or from each project's governance view.
curl -X POST "https://api.confident-ai.com/v2/organization/governance-policies/{policyId}/assess" \
-H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"{
"success": true,
"data": {
"governancePolicy": {
"id": "<GOVERNANCE-POLICY-ID>",
"name": "EU AI Act readiness"
},
"projectsAssessed": 4
},
"link": "https://app.confident-ai.com/organization/<ORGANIZATION-ID>/governance/policies/<GOVERNANCE-POLICY-ID>",
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe organization API key for your Confident AI organization.
Path parameters
policyIdstringRequiredThe id of the governance policy.
Response
Assess Governance Policy succeeded.
successbooleanIndicates if the request was successful.
dataobjectWhat an assessment run covered. The verdicts themselves are read back from the policy or from each project, since a run appends one assessment per (control, project) pair.
Show 2 propertiesHide 2 properties
governancePolicyobjectA governance policy, named by id.
Show 2 propertiesHide 2 properties
idstringThe id of the governance policy.
namestringThe name of the governance policy.
projectsAssessedintegerHow many enrolled projects were assessed, which is 0 when the policy has no projects enrolled and nothing was run.
linkstringThis is the URL of the resource on the Confident AI platform.
deprecatedbooleanIndicates if this endpoint is deprecated.