List Governance Policies
GEThttps://api.confident-ai.com/v1/organization/governance-policies
Lists your organization's governance policies. Each policy includes the projects assigned to it, its own controls, and the base policies whose controls it inherits.
curl -X GET "https://api.confident-ai.com/v1/organization/governance-policies" \
-H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"{
"success": true,
"data": {
"governancePolicies": [
{
"id": "gov-policy-uuid-1",
"name": "Production Gate",
"description": "Pre-deployment gate for production agents",
"projectsCount": 1,
"isBasePolicy": false,
"controls": [
{
"id": "control-uuid-1",
"name": "Logs traces before production",
"type": "PRE_DEPLOYMENT_EVALS"
},
{
"id": "control-uuid-0",
"name": "Has alert integrations",
"type": "OPERATIONAL"
}
]
}
]
}
}Headers
CONFIDENT_API_KEYstringRequiredThe organization API key for your Confident AI organization.
Response
successbooleanIndicates if the request was successful
dataobjectShow 1 propertyHide 1 property
governancePolicieslist of objectsThe organization's governance policies
Show 6 propertiesHide 6 properties
idstringThe unique identifier of the governance policy.
namestringThe name of the governance policy.
descriptionstringOptional description of the governance policy.
projectsCountintegerThe number of projects assigned to this policy.
isBasePolicybooleanWhether other policies extend this policy and inherit its controls.
controlslist of objectsEvery control that applies to this policy's projects, including controls inherited from any policies it extends.
Show 3 propertiesHide 3 properties
idstringThe unique identifier of the control.
namestringThe name of the control.
typeenumThe control type.
Show 4 enum valuesHide 4 enum values
RUNTIMEPRE_DEPLOYMENT_EVALSPRE_DEPLOYMENT_RED_TEAMINGOPERATIONAL