Skip to main content
Workspaces are the top-level container for connections, source views, members, and the virtual filesystem.

create()

Create a new workspace.
Parameters Returns Promise<Workspace>

list()

List workspaces accessible to the current token.
Organization tokens see all workspaces in their tenant. Workspace tokens see only their workspace. Returns Promise<Workspace[]>

retrieve()

Get a single workspace by ID.
Parameters Returns Promise<Workspace> Throws NotFoundError if the workspace doesn’t exist.

del()

Delete a workspace and all its data.
This permanently deletes all connections, source views, members, and tokens in the workspace.
Parameters Returns Promise<void>