Skip to main content
Create a group, one value of an existing dimension (‘EMEA’ under ‘Region’), and return it. The dimension has to exist first; create it with create_group_dimension. The group is created empty unless attributions fills it, and the memberships this creates are reported in attribution_changes; update_group sets the membership later. The new value is added to the dimension’s picklist in every reporting table. The call is refused for an archived dimension, a key the dimension already uses, an archived or unknown user among the attributions, or one user over overlapping months. Every write is recorded in the audit trail as the Qobra MCP agent.

Parameters

Body

string
required
Id from list_group_dimensions or create_group_dimension, of an active dimension. Never a name.
string
required
Display name, one value of the dimension (‘France’).
string
required
Stable key, unique within the dimension (archived groups included): lowercase letters, digits and _ only, stored as sent (‘emea_north’).
object[]
Who is in the group from creation: every user, each with the months they belong for. Omit for an empty group.

Response

Body

object
The group as it now exists — the same row list_groups returns, so the id can be reused straight away.
object[]