Workspaces
WorkspaceService manages workspaces at the ACCOUNT level. This service is responsible for creating and listing workspaces within an account. Workspaces provide organizational grouping for resources within an account.
Authentication: Bearer token (JWT) Scope: Account-level operations (manages workspaces themselves, not resources within workspaces)
List workspaces
client.workspaces.list(WorkspaceListParams { cursor, includeInfo, limit, sortOrder } query?, RequestOptionsoptions?): CursorPagination<Workspace { metadata, spec } >
GET/v1/workspaces
Get the current workspace
client.workspaces.get(RequestOptionsoptions?): Workspace { metadata, spec }
GET/v1/workspaces/current