---
title: "GET /cohort"
method: GET
path: "/cohort"
---

# GET /cohort

`GET /cohort`

## Request

- Base URL: `/analytics-svc/api/services/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/analytics-svc/api/services/cohort`
- Auth: none declared

Returns all cohorts in the study

## Query parameters

- `datasetId` string, required
- `offset` number
- `limit` number

## Response `200`

Success

- CohortResponse[]: Array of cohorts
  - `id` string, required: Unique identifies for a cohort
  - `patientIds` string[], required: Array of patient IDs belonging to cohort
  - `name` string, required: Name of cohort
  - `description` string, required: Description of cohort
  - `creationTimestamp` string, required: Indicates when the cohort was created

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/ohdsi/apis/health-for-clinical-research.md) - [All operations](https://skmtc.dev/ohdsi/apis/health-for-clinical-research/llms.txt) - [OpenAPI document](https://skmtc.dev/ohdsi/apis/health-for-clinical-research/revisions/5655f01517bc?raw)
