---
title: "Get resources for a cohort visible to the coach"
method: GET
path: "/api/coach/cohorts/{cohortId}/resources"
tags: ["Coach Portal"]
---

# Get resources for a cohort visible to the coach

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

## Request

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

Returns resources for a cohort that the coach has access to (access_coaches = true). Includes cohort-specific and evergreen resources.

## Path parameters

- `cohortId` string, uuid, required

## Query parameters

- `search` string

## Response `200`

List of resources accessible to the coach

- object
  - `data` object[]
    - `id` string, uuid
    - `title` string
    - `description` string, nullable
    - `resource_type` 'file' | 'link'
    - `url` string, nullable
    - `download_url` string, nullable
    - `category_name` string, nullable
    - `is_evergreen` boolean
    - `created_at` string, date-time
  - `pagination` object
    - `page` integer
    - `limit` integer
    - `total` integer
    - `totalPages` integer

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