Skip to main content
 print this page

Update chat details or trigger summarization

PUT 

/ai/playground/chats/:chat_id

Requires owner access and action. action=update applies Title, Keywords, and/or Visibility from the body (all optional; omitted fields are unchanged). Visibility is project chats only and can only be set to public (cannot change public back to private). Empty or unchanged body returns "No updates performed." action=summarize starts summary generation (needs at least 2 messages; body unused).

Request

Responses

update with changes returns "Chat updated successfully." Unchanged body returns "No updates performed." summarize returns "Chat summary generation triggered." or "Chat summary generation is in progress."

Response Headers
    Access-Control-Allow-Origin
    Access-Control-Allow-Methods
    Access-Control-Allow-Headers