Update Project
curl --request PATCH \
--url https://app.thinnest.ai/api/v1/projects/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Implants and braces"
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'Implants and braces'})
};
fetch('https://app.thinnest.ai/api/v1/projects/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/projects/{id}"
payload = { "name": "Implants and braces" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"id": "proj_9a1c3e57-2b4d-4f68-8e0a-1c3e5f7b9d24",
"name": "Implants and braces",
"isDefault": false,
"agents": 1,
"createdAt": "2026-09-30T10:04:12.551Z"
}Projects
Update Project
Renames a project. A build key may do this.
PATCH
/
projects
/
{id}
Update Project
curl --request PATCH \
--url https://app.thinnest.ai/api/v1/projects/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Implants and braces"
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'Implants and braces'})
};
fetch('https://app.thinnest.ai/api/v1/projects/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/projects/{id}"
payload = { "name": "Implants and braces" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"id": "proj_9a1c3e57-2b4d-4f68-8e0a-1c3e5f7b9d24",
"name": "Implants and braces",
"isDefault": false,
"agents": 1,
"createdAt": "2026-09-30T10:04:12.551Z"
}Authorizations
Headers
Developers only: the customer workspace this request acts in — its org_… id from POST /customers. Leave it out to act in your own workspace. Refused with 404 (Workspace not found.) when the id is unknown, is not one of your customers, or is not an org_… id; 410 when that customer was deleted (restore it with POST /customers/{id}/restore until it is erased); 403 when the key belongs to one customer workspace (it cannot act as another); 400 when your workspace is not a developer workspace. /customers/* and GET /customers/usage are your own workspace's and refuse the header with 400: call them without it.
Example:
"org_3fKq9TzQ1mN8vB2xR7cLpA"
Body
application/json
Response
The project as it now is.