---
title: "Get phases applicable to a cohort"
method: GET
path: "/cohorts/{id}/phases"
tags: ["Cohorts"]
---

# Get phases applicable to a cohort

`GET /cohorts/{id}/phases`

## Request

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

Get phases that have templates matching this cohort's type and modalities

## Path parameters

- `id` string, uuid, required

## Response `200`

Phases retrieved successfully

- object
  - `success` boolean
  - `data` TaskPhase[]
    - `id` string, uuid: Unique identifier
    - `name` string: Phase name
    - `slug` string: URL-friendly identifier
    - `description` string, nullable: Description of the phase
    - `sort_order` integer: Display order
    - `is_active` boolean: Whether the phase is active
    - `is_archived` boolean: Whether the phase is archived
    - `created_at` string, date-time
    - `updated_at` string, date-time

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