Chat
Update a chat
Update settings of an existing chat (name, model, temperature, etc.).
patch/chats/{chat_id}
Path parameters
chat_idinteger required
Query parameters
cookie_namestring nullable
Request body
Example request
{
"name": "Q3 planning",
"temperature": 0.7,
"similarity_top_k": 5,
"system_prompt": "You are a concise financial analyst.",
"model": "gpt-4o"
}Response
Successful Response
Example response
{
"state": "NEW",
"state_reason": "Processing failed: timeout",
"state_changed_at": "2026-01-16T08:00:00Z",
"id": 1,
"created_at": "2026-06-23T12:00:00Z",
"updated_at": "2026-06-23T12:00:00Z",
"creator_user_id": 1,
"project_id": 1,
"name": "Untitled chat",
"temperature": 0.7,
"similarity_top_k": 5,
"system_prompt": "You are a helpful assistant.",
"llm_catalog_id": 1,
"llm_settings_id": 1,
"assistant_id": 1,
"consumed_tokens": 1024,
"form_data": {
"tone": "formal",
"topic": "sales"
}
}