v50

latestSwagger 2.0raw.githubusercontent.com2026-08-07307239824.1 KB
会话

更新会话

更新会话属性

put/sessions/{id}

Path parameters

idstring required

会话ID

Request body

created_atstring
descriptionstring

Description

idstring

ID

im_platformstring

IMPlatform is the originating IM platform (e.g. "feishu", "wecom") when this session is bound to an IM channel. It is not stored on the sessions table (it lives in im_channel_sessions) and is populated on read so the Web console can classify a session's origin folder without a list query.

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