client.Workspace on servers with workspaces enabled. Call client.Server.IsWorkspaceEnabled() first.
Methods
Retrieves a workspace by id, including role, slug, and permission checks (
canCreateProject).GetProjects
Task<ResourceCollection<Project>> GetProjects(string workspaceId, int limit = 25, string? cursor = null, WorkspaceProjectsFilter? filter = null, CancellationToken cancellationToken = default)
Lists projects within a workspace.
Usage
This resource is read-only. Workspace creation and membership management are not exposed via
Speckle.Sdk — use the Speckle web app.FAQ
How do I know if workspaces are available?
How do I know if workspaces are available?
Call
await client.Server.IsWorkspaceEnabled() before using client.Workspace or workspace methods on client.ActiveUser.Can I create a workspace from the SDK?
Can I create a workspace from the SDK?
No. This resource is read-only — create and manage workspaces in the Speckle web app.
Next Steps
Core concepts
Workspaces in the platform model
Handling server capabilities
IsWorkspaceEnabled guard pattern
ProjectResource
Projects inside a workspace