v54

latestSwagger 2.0AGPL-3.0raw.githubusercontent.com2026-08-03397565628.8 KB
Chats

Update chat

Experimental: this endpoint is subject to change.

patch/api/experimental/chats/{chat}

Path parameters

chatstring uuid required

Chat ID

Request body

archivedboolean
labelsobject
pin_orderinteger

PinOrder controls the chat's pinned state and position.

  • nil: no change to pin state.
  • 0: unpin the chat.
  • 0 (chat is unpinned): pin the chat, appending it to the end of the pinned list. The specific value is ignored; the server assigns the next available position.

  • 0 (chat is already pinned): move the chat to the requested position, shifting neighbors as needed. The value is clamped to [1, pinned_count].

plan_mode'plan'
titlestring
workspace_idstring uuid

Response

No Content