Get Control
GEThttps://api.confident-ai.com/v2/organization/governance-controls/{controlId}
Retrieves a single governance control with its health across the projects it governs and when it was last assessed. The rule it evaluates is not returned here — list the control's versions to read its definition.
curl -X GET "https://api.confident-ai.com/v2/organization/governance-controls/{controlId}" \
-H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"{
"success": true,
"data": {
"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"
}
]
},
"lastAssessedAt": "2025-01-20T02:00:00.000Z"
},
"link": "https://app.confident-ai.com/organization/<ORGANIZATION-ID>/governance/controls/<GOVERNANCE-CONTROL-ID>",
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe organization API key for your Confident AI organization.
Path parameters
controlIdstringRequiredThe id of the governance control.
Response
Get Control succeeded.
successbooleanIndicates if the request was successful.
dataobjectOne check a governance policy applies to the projects it governs. The control is a stable identity — its name, its type and its membership of policies — while the rule it evaluates lives on its append-only versions, the newest of which is the definition every new assessment runs against.
Show 13 propertiesHide 13 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
lastAssessedAtstring | nullWhen this control was most recently assessed against any project, across every version of its definition, or null when it has never been assessed.
linkstringThis is the URL of the resource on the Confident AI platform.
deprecatedbooleanIndicates if this endpoint is deprecated.