---
title: "Composite bundle for the peer leader post-session screen"
method: GET
path: "/api/participant/sessions/{sessionId}/post-session"
tags: ["Peer Leader Post-Session"]
---

# Composite bundle for the peer leader post-session screen

`GET /api/participant/sessions/{sessionId}/post-session`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/api/participant/sessions/{sessionId}/post-session`
- Auth: none declared

Returns session metadata, participants with attendance, peer-leader
engagement ratings, the peer leader's own feedback row (if any),
AI features gate, next session date, and the recap email default
template. Single round-trip on page load.

## Path parameters

- `sessionId` string, uuid, required

## Response `200`

Bundle

- object
  - `success` boolean
  - `data` PeerLeaderPostSessionBundle
    - `session` object
    - `participants` object[]
    - `engagement_ratings` object[]: Rows from participant_engagement_ratings (shared coach table, IV2).
      - `session_id` string, uuid
      - `participant_id` string, uuid
      - `rating` integer
    - `feedback` object, nullable
      - `id` string, uuid
      - `session_id` string, uuid
      - `user_id` string, uuid
      - `responses` object
      - `submitted_at` string, date-time
    - `commitments` object[]: The peer leader's OWN commitment only (0 or 1 row). MED-1133 (E4.5a) — commitments are private from peers, so this never includes another participant's commitment (privacy enforced at the data layer).
    - `leader_user_id` string, uuid: The peer leader's own user id — flags the "You" row.
    - `ai_features_enabled` boolean
    - `live_session_delivery_enabled` boolean: MED-1181 — per-cohort group_coaching LSD gate (always true when a bundle is returned; surfaced for FE defense-in-depth)
    - `next_session_date` string, date-time, nullable
    - `recap_email_default_template` string, nullable
    - `next_session_callout` object, nullable: AC14 — set only when this leader leads the next upcoming session.
      - `session_id` string, uuid
      - `session_number` integer
      - `session_date` string, date-time, nullable

## Other responses

- `401`: Unauthorized
- `403`: Caller is not the peer leader for this session
- `404`: Session not found
- `500`: Server error

---

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