Skip to main content
POST
Check Cohort Duplicate

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Body

application/json
filterCriteria
CohortFilters · object
required

Reusable cohort filter fields (no pagination/sort/transport).

Field list mirrors PatientFetchParams in decoda/schemas/patient.py; keep in sync or explicitly diverge. The two schemas are intentionally decoupled so cohort and patient-table can evolve independently.

excludeCohortId
string | null

Response

Successful Response

isDuplicate
boolean
required
existingCohortId
string | null
existingCohortName
string | null