v1

latestOpenAPI 3.1.02026-07-262210674.8 KB
v2

Create cohort

This endpoint allows the creation of a new cohort. The query definition is provided using the Cohort API JSON query definition format.

The cohort will belong to the workspace which owns the provided API key.

post/v2/cohorts

Request body

namestring required
descriptionstring
{"stackTrail":"components:schemas:Json","oasType":"schema","type":"unknown"}
tagsstring[]

Response

Cohort in full (including query)

idstring required
codeinteger required
namestring required
descriptionstring
{"stackTrail":"components:schemas:Json","oasType":"schema","type":"unknown"}
tagsstring[]
state'Enabled' | 'Disabled' required
workspaceIdstring
createdAtstring date-time required
lastUpdatedAtstring date-time required