---
title: "Get"
method: GET
path: "/groups/{id}"
tags: ["groups"]
---

# Get

`GET /groups/{id}`

## Request

- Base URL: `https://api.instruxi.dev/api/v1/enforcer`
- URL: `https://api.instruxi.dev/api/v1/enforcer/groups/{id}`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `X-API-Key`

One group by id (ResourceAuth read — baseline: any tenant member may read any group in their tenant). 404 group_not_found if it doesn't exist; no separate 403 for cross-tenant since the baseline rule already scopes visibility.

## Path parameters

- `id` string, required

## Response `200`

OK

- InternalDeliveryHttpHandlerGroupResponse
  - `data` EnforcerV3InternalDomainGroupGroup
    - `agent_count` integer: AgentCount is the number of service-account members, computed on load.
    - `archived_at` string: ArchivedAt is set while the group is archived (#305, 000123): kept with its members, hidden from GET /groups by default, read-only, and not granting. nil = live. READ-ONLY on the model ("->") for the same reason as Metadata: Update is a full Save, and a PATCH that loaded the group just before someone archived it would otherwise write archived_at back to NULL. Written only by Repository.SetArchived.
    - `archived_by` string
    - `created_at` string
    - `created_by` string
    - `description` string
    - `group_type_id` string: GroupTypeID classifies the group; nil = untyped. Must reference a GLOBAL type or one from the group's own tenant (enforced by the usecase).
    - `id` string
    - `is_public` boolean
    - `member_count` integer: MemberCount is computed on load, not stored. It counts HUMAN members only; service accounts (agents) are counted in AgentCount (AGENTS_CONTRACT §8: member counts are split).
    - `name` string
    - `slug` string
    - `tenant_id` string
    - `updated_at` string
  - `success` boolean

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/instruxi/apis/enforcer-api.md) · [All operations](https://skmtc.dev/instruxi/apis/enforcer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/instruxi/apis/enforcer-api/revisions/fa82bc1becc0?raw)
