Rename a conversation (REQ-2.5).
PATCH
/api/advisor/conversations/{id}
const url = 'https://api.tradr.cloud/api/advisor/conversations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = { method: 'PATCH', headers: {'Content-Type': 'application/json'}, body: '{"title":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.tradr.cloud/api/advisor/conversations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Content-Type: application/json' \ --data '{ "title": "example" }'Updates the conversation title (1–200 chars; whitespace-only rejected) and bumps updatedAt. 404 if the conversation does not exist OR is owned by another user (identical envelope — no leak).
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
title
required
string
Examplegenerated
{ "title": "example"}Responses
Section titled “Responses”The updated conversation.
Invalid title.
Conversation not found (or not owned).