Make the session private or workspace-visible, and edit its viewers [write, owner]

Changed on
patch/sessions/{id}/access

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/sessions/{id}/access
  • Auth
    HTTP bearer

Path parameters

idstring required

The session id

Request body

visibility'workspace' | 'private'
add_viewersstring[]
remove_viewersstring[]

Response

OK

session_idstring required
titlestring nullable required
agent_typestring required
llmstring required
visibility'workspace' | 'private' required
access'owner' | 'member' | 'viewer' required

Changes

    • info

      added the optional property / to the response with the status

    • info

      the response property became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status