---
title: "Get Group Info"
method: POST
path: "/gdm/get_group_info"
---

# Get Group Info

`POST /gdm/get_group_info`

Get information about the group.

Args:
    request (GroupInfoRequest): the id of the group for which we desire info on
    session (Annotated[Session, Depends(get_session)]): the database session

Returns:
    GroupPublic: public info of the group

Raises:
    HTTPException: If there's no group with the requests group id

## Request body

- GroupInfoRequest — Class for requesting group information.
  - `group_id` integer, required

## Response `200`

Successful Response

- GroupPublic — Response model for Group.
  - `id` integer, required
  - `name` string, required
  - `owner_id` integer, required
  - `user_ids` integer[], required
  - `problem_id` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/industrial-optimization-group/apis/desdeo-fast-api.md) · [All operations](https://skmtc.net/industrial-optimization-group/apis/desdeo-fast-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/industrial-optimization-group/desdeo-fast-api/versions/c24fa4e23380/schema)
