Sessions
Set session visibility
Reclassifies a session as private or org-visible. Allowed only for the session's recorded owner (identity match) — roles grant no re-classification rights. Tightening cascades to descendant sessions and stops future agent-memory capture once the owning daemons acknowledge; memory already distilled is not retracted.
授权
bearerAuth 授权Bearer <token>
位置: header
路径参数
orgId*string
id*string
请求主体
application/json
TypeScript 定义
在 TypeScript 中使用 request body 类型。
响应主体
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/orgs/string/sessions/string/visibility" \ -H "Content-Type: application/json" \ -d '{ "visibility": "private" }'{ "id": "string", "visibility": "private", "visibilityRev": 0, "cascadedSessionIds": [ "string" ], "state": "pending"}