---
title: "Which groups this subject is a verified member of (T414)"
method: GET
path: "/api/subjects/{subjectId}/groups"
tags: ["Subjects"]
---

# Which groups this subject is a verified member of (T414)

`GET /api/subjects/{subjectId}/groups`

## Request

- Base URL: `http://localhost:38200`
- URL: `http://localhost:38200/api/subjects/{subjectId}/groups`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `token`

Same membership list POST /api/retrieve's groupMemories resolution uses internally.

## Path parameters

- `subjectId` string, required

## Response `200`

Group memberships.

- object
  - `subjectId` string
  - `groups` object[]

## Other responses

- `400`: subjectId is required.
- `401`: Missing or invalid credentials.

---

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