Launch Week 02 wrapped — explore all five launches

List Policies

GEThttps://api.confident-ai.com/v2/organization/governance-policies

Lists your organization's governance policies, newest created policy first. Each policy comes back with the number of projects enrolled in it and every control that applies to its projects, including the controls it inherits from the policies it extends. isBasePolicy tells you whether other policies extend this one, which is what stops it being deleted or extending anything itself. Retrieve a policy by id for each control's definition and verdicts.

GET/v2/organization/governance-policies
curl -X GET "https://api.confident-ai.com/v2/organization/governance-policies" \
  -H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"
200
{
  "success": true,
  "data": {
    "governancePolicies": [
      {
        "id": "<GOVERNANCE-POLICY-ID>",
        "name": "EU AI Act readiness",
        "description": "The checks every customer-facing agent must pass before release.",
        "projectsCount": 4,
        "isBasePolicy": false,
        "controls": [
          {
            "id": "<GOVERNANCE-CONTROL-ID>",
            "name": "Groundedness above 0.9",
            "type": "RUNTIME"
          }
        ]
      }
    ]
  },
  "deprecated": false
}

Headers

  • CONFIDENT_API_KEYstringRequired

    The organization API key for your Confident AI organization.

Response

List Policies succeeded.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    Every governance policy in your organization.

    Show 1 propertyHide 1 property
    • governancePolicieslist of objects

      Your organization's governance policies, newest created policy first.

      Show 6 propertiesHide 6 properties
      • idstring

        The id of the governance policy, generated by Confident AI.

      • namestring

        The name of the governance policy.

      • descriptionstring | null

        What the policy covers, or null when it has no description.

      • projectsCountinteger

        How many projects are enrolled in this policy.

      • isBasePolicyboolean

        Whether other policies extend this one and inherit its controls. While this is true the policy cannot be deleted and cannot itself start extending another policy.

      • controlslist of objects

        Every control that applies to this policy's projects, including the ones inherited from the policies it extends.

        Show 3 propertiesHide 3 properties
        • idstring

          The id of the governance control.

        • namestring

          The name of the governance control.

        • typeenum

          What a governance control checks: RUNTIME watches production behaviour, PRE_DEPLOYMENT_EVALS and PRE_DEPLOYMENT_RED_TEAMING gate a release, and OPERATIONAL covers process rather than the system itself.

          Show 4 enum valuesHide 4 enum values
          • RUNTIME
          • PRE_DEPLOYMENT_EVALS
          • PRE_DEPLOYMENT_RED_TEAMING
          • OPERATIONAL
  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI