v10

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-0582185581.9 KB
Agents

Update agent conversation title

Updates the display title for an agent conversation owned by the caller.

The controller looks up the conversation by _id, orgId, userId, agentKey, and isDeleted: false.

The request body uses the shared title validator (1..200 chars), and the controller trims the incoming title before saving it. A whitespace-only title can therefore still return HTTP 400 even if the raw string is non-empty.

patch/agents/{agentKey}/conversations/{conversationId}/title

Path parameters

agentKeystring required
conversationIdstring objectId required

Request body

titlestring required

New title for the conversation

Example request

{
  "title": "ABC News Follow-up"
}

Response

Title updated successfully