---
title: "Get cohorts needing attention"
method: GET
path: "/api/dashboard/attention-items"
tags: ["Dashboard"]
---

# Get cohorts needing attention

`GET /api/dashboard/attention-items`

## Request

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

Returns health alerts for all LIVE cohorts grouped by severity (risk and monitor). Computes health on-the-fly and excludes dismissed alerts.

## Response `200`

Attention items grouped by risk and monitor

- object
  - `success` boolean
  - `data` object
    - `risk` object
      - `count` integer: Number of distinct cohorts with risk alerts
      - `items` object[]
        - `cohort_id` string, uuid
        - `cohort_name` string
        - `alert` object
    - `monitor` object
      - `count` integer
      - `items` object[]

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