Skip to content

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

DB

userId

string

options?

includeShared?

boolean

limit?

number

offset?

number

Returns

Promise<Workspace[]>

Licensed under BUSL-1.1