PersistentAI API Documentation / @persistentai/fireflow-vfs / server / listWorkspaces
Function: listWorkspaces()
listWorkspaces(
db,userId,options?):Promise<Workspace[]>
Defined in: packages/fireflow-vfs/src/steps/db-steps.ts:155
List workspaces for a user (owned + optionally shared)
Parameters
db
userId
string
options?
includeShared?
boolean
limit?
number
offset?
number
Returns
Promise<Workspace[]>