Update Project
PUThttps://api.confident-ai.com/v2/projects/{projectId}
Renames a project or changes its description, and returns the project as stored. Send at least one field; a field you omit is left as it is. A name already taken by another project in the organization is refused.
curl -X PUT "https://api.confident-ai.com/v2/projects/{projectId}" \
-H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>" \
-H "Content-Type: application/json" \
-d '{
"name": "Customer Support Agent",
"description": "The support chatbot serving acme.com."
}'{
"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.
Request body
namestringThe name of the project, which must not already be taken by another project in the organization.
descriptionstringWhat the project covers.
Response
Update 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.