v1

latestOpenAPI 3.1.02026-07-17141136.0 KB
cohorts

Get cohort

Retrieve detailed information about a specific cohort

get/experiments/{experimentId}/cohorts/{cohortId}

Path parameters

experimentIdstring required

Experiment ID

cohortIdstring required

Cohort ID

Response

Successful operation

participantCountinteger

Number of participants in this cohort

Example response

{
  "cohort": {
    "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"
    }
  },
  "participantCount": 5
}