Workspaces
Manage workspaces within an account. Workspaces provide organizational grouping and isolation for resources such as agents, tools, and API keys.
This is the workspace-scoped, end-user surface. Administrative operations (create / archive workspaces, manage members) live in WorkspaceAdminService under /v1/account/workspaces and require the admin role.
List workspaces
client.workspaces.list(WorkspaceListParams { cursor, includeInfo, limit, sortOrder } query?, RequestOptionsoptions?): CursorPagination<Workspace { metadata, spec, status } >
GET/v1/workspaces
Get the current workspace
client.workspaces.get(RequestOptionsoptions?): Workspace { metadata, spec, status }
GET/v1/workspaces/current