---
title: AgentGroups
description: Aggregating Agent Groups handler that is responsible for querying the aggregating agent groups
component: pingam
version: 8
page_id: pingam:entity-reference:sec-amster-entity-agentgroups
canonical_url: https://docs.pingidentity.com/pingam/8.1/entity-reference/sec-amster-entity-agentgroups.html
llms_txt: https://docs.pingidentity.com/pingam/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
superseded_by: https://docs.pingidentity.com/pingam/8.1/entity-reference/sec-amster-entity-agentgroups.html
section_ids:
  sec-amster-entity-agentgroups-realm-ops: Realm Operations
  sec-amster-entity-agentgroups-realm-ops-getalltypes: getAllTypes
  sec-amster-entity-agentgroups-realm-ops-getcreatabletypes: getCreatableTypes
  sec-amster-entity-agentgroups-realm-ops-nextdescendents: nextdescendents
  sec-amster-entity-agentgroups-realm-ops-query: query
---

# AgentGroups

## Realm Operations

Aggregating Agent Groups handler that is responsible for querying the aggregating agent groups

Resource path:

```
/realm-config/agents/groups
```

Resource version: `2.0`

### getAllTypes

Obtain the collection of all secondary configuration types related to the resource.

**Usage**

```
am> action AgentGroups --realm Realm --actionName getAllTypes
```

### getCreatableTypes

Obtain the collection of secondary configuration types that have yet to be added to the resource.

**Usage**

```
am> action AgentGroups --realm Realm --actionName getCreatableTypes
```

### nextdescendents

Obtain the collection of secondary configuration instances that have been added to the resource.

**Usage**

```
am> action AgentGroups --realm Realm --actionName nextdescendents
```

### query

Querying the aggregating agent groups

**Usage**

```
am> query AgentGroups --realm Realm --filter filter
```

**Parameters**

* *\--filter*

  A CREST formatted query filter, where "true" will query all. Fields that can be queried: \[\*]
