## Retrieve group

`$ openai admin:organization:groups retrieve`

**get** `/organization/groups/{group_id}`

Retrieves a group.

### Parameters

- `--group-id: string`

  The ID of the group to retrieve.

### Returns

- `group: object { id, created_at, group_type, 2 more }`

  Details about an organization group.

  - `id: string`

    Identifier for the group.

  - `created_at: number`

    Unix timestamp (in seconds) when the group was created.

  - `group_type: "group" or "tenant_group"`

    The type of the group.

    - `"group"`

    - `"tenant_group"`

  - `is_scim_managed: boolean`

    Whether the group is managed through SCIM and controlled by your identity provider.

  - `name: string`

    Display name of the group.

### Example

```cli
openai admin:organization:groups retrieve \
  --admin-api-key 'My Admin API Key' \
  --group-id group_id
```

#### Response

```json
{
  "id": "id",
  "created_at": 0,
  "group_type": "group",
  "is_scim_managed": true,
  "name": "name"
}
```
