---
title: "Read the coach's unread-insights badge count"
method: GET
path: "/api/insights/unread-count"
tags: ["Insights"]
---

# Read the coach's unread-insights badge count

`GET /api/insights/unread-count`

## Request

- Base URL: `https://api.setluca.com`
- URL: `https://api.setluca.com/api/insights/unread-count`
- Auth: one of:
  - API key in cookie `luca.session_token`
  - API key in header `x-api-key`
  - HTTP bearer

The badge count. It reads zero when the feed is disabled, which matches the list endpoint.

**API key scopes:** `analytics:read`.

## Headers

- `Luca-API-Version` '1'

## Response `200`

ok

- InsightUnreadCountResponse
  - `count` integer, required

## Other responses

- `401`: unauthorized
- `429`: rate limited
- `503`: service unavailable

---

[API](https://skmtc.dev/setluca/apis/luca-api.md) · [All operations](https://skmtc.dev/setluca/apis/luca-api/llms.txt) · [OpenAPI document](https://skmtc.dev/setluca/apis/luca-api/revisions/90a200e4100b?raw)
