会话

更新会话

更新会话属性

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

Workspace ID

titlestring

Title

updated_atstring
user_idstring

UserID is the owner scope for this session. WeKnora user UUIDs, API external-user principals, and embed visitor principals all use this column.

Response

更新后的会话

object required

Changes