Skip to content

PersistentAI API Documentation / @persistentai/fireflow-vfs / server / getWorkspaceById

Function: getWorkspaceById()

getWorkspaceById(db, workspaceId): Promise<Workspace | null>

Defined in: packages/fireflow-vfs/src/steps/db-steps.ts:49

Get a workspace by ID

Parameters

db

DB

workspaceId

string

Returns

Promise<Workspace | null>

Licensed under BUSL-1.1