---
title: "POST /cohort_definition"
method: POST
path: "/cohort_definition"
tags: ["cohort_definitionController"]
---

# POST /cohort_definition

`POST /cohort_definition`

## Request body

- NewcohortDefinition — (tsType: Omit<cohort_definition, >, schemaOptions: { title: 'Newcohort_definition', exclude: [] })
  - `cohort_definition_id` number
  - `cohort_definition_name` string
  - `cohort_definition_description` string
  - `definition_type_concept_id` number
  - `cohort_definition_syntax` string
  - `subject_concept_id` number
  - `cohort_initiation_date` string, date-time

## Response `200`

cohort_definition instance created

- CohortDefinition
  - `cohort_definition_id` number
  - `cohort_definition_name` string
  - `cohort_definition_description` string
  - `definition_type_concept_id` number
  - `cohort_definition_syntax` string
  - `subject_concept_id` number
  - `cohort_initiation_date` string, date-time

## Changes

> 5 revisions in range; 1 could not be searched.

- **2022-12-15** `17f92620449e` — 1 info
  - endpoint added
- **2022-11-28** `8517ac9eef50` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ohdsi/apis/data-connection/changes/cohort_definition/post.md)

---

[API](https://skmtc.dev/ohdsi/apis/data-connection.md) · [All operations](https://skmtc.dev/ohdsi/apis/data-connection/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ohdsi/data-connection/revisions/b5ead99a1d44/schema)
