会话

更新会话

更新会话属性

put/sessions/{id}

Path parameters

idstring required

会话ID

Request body

created_atstring
descriptionstring

Description

idstring

ID

is_pinnedboolean

IsPinned indicates whether the session is pinned in the list.

pinned_atstring

PinnedAt records when the session was pinned; nil when not pinned.

tenant_idinteger

Tenant ID

titlestring

Title

updated_atstring
user_idstring

UserID is the owner of the session. Empty for legacy rows (visible at tenant level) and for IM-created sessions that do not map to a WeKnora user.

Response

更新后的会话

object required

Changes