List Controls
GEThttps://api.confident-ai.com/v2/organization/governance-controls
Lists your organization's governance controls, newest created first, each with its health across the projects it governs. A control's definition is not included — read its versions for that. Health is computed from the latest verdict per governed project, so it reflects the current state rather than the whole assessment history.
curl -X GET "https://api.confident-ai.com/v2/organization/governance-controls" \
-H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"{
"success": true,
"data": {
"governanceControls": [
{
"id": "<GOVERNANCE-CONTROL-ID>",
"name": "Production error rate under 2%",
"description": "Traces must error on fewer than 2% of production requests over the last day.",
"type": "RUNTIME",
"operationalKey": null,
"recommended": false,
"configured": true,
"policiesCount": 2,
"severity": "CRITICAL",
"assessmentsCount": 128,
"createdAt": "2025-01-14T09:30:00.000Z",
"health": {
"passRate": 75,
"projectsAssessed": 4,
"projectsFailing": 1,
"projectsTotal": 5,
"projects": [
{
"projectId": "<PROJECT-ID>",
"projectName": "Checkout Assistant",
"status": "PASS"
}
]
}
}
],
"totalGovernanceControls": 12,
"page": 1,
"pageSize": 25
},
"link": "https://app.confident-ai.com/organization/<ORGANIZATION-ID>/governance/controls",
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe organization API key for your Confident AI organization.
Query parameters
typeenumactivityenumpageintegerdefault: 1The page to return. Defaults to 1.
pageSizeintegerdefault: 25The number of controls per page, at most 100. Defaults to 25.
Response
List Controls succeeded.
successbooleanIndicates if the request was successful.
dataobjectOne page of governance controls, with the total across all pages.
Show 4 propertiesHide 4 properties
governanceControlslist of objectsThe organization's governance controls for the current page, newest created first.
Show 12 propertiesHide 12 properties
idstringThe id of the control, generated by Confident AI.
namestringThe name of the control, unique within your organization.
descriptionstring | nullWhat the control checks and why, or null when it has none.
typeenumWhat 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
RUNTIMEPRE_DEPLOYMENT_EVALSPRE_DEPLOYMENT_RED_TEAMINGOPERATIONAL
operationalKeystring | nullThe Confident AI registry entry an OPERATIONAL control was seeded from, which is what it checks. It is null for every other type.
recommendedbooleanWhether Confident AI recommends this control as part of a baseline. It is set on the controls Confident AI seeds and is false for controls you create.
configuredbooleanWhether the control's current version carries enough of a definition to be assessed. A runtime control needs a data model, an aggregation and a numeric threshold; a pre-deployment control needs either a run identifier or
officialOnly. An unconfigured control assesses as ERROR, and an OPERATIONAL control is always configured.policiesCountintegerHow many governance policies hold this control. A control in no policy governs nothing and is never assessed.
severityenum | nullHow much a failing control matters, set per version rather than per control. LOW never blocks a deployment gate; CRITICAL, HIGH and MEDIUM block, and so does leaving the severity unset.
Show 4 enum valuesHide 4 enum values
CRITICALHIGHMEDIUMLOW
assessmentsCountintegerHow many verdicts have been recorded for this control, summed across every version of its definition.
createdAtstringWhen the control was created.
healthobjectHow a control is doing across the projects it governs, computed from the latest verdict per project rather than from its whole assessment history. A project is governed when its policy holds the control, or when its policy extends a base policy that holds it.
Show 5 propertiesHide 5 properties
passRatenumber | nullprojectsAssessedintegerHow many governed projects have produced a counted verdict, meaning a PASS, FAIL or ERROR rather than NO_DATA.
projectsFailingintegerHow many governed projects have a latest verdict of FAIL or ERROR.
projectsTotalintegerHow many projects the control governs in total, including those it has never been assessed against. The difference from
projectsAssessedis the projects with no counted verdict yet.projectslist of objectsThe latest verdict for each governed project, one entry per project counted in
projectsTotal. It is empty when the control is attached to no policy.Show 3 propertiesHide 3 properties
projectIdstringThe id of the governed project.
projectNamestringThe name of the governed project.
statusenum | nullThe verdict of assessing one governance control against a project or organization.
Show 4 enum valuesHide 4 enum values
PASSFAILERRORNO_DATA
totalGovernanceControlsintegerThe number of controls matching
typeandactivity, across every page.pageintegerThe page this response covers.
pageSizeintegerThe number of controls per page.
linkstringThis is the URL of the resource on the Confident AI platform.
deprecatedbooleanIndicates if this endpoint is deprecated.