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

# Groups Management

> Organize users, track group spending, and manage collective access to API keys and features

Groups in Requesty allow administrators to organize organization members into logical units, track spending collectively, and manage user access efficiently.

> [!NOTE]
>
> **[Manage groups](https://app.requesty.ai/groups)** in the Requesty Console.

> [!NOTE]
>
> Groups and group management are **Enterprise plan** features. On pay-as-you-go plans, admins can still manage individual users and per-user limits from [User Management](https://docs.requesty.ai/features/users.md). Contact [support@requesty.ai](mailto:support@requesty.ai) to enable Enterprise.

## Groups System Overview

Groups provide a powerful way to organize your organization's users and manage their access to Requesty's features and API keys.

### What Groups Do

> [card] User Organization
>
> Organize organization members into logical units like Marketing, Engineering, Sales, etc.

> [card] Spending Tracking
>
> Track monthly spending per group with aggregated spend monitoring

> [card] Access Management
>
> Allow admins to manage user access to API keys and features collectively

> [card] Team Structure
>
> Reflect your company's organizational structure in your Requesty setup

## How Groups Work

### Creating Groups

Administrators can create named groups that match your organizational structure:

* **Department Groups**: Engineering, Marketing, Sales, Support
* **Project Groups**: Product A Team, Research Division, Beta Testers
* **Function Groups**: Admins, Developers, Content Creators
* **Custom Groups**: Any logical grouping that fits your needs

> [!NOTE]
>
> Groups can also be created and populated automatically from your identity provider via [identity provider sync](https://docs.requesty.ai/features/sso.md#identity-provider-sync).

### Member Management

**Adding Members:**

* **Drag & Drop**: Intuitive interface for moving users between groups
* **Dialog-Based**: Select multiple users and assign to groups
* **Bulk Operations**: Add many users to groups simultaneously

**Removing Members:**

* Easy removal of users from groups
* View group membership at a glance
* Track who belongs to which groups

### Default Group

You can assign one group as your organization's **default group**. When a user joins the organization, they are automatically enrolled in that group and inherit its access lists, approved models, and budgets.

> [!NOTE]
>
> The default group cannot be deleted.

### Group Defaults

Admins can set the values every new group starts with. On the [Groups](https://app.requesty.ai/groups) page, click **Group defaults** and choose:

* **Monthly budgets** for the group and its members (`0` means unlimited)
* **Access list** attached to the group, or none
* **Guardrails** for the group, or none

Groups created afterwards copy these values. Each new group gets its own copy of the guardrails, so editing the defaults later never changes existing groups. When you create a group with `POST /v1/manage/group` in the [Management API](https://docs.requesty.ai/api-reference/endpoint/manage-group/manage-group-create.md), omit `monthly_limit` to use the default budget, or send a value to override it.

### Budget Modes

Group budgets behave differently depending on which budget mode your organization uses:

| | Global mode (default) | Group Budget mode |
| - | - | - |
| Who holds the budget | Each user has their own monthly limit | The group has a shared monthly budget |
| Group limit meaning | Monthly limit granted to each member of the group (a user in several groups gets the highest one) | Total monthly budget the whole group can spend, plus an optional per-user budget inside the group |
| Per-member override | Not available | Set a member's own budget inside the group |

Group Budget mode is enabled per organization by reaching out to [support@requesty.ai](mailto:support@requesty.ai).

In the [Management API](https://docs.requesty.ai/api-reference/management-apis.md), group responses only include the fields that apply to your mode: `monthly_limit` in Global mode, `monthly_budget` and `monthly_budget_per_user` in Group Budget mode. The group budget, per-user budget, and member budget override endpoints exist only in Group Budget mode and return `409 Conflict` otherwise.

> [!WARNING]
>
> In Group Budget mode, `monthly_limit` is deprecated and will soon be migrated to `monthly_budget`. Use `monthly_budget` in new integrations.

### Spending Tracking

Groups provide powerful spending insights:

* **Monthly Aggregation**: See total spending across all group members
* **Trend Analysis**: Track spending patterns over time
* **Budget Management**: Set and monitor group-level spending goals
* **Cost Allocation**: Understand which teams drive API usage

### Platform Groups

If you connect [Claude Platform or OpenAI Platform](https://docs.requesty.ai/features/platform-integrations.md), Claude Platform workspaces and OpenAI Platform projects appear in *Admin Panel > Groups* as read-only groups, with a platform badge in the **Source** column, member count, created date, and group spend. They can't have budgets, access lists, guardrails, or labels.

## Group Structure & Organization

### Hierarchical Organization

```mermaid theme={"dark"}
graph TD
    A[Organization] --> B[Engineering Group]
    A --> C[Marketing Group]
    A --> D[Sales Group]

    B --> E[Backend Engineers]
    B --> F[Frontend Engineers]
    B --> G[DevOps Engineers]

    C --> H[Content Team]
    C --> I[Design Team]

    D --> J[Sales Reps]
    D --> K[Sales Engineers]
```

### Flexible Membership

* Users can belong to multiple groups
* Cross-functional team support
* Project-based temporary groups
* Role-based permanent groups

## Integration with Features & API Keys

### Access Control Flow

**1. Create Groups**

Organize users into logical groups (Engineering, Marketing, etc.)

**2. Configure API Keys**

Create API keys with specific features and policies

**3. Assign Access**

Associate API keys with groups to grant access

**4. Monitor Usage**

Track group spending and feature usage

### API Key → Group Relationship

**How It Works:**

* API Keys can be associated with specific groups
* Groups determine which users can access which keys
* Features on API keys apply to all group members
* Policies control model access and behavior for the group

**Example Configuration:**

```yaml theme={"dark"}
Engineering Group:
  - API Key: 'eng-prod-key'
  - Features: [streaming, structured-outputs, reasoning]
  - Models: [openai/gpt-6-sol, anthropic/claude-opus-5-5]
  - Members: [alice@company.com, bob@company.com]

Marketing Group:
  - API Key: 'marketing-key'
  - Features: [prompt-library, auto-caching]
  - Models: [google/gemini-3.1-flash-lite]
  - Members: [carol@company.com, dave@company.com]
```

## Admin Panel Workflow

### Complete Group Management Process

> [tab] Setup Phase
>
> **Initial Configuration:** 1. Create groups for different teams/departments 2. Add organization members to appropriate groups 3.
> Configure API keys with specific features and policies 4. Set group-level spending monitoring

> [tab] Daily Operations
>
> **Ongoing Management:**: Monitor group spending and usage through analytics - Add new users to existing groups - Adjust API key
> features based on group needs - Track which groups are most active

> [tab] Optimization
>
> **Performance Tuning:**: Analyze spending patterns per group - Optimize feature assignments - Adjust group structures as teams evolve -
> Review and update access controls

## Key Relationships

Understanding how groups fit into the broader Requesty ecosystem:

### System Architecture

* **Groups** = User Organization (who can access what)
* **Features** = API Key Enhancement (how keys behave)
* **Policies** = Model Access Control (which models, fallbacks, load balancing)
* **Users** = Individual organization members with spending limits

### Integration Points

**Groups ↔ Users:**

* Groups contain multiple users
* Users can belong to multiple groups
* Group membership determines API access

**Groups ↔ API Keys:**

* API keys can be assigned to groups
* All group members can use assigned keys
* Features on keys apply to all group users

**Groups ↔ Spending:**

* Group spending is aggregation of member spending
* Useful for departmental budget tracking
* Helps identify high-usage teams

## Best Practices

> [accordion] Group Organization Strategy
>
> **Recommended Approaches:**
>
> * Align groups with your actual team structure
> * Create both permanent (department) and temporary (project) groups
> * Use descriptive names that make sense to all admins
> * Plan for growth - create scalable group structures

&#x20;

> [accordion] Access Management
>
> **Security & Control:**: Regularly review group memberships - Remove users from groups when they change roles - Use principle of least
> privilege for API key assignments - Monitor group spending to detect unusual usage

> [accordion] Spending Monitoring
>
> **Cost Control:**
>
> * Set realistic spending expectations per group
> * Monitor trends to predict future usage
> * Use group data to allocate budgets appropriately
> * Identify opportunities for feature optimization

> [!NOTE]
>
> Groups provide fine-grained control where admins can organize users logically while configuring sophisticated API key behaviors through
> features and policies.

## Advanced Features

### Analytics & Reporting

* Group spending trends over time
* Feature usage by group
* Model preference analysis per group
* Cost efficiency metrics

### Automation Options

* Auto-assign new users to default groups
* Spending alerts at group level
* Usage-based group recommendations
* Integration with external team management tools

The groups system enables sophisticated organization management while maintaining simplicity for day-to-day operations.


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