---
title: "findCaseGroupsByCollectionExerciseId"
method: GET
path: "/casegroups/cases/{collectionExerciseId}/all"
tags: ["case-group-endpoint"]
---

# findCaseGroupsByCollectionExerciseId

`GET /casegroups/cases/{collectionExerciseId}/all`

returns a count of casegroups with a given collection exercise id

## Path parameters

- `collectionExerciseId` string, required

## Response `200`

OK

## Other responses

- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/office-of-national-statistics/apis/case-service-api.md) · [All operations](https://skmtc.net/office-of-national-statistics/apis/case-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/office-of-national-statistics/case-service-api/revisions/dcc0c657a75b/schema)
