v1

latestOpenAPI 3.1.02026-07-17141136.0 KB
cohorts

List cohorts

Retrieve all cohorts for a specific experiment

get/experiments/{experimentId}/cohorts

Path parameters

experimentIdstring required

Experiment ID

Response

Successful operation

totalinteger

Total number of cohorts

Example response

{
  "cohorts": [
    {
      "id": "cohort123",
      "metadata": {
        "name": "Decision Making Study",
        "publicName": "Decision Study",
        "description": "Research on group decision making",
        "tags": [
          "research",
          "decision-making"
        ],
        "creator": "experimenter123"
      },
      "participantConfig": {
        "minParticipantsPerCohort": 1,
        "maxParticipantsPerCohort": 10,
        "showStageDescriptions": true
      },
      "stageUnlockMap": {
        "stage1": true,
        "stage2": false
      },
      "variableMap": {
        "condition": "control"
      }
    }
  ],
  "total": 2
}