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.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
orgId*string
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response 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"}