Create Group
POSThttps://api.confident-ai.com/v2/organization/governance-control-groups
Creates a governance control group and returns its id. The group starts empty, since which controls belong to it is set on each control rather than here, and putting a control in a group has no effect on which projects it gates or when it is assessed.
curl -X POST "https://api.confident-ai.com/v2/organization/governance-control-groups" \
-H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>" \
-H "Content-Type: application/json" \
-d '{
"name": "SOC 2 readiness",
"description": "The controls our SOC 2 auditor asks about each quarter."
}'{
"success": true,
"data": {
"id": "<GOVERNANCE-CONTROL-GROUP-ID>"
},
"link": "https://app.confident-ai.com/organization/<ORGANIZATION-ID>/governance/control-groups",
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe organization API key for your Confident AI organization.
Request body
namestringRequiredThe name of the control group, unique within your organization.
descriptionstring | nullWhat the group collects. Send null to leave it unset.
Response
Create Group succeeded.
successbooleanIndicates if the request was successful.
dataobjectA reference to a governance control group by its id.
Show 1 propertyHide 1 property
idstringThe id of the governance control group.
linkstringThis is the URL of the resource on the Confident AI platform.
deprecatedbooleanIndicates if this endpoint is deprecated.