---
title: "POST /kaplan-meier"
method: POST
path: "/kaplan-meier"
---

# POST /kaplan-meier

`POST /kaplan-meier`

## 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/kaplan-meier`
- Auth: none declared

Create a dataflow run which does analysis for Kaplan Meier

## Query parameters

- `datasetId` string, required

## Request body

- object
  - `targetCohortId` number, required: Target Cohort Id
  - `outcomeCohortId` number, required: Outcome Cohort Id

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