---
title: "Get sessions with an unsubmitted post-session Medley Feedback Form"
method: GET
path: "/api/coach/sessions/pending-feedback"
tags: ["Coach Portal"]
---

# Get sessions with an unsubmitted post-session Medley Feedback Form

`GET /api/coach/sessions/pending-feedback`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/api/coach/sessions/pending-feedback`
- Auth: HTTP bearer

MED-867: Returns every completed live-session-delivery (MED02) session for the logged-in coach whose Medley Feedback Form is not yet submitted (`feedback_submitted = false`). Drives the multi-item "Submit Session Feedback" Needs Attention card — a deliberate sibling of the Overdue Attendance card.

Scope: only sessions that actually have a post-session Medley Feedback Form are returned — group sessions in a cohort whose `group_coaching` modality has `ai_features_enabled = true`. Pre-MED02 / non-facilitation sessions are structurally excluded. Drafts count as outstanding (the card retires only on Submit). A card also retires when its cohort becomes past/over (status `completed`/`archived`, matching the Active Cohorts non-past definition).

Gated by the `live_session_delivery` feature flag (MED-886): when the flag is off this route returns 404 and the query is never run.

## Response `200`

Sessions awaiting feedback submission

- object
  - `count` integer
  - `sessions` object[]
    - `id` string, uuid
    - `title` string
    - `session_number` integer, nullable
    - `scheduled_start` string, date-time
    - `scheduled_end` string, date-time
    - `group_id` string, uuid
    - `group_name` string
    - `cohort_id` string, uuid
    - `cohort_name` string

## Other responses

- `401`: Unauthorized
- `404`: The `live_session_delivery` feature flag is off (MED-886)

---

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