> ## Documentation Index
> Fetch the complete documentation index at: https://docs.galtea.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create User Group

> Create a new user group.

> [!WARNING]
>
> You are reading the docs of Galtea 5.13. [Read this page in the latest version](https://docs.galtea.ai/sdk/api/user-group/create.md).

Only an OWNER or ADMIN can create a user group.

## Returns

Returns a [User Group](https://docs.galtea.ai/v5.13/concepts/user-group.md) object, or `None` if an error occurs.

## Example

```python theme={"system"}
user_group = galtea.user_groups.create(
    name="quality-reviewers-" + run_identifier,
    description="Team responsible for reviewing output quality",
)
```

## Parameters

**name** `string` *required*

Name of the user group.

**type** `string` (default: EVALUATOR)

Type of user group. Defaults to `"EVALUATOR"`. Other string values are sent to the API unchanged, so values added in newer API versions can be used; the API rejects invalid ones.

**description** `string`

Description of the user group.

**all\_products** `boolean`

Links the group to every product of the organization, current and future. A READER or HUMAN\_EVALUATOR in the group then sees every product. Defaults to `false` on the API.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.