Skip to main content
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-level 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.

includes

A list of views that belong to this group. It can also contain nested view groups (see Nesting below).

Nesting

View groups can be nested, similar to nested folders. The includes parameter can contain not only references to views but also other view groups, each with its own title, description, and includes.

Assigning views to groups

To associate a view with a view group, list its name in the includes parameter on the view group.

Example

The following model defines two view groups. The sales group lists orders_overview and revenue in its includes parameter, while the people group lists customers_view.
With this model, the /v1/meta response includes a viewGroups array:
Each view group carries an includes array that preserves the authoring order and contains the group’s views as well as any nested view groups.