---
title: "Get active cohorts for the dashboard"
method: GET
path: "/api/dashboard/active-cohorts"
tags: ["Dashboard"]
---

# Get active cohorts for the dashboard

`GET /api/dashboard/active-cohorts`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/api/dashboard/active-cohorts`
- Auth: HTTP bearer

Returns all cohorts with LIVE status including partner info, session progress, and computed health status. Health is computed on-the-fly via the HealthAlertRulesEngine.

## Response `200`

List of active cohorts with health status

- object
  - `success` boolean
  - `data` object[]
    - `id` string, uuid
    - `name` string
    - `status` 'live'
    - `partner_name` string
    - `partner_code` string, nullable
    - `completed_sessions` integer
    - `total_sessions` integer
    - `health_status` 'at_risk' | 'monitor' | 'on_track'

## Other responses

- `401`: Unauthorized - authentication required
- `500`: Internal server error

---

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