Open Web UI icon

Open Web UI

OpenWebUI

Actions304

Chats → update_chat_by_id_api_v1_chats__id__post

AI-generated

Summary

Update a chat by its ID by sending a POST request to the /api/v1/chats/{id} endpoint with a JSON body containing the chat object to modify.

Inputs

  • Id (required) — The unique identifier of the chat to update, provided as a path parameter.
  • Request Body (required) — An object containing the updated chat data under the 'chat' key.
  • Skip Authentication — Optionally skip authentication for this request; defaults to false.

Output shape

a single JSON object representing the updated chat

The response returns the updated chat data. Authentication is required by default unless explicitly skipped.

Examples

Example 1: Update the title or contents of an existing chat by specifying its Id and providing the new chat data in the request body.

Set the 'Id' path parameter to the chat's identifier and fill in the 'chat' property in the request body with the updated fields.

Links

Discussion