Creating workspaces

To create a delegated workspace, use the Create workspace endpoint.

import { Fabric } from "@fbrc/sdk";

const api = new Fabric({
  apiKey: process.env.FABRIC_API_KEY!,
});

const workspace = await api.workspace.create({
  name: "Project Alpha",
});

The workspace associated with your developer API key is automatically assigned as the parent workspace, so no additional configuration is required.