---
title: "List session content files by session number (MED-1086 / E1.3m)"
method: GET
path: "/cohorts/{cohortId}/sessions/by-number/{sessionNumber}/content"
tags: ["Session Content"]
---

# List session content files by session number (MED-1086 / E1.3m)

`GET /cohorts/{cohortId}/sessions/by-number/{sessionNumber}/content`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/cohorts/{cohortId}/sessions/by-number/{sessionNumber}/content`
- Auth: none declared

Session-number-addressed sibling of
`/cohorts/{cohortId}/sessions/{sessionId}/content`. Returns the shared
(cohort, group_coaching, session_number) content files, the modality AI
flag, and a header built from the cohort + session-number topic. `files`
is empty until a deck is uploaded (deck upload stays on the sessionId
path). Lets the by-number editor render before groups exist.

## Path parameters

- `cohortId` string, uuid, required
- `sessionNumber` integer, required

## Response `200`

Content list + AI flag + header context.

## Other responses

- `401`: Unauthorized
- `404`: Cohort has no active group_coaching modality, or sessionNumber is out of range.

---

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