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

# GET /cohort-definition

`GET /cohort-definition`

## 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-definition`
- Auth: none declared

Get a cohort definition via cohort definition id

## Query parameters

- `datasetId` string, required
- `cohortDefinitionId` string, required

## Response `200`

Success

- string

## 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)
