---
title: "Get cohort detail for logged-in coach (E8-8)"
method: GET
path: "/api/coach/cohorts/{cohortId}"
tags: ["Coach Portal"]
---

# Get cohort detail for logged-in coach (E8-8)

`GET /api/coach/cohorts/{cohortId}`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/api/coach/cohorts/{cohortId}`
- Auth: HTTP bearer

Returns cohort details including the coach's groups and sessions with attendance info.

## Path parameters

- `cohortId` string, uuid, required

## Response `200`

Cohort details with groups and sessions

- object
  - `id` string, uuid
  - `name` string
  - `code` string
  - `status` string
  - `start_date` string, date
  - `end_date` string, date
  - `partner_name` string
  - `program_name` string
  - `participant_count` integer
  - `session_count` integer
  - `sessions_completed` integer
  - `live_session_delivery_enabled` boolean: MED-1181 — cohort's group_coaching Live Session Delivery gate; hides Prep/Start button + PREP AVAILABLE badge for non-LSD cohorts.
  - `modalities` string[]: Enabled modality types for the cohort (MED-1106), used to gate the coach Sessions tab modality tabs.
  - `groups` object[]
    - `id` string, uuid
    - `name` string
    - `participant_count` integer
    - `sessions` object[]
      - `id` string, uuid
      - `title` string
      - `session_number` integer
      - `scheduled_start` string, date-time
      - `scheduled_end` string, date-time
      - `status` string
      - `topic_name` string
      - `attendance_marked` boolean
      - `attendance_summary` object, nullable
      - `finalized_at` string, date-time, nullable
      - `rsvp_summary` object, nullable
        - `total` integer
        - `accepted` integer
        - `declined` integer
        - `pending` integer
        - `tentative` integer

## Other responses

- `401`: Unauthorized
- `404`: Cohort not found or no access

---

[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)
