---
title: "POST /concept_ancestor"
method: POST
path: "/concept_ancestor"
tags: ["concept_ancestorController"]
---

# POST /concept_ancestor

`POST /concept_ancestor`

## Request body

- NewconceptAncestor — (tsType: Omit<concept_ancestor, >, schemaOptions: { title: 'Newconcept_ancestor', exclude: [] })
  - `ancestor_concept_id` number
  - `descendant_concept_id` number
  - `min_levels_of_separation` number
  - `max_levels_of_separation` number

## Response `200`

concept_ancestor instance created

- ConceptAncestor
  - `ancestor_concept_id` number
  - `descendant_concept_id` number
  - `min_levels_of_separation` number
  - `max_levels_of_separation` number

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