Introducing Confident Monitor

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.

POST/v2/organization/governance-policies/{policyId}/assess
curl -X POST "https://api.confident-ai.com/v2/organization/governance-policies/{policyId}/assess" \
  -H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"
200
{
  "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_KEYstringRequired

    The organization API key for your Confident AI organization.

Path parameters

  • policyIdstringRequired

    The id of the governance policy.

Response

Assess Governance Policy succeeded.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    What 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
    • governancePolicyobject

      A governance policy, named by id.

      Show 2 propertiesHide 2 properties
      • idstring

        The id of the governance policy.

      • namestring

        The name of the governance policy.

    • projectsAssessedinteger

      How many enrolled projects were assessed, which is 0 when the policy has no projects enrolled and nothing was run.

  • linkstring

    This is the URL of the resource on the Confident AI platform.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI