Launch Week 02 wrapped — explore all five launches

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.

POST/v2/governance/assess
curl -X POST "https://api.confident-ai.com/v2/governance/assess" \
  -H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"
200
{
  "success": true,
  "data": {
    "passed": true,
    "governancePolicy": {
      "id": "<GOVERNANCE-POLICY-ID>",
      "name": "EU AI Act readiness"
    }
  },
  "deprecated": false
}

Headers

  • CONFIDENT_API_KEYstringRequired

    The API key of your Confident AI project.

Response

Assess Governance succeeded.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    The verdict of assessing a project against every control in its governance policy.

    Show 2 propertiesHide 2 properties
    • passedboolean

      Whether every control in the policy passed. Use this as the gate in a deployment pipeline: false means at least one control is failing.

    • 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.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI