---
title: "Get a service group"
method: GET
path: "/api/groups/{serviceGroupId}"
tags: ["groups"]
---

# Get a service group

`GET /api/groups/{serviceGroupId}`

Get a service group

## Path parameters

- `serviceGroupId` string, required

## Response `200`

Successful operation

- Group — An Otoroshi service group is just a group of service descriptor. It is useful to be able to define Api Keys for the whole group
  - `description` string — The descriptoin of the group
  - `id` string, required — The unique id of the group. Usually 64 random alpha numerical characters, but can be anything
  - `name` string, required — The name of the group

## Other responses

- `400` — Bad resource format. Take another look to the swagger, or open an issue :)
- `401` — You have to provide an Api Key. Api Key can be passed with 'Otoroshi-Client-Id' and 'Otoroshi-Client-Secret' headers, or use basic http authentication
- `404` — Resource not found or does not exist

---

[API](https://skmtc.net/maif/apis/otoroshi.md) · [All operations](https://skmtc.net/maif/apis/otoroshi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/maif/otoroshi/versions/276881687271/schema)
