View groups let you organize views into named collections. When a data model contains many views, grouping them by domain or purpose helps downstream consumers β including AI agents, embedded analytics, and visualization tools β discover the right dataset faster. View groups are returned as a top-levelDocumentation Index
Fetch the complete documentation index at: https://cubed3-cursor-view-groups-docs-f5a0.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
viewGroups array in the
/v1/meta response, alongside the cubes array.
Each view that belongs to at least one group also carries a viewGroups
string array on its own entry.
A view group should have the following parameter: name.
Parameters
name
The name parameter serves as the identifier of a view group. It must be
unique among all view groups within a deployment and follow the naming
conventions.
title
Use the title parameter to set a human-readable display name for the
view group.
description
This parameter provides a human-readable description of the view group.
views
A list of view names that belong to this group. Views listed here are
merged with any views that reference this group via their own
view_group or
view_groups parameter.
Assigning views to groups
There are two complementary ways to associate a view with a view group:- On the view group β list view names in the
viewsparameter. - On the view β set
view_group(singular) orview_groups(plural) on the view itself.
views and referencing that
group via view_group will appear only once.
Example
The following model defines two view groups. Thesales group lists
orders_overview in its views parameter; revenue joins the same
group via its own view_group property. The customers_view belongs to
people through the group-level views list.
/v1/meta response includes a viewGroups array:
revenue appears in the sales group even though it was not
listed in the groupβs views β it was added because the view itself set
view_group: sales.