---
title: "List resources for a cohort"
method: GET
path: "/cohorts/{cohortId}/resources"
tags: ["Resources"]
---

# List resources for a cohort

`GET /cohorts/{cohortId}/resources`

## Request

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

Get paginated resources for a cohort, including visible evergreen resources

## Path parameters

- `cohortId` string, uuid, required

## Query parameters

- `page` integer
- `limit` integer
- `session_id` string, uuid
- `category_id` string, uuid
- `search` string
- `access_level` 'coaches' | 'participants' | 'partners'
- `user_role` 'admin' | 'coach' | 'participant' | 'partner'

## Response `200`

Resources retrieved successfully

- object
  - `success` boolean
  - `data` ResourceWithDetails[]
    - `id` string, uuid
    - `cohort_id` string, uuid, nullable
    - `session_id` string, uuid, nullable
    - `uploaded_by` string, uuid
    - `category_id` string, uuid, nullable
    - `title` string
    - `description` string, nullable
    - `resource_type` 'file' | 'link'
    - `file_path` string, nullable
    - `file_size` integer, nullable
    - `mime_type` string, nullable
    - `original_filename` string, nullable
    - `url` string, nullable
    - `is_evergreen` boolean
    - `access_coaches` boolean
    - `access_participants` boolean
    - `access_partners` boolean
    - `created_at` string, date-time
    - `category_name` string, nullable
    - `session_title` string, nullable
    - `uploaded_by_name` string
    - `download_url` string: Signed CloudFront URL for file downloads
  - `pagination` object

## Other responses

- `401`: Unauthorized
- `404`: Cohort not found

---

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