---
title: "The groups of people the decision affects"
method: GET
path: "/workspaces/{id}/questions/{questionId}/groups"
tags: ["model"]
---

# The groups of people the decision affects

`GET /workspaces/{id}/questions/{questionId}/groups`

## Request

- Base URL: `https://api.swingfactor.ai/v1`
- URL: `https://api.swingfactor.ai/v1/workspaces/{id}/questions/{questionId}/groups`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required
- `questionId` string, uuid, required

## Response `200`

The groups, in order.

- GroupList
  - `items` object[], required
    - `id` string, uuid, required
    - `label` string, required
    - `description` string, nullable
    - `position` integer, required
    - `status` 'proposed' | 'accepted' | 'rejected'
    - `drafted` boolean
    - `decidedByName` string, nullable
  - `total` integer, required
  - `offset` integer, required
  - `limit` integer, required

## Other responses

- `401`: No token, or not a valid one: `unauthorized`.
- `404`: No such question.

---

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