---
title: "Per-group participant rotation rationale (MED-1009 / E4.0e AC5)"
method: GET
path: "/api/cohorts/{cohortId}/sessions/leader-rotation-participants"
tags: ["Sessions"]
---

# Per-group participant rotation rationale (MED-1009 / E4.0e AC5)

`GET /api/cohorts/{cohortId}/sessions/leader-rotation-participants`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/api/cohorts/{cohortId}/sessions/leader-rotation-participants`
- Auth: HTTP bearer

Returns, per group in a peer_led cohort, every participant's
intake-derived rotation rationale: IvsE average, prep-preference
average, topic-excitement selections (mapped to the group's session
numbers), prior coaching/leadership experience (a boolean plus the raw
selections), and the free-text availability note.

This is a read-only presentation layer over the SAME scores the E4.0c
rotation algorithm consumes — values are recomputed from each
participant's latest intake `form_submissions.raw_payload` on demand,
so they match the numbers the algorithm used. Backs the Participants
subpage and the refined Schedule drawer.

"Sessions assigned" is NOT returned here — the FE derives it from the
phase-aware proposal/grid state so it tracks the Schedule grid.

Gated by the `live_session_delivery` feature flag.

## Path parameters

- `cohortId` string, uuid, required

## Response `200`

Per-group participant rationale.

- object
  - `success` boolean
  - `data` object
    - `groups` object[]
      - `group_id` string, uuid
      - `group_name` string
      - `member_count` integer
      - `participants` object[]
        - `user_id` string, uuid
        - `first_name` string
        - `last_name` string
        - `ivse_average` number, nullable
        - `prep_preference_average` number, nullable
        - `topic_excitement` object[]
          - `session_number` integer
          - `topic_name` string
        - `prior_experience` object
          - `has_experience` boolean
          - `choices` string[]
        - `availability_notes` string, nullable

## Other responses

- `401`: Unauthorized
- `404`: Feature flag is off OR cohort has no group_coaching modality.
- `422`: Validation error. Possible `code` values: - `not_peer_led` — cohort's group_coaching modality is not peer_led

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
