workspace
Create Protected Workspace
Create a new workspace with encryption and access controls. Sets up vector storage and associates the creator as the initial workspace user.
Server generates the workspace symmetric key and wraps it with the user's public key. The wrapped key is returned in the response for client-side storage.
Public workspaces are visible to all users and grant non-members limited access:
- Non-members can view shared documents and tags
- Non-members can create conversations and send messages
- Only members can upload documents
- Only members can see the member list
Only users with developer flag can create public workspaces.
post/api/workspace/create_protected
Request body
Response
Successful Response