Get Project
GEThttps://api.confident-ai.com/v2/organization/governance-projects/{projectId}
Retrieves one project's governance view in full: every control its policy applies, including the ones that policy inherits from the policies it extends, and the project's verdict history over the last 30 days, newest first. Several assessments of the same control on the same day are collapsed to the last one, so each control appears at most once per day however often it was recomputed. A project enrolled in no governance policy has no controls to be assessed against and is reported as not found, so use the inventory listing to tell an ungoverned project from one that does not exist.
curl -X GET "https://api.confident-ai.com/v2/organization/governance-projects/{projectId}" \
-H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"{
"success": true,
"data": {
"id": "<PROJECT-ID>",
"name": "Customer Support Agent",
"description": "Front-line support assistant for billing questions.",
"owner": {
"id": "<USER-ID>",
"email": "jane@acme.com",
"name": "Jane Doe",
"image": null
},
"governancePolicy": {
"id": "<GOVERNANCE-POLICY-ID>",
"name": "EU AI Act readiness"
},
"controls": [
{
"id": "<GOVERNANCE-CONTROL-ID>",
"name": "Groundedness above 0.9",
"description": "Answers must stay grounded in the retrieved context.",
"type": "RUNTIME",
"currentVersion": {
"id": "<GOVERNANCE-CONTROL-VERSION-ID>",
"version": "00.00.02"
},
"baseGovernancePolicy": {
"id": "<GOVERNANCE-POLICY-ID>",
"name": "EU AI Act readiness"
},
"alsoInBaseGovernancePolicy": {
"id": "<GOVERNANCE-POLICY-ID>",
"name": "EU AI Act readiness"
}
}
],
"assessments": [
{
"id": "<GOVERNANCE-ASSESSMENT-ID>",
"governanceControlId": "<GOVERNANCE-CONTROL-ID>",
"governanceControlVersion": {
"id": "<GOVERNANCE-CONTROL-VERSION-ID>",
"version": "00.00.02"
},
"projectId": "<PROJECT-ID>",
"status": "PASS",
"evidence": {
"measured": 0.94,
"threshold": 0.9
},
"error": null,
"createdAt": "2025-01-15T02:00:00.000Z"
}
]
},
"link": "https://app.confident-ai.com/organization/<ORGANIZATION-ID>/governance/inventory/<PROJECT-ID>",
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe organization API key for your Confident AI organization.
Path parameters
projectIdstringRequiredThe id of the project.
Response
Get Project succeeded.
successbooleanIndicates if the request was successful.
dataobjectA project's governance view in full: the controls its policy applies and the verdict history behind its status. Only an enrolled project has this view — a project belonging to no governance policy has nothing to assess and is reported as not found.
Show 7 propertiesHide 7 properties
idstringThe id of the project.
namestringThe name of the project.
descriptionstring | nullWhat the project is for, or null when it has no description.
ownerobject | nullA Confident AI user, as referenced by the records they created.
Show 4 propertiesHide 4 properties
idstringThis is the id of the user.
emailstringThis is the email address of the user.
namestring | nullThis is the display name of the user, or null when they have not set one.
imagestring | nullThis is the URL of the user's avatar, or null when they have none.
governancePolicyobject | nullA governance policy, named by id.
Show 2 propertiesHide 2 properties
idstringThe id of the governance policy.
namestringThe name of the governance policy.
controlslist of objectsEvery control that applies to this project, including the ones its policy inherits from the policies it extends.
Show 7 propertiesHide 7 properties
idstringThe id of the governance control.
namestringThe name of the governance control.
descriptionstring | nullWhat the control checks, or null when it has no description.
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
currentVersionobject | nullThe version of a control's definition an assessment was computed against.
Show 2 propertiesHide 2 properties
idstringThe id of the control version, generated by Confident AI.
versionstringThe human-readable label of the control version.
baseGovernancePolicyobjectA governance policy, named by id.
Show 2 propertiesHide 2 properties
idstringThe id of the governance policy.
namestringThe name of the governance policy.
alsoInBaseGovernancePolicyobjectA governance policy, named by id.
Show 2 propertiesHide 2 properties
idstringThe id of the governance policy.
namestringThe name of the governance policy.
assessmentslist of objectsThe project's verdict history over the last 30 days, newest first. Several assessments of the same control on the same day are collapsed to the last one, so each control appears at most once per day however often it was recomputed.
Show 8 propertiesHide 8 properties
idstringThe id of the assessment, generated by Confident AI.
governanceControlIdstringThe id of the governance control that was assessed.
governanceControlVersionobjectThe version of a control's definition an assessment was computed against.
Show 2 propertiesHide 2 properties
idstringThe id of the control version, generated by Confident AI.
versionstringThe human-readable label of the control version.
projectIdstringThe id of the project the control was assessed against.
statusenumThe verdict of assessing one governance control against a project or organization.
Show 4 enum valuesHide 4 enum values
PASSFAILERRORNO_DATA
evidenceobject | nullerrorstring | nullWhy the check itself failed to run, or null when it ran. This is set on an ERROR verdict and says nothing about whether the project complies.
createdAtstringWhen the assessment was recorded.
linkstringThis is the URL of the resource on the Confident AI platform.
deprecatedbooleanIndicates if this endpoint is deprecated.