v8
OpenAPI 3.1.02026-08-033623795.0 MBAi chats
Update ai chat
Update an AI chat's title, notification preferences, or associated company context.
Required permissions:
- ai_chat:update
patch/ai_chats/{id}
Path parameters
idstring required
Example:aich_xxxxxxxxxxxxx
The unique identifier of the AI chat to update (e.g., "ai_chat_XXXXX").
Request body
Response
A successful response
Example response
{
"blended_token_usage": "123.45",
"created_at": "2023-12-01T05:00:00.401Z",
"id": "aich_xxxxxxxxxxxxx",
"last_message_at": "2023-12-01T05:00:00.401Z",
"message_count": 42,
"title": "Weekly Revenue Analysis",
"updated_at": "2023-12-01T05:00:00.401Z",
"user": {
"id": "user_xxxxxxxxxxxxx"
}
}