Skip to main content

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.

The User Groups Service in the Galtea SDK allows you to manage user groups for your organization. This Service is exposed by the galtea.user_groups object.
Remember that we will be using the galtea object. More information here.

Quick Example

First, initialize the Galtea SDK:
galtea = Galtea(api_key="YOUR_API_KEY")
Create a user group:
user_group = galtea.user_groups.create(
    name="quality-reviewers-" + run_identifier,
    description="Team responsible for reviewing output quality",
)
List user groups:
user_groups = galtea.user_groups.list(
    sort_by_created_at="desc",
    limit=10,
)

Service Methods