Retrieve Project
GEThttps://api.confident-ai.com/v2/projects/{projectId}
Retrieves a single project by id, including the governance policy it is enrolled in. The project must belong to the organization your API key is scoped to; one belonging to another organization is reported as not found rather than as forbidden.
curl -X GET "https://api.confident-ai.com/v2/projects/{projectId}" \
-H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"{
"success": true,
"data": {
"id": "<PROJECT-ID>",
"name": "Customer Support Agent",
"description": "The support chatbot serving acme.com.",
"organizationId": "<ORGANIZATION-ID>",
"created_at": "2025-01-14T09:30:00.000Z",
"governancePolicy": {
"id": "<GOVERNANCE-POLICY-ID>",
"name": "EU AI Act"
}
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe organization API key for your Confident AI organization.
Path parameters
projectIdstringRequiredThe id of the project. It must belong to the organization your API key is scoped to.
Response
Retrieve Project succeeded.
successbooleanIndicates if the request was successful.
dataobjectA workspace inside your organization. A project owns its own API keys, members, datasets, prompts, metrics and traces, and every project-scoped endpoint reads and writes within exactly one of them.
Show 6 propertiesHide 6 properties
idstringThe id of the project, generated by Confident AI.
namestringThe name of the project, unique within the organization.
descriptionstring | nullWhat the project covers, or null when it has no description.
organizationIdstringThe id of the organization the project belongs to.
created_atstringWhen the project was created.
governancePolicyobject | nullThe governance policy a project is enrolled in, named rather than resolved. Retrieve the policy itself to see the controls it enforces.
Show 2 propertiesHide 2 properties
idstringThe id of the governance policy, generated by Confident AI.
namestringThe name of the governance policy.
deprecatedbooleanIndicates if this endpoint is deprecated.