---
title: "Get Chat Course Insights"
method: GET
path: "/teacher/courses/{course_id}/chat-insights"
tags: ["Knowledge check results"]
---

# Get Chat Course Insights

`GET /teacher/courses/{course_id}/chat-insights`

## Request

- Base URL: `https://api.excellence-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.excellence-ai.com/teacher/courses/{course_id}/chat-insights`
- Auth: OAuth 2 (password, token URL `api/login`)

What the course's class (or all its classes) asked the chat about the
course over the last 30 days (EXC-988): per savoir-faire, how many
distinct students got stuck; the recurring questions, rephrased, with the
block they concern. Aggregated and anonymous: no student id, no message,
nothing behind fewer than 3 students.

## Path parameters

- `course_id` string, required

## Query parameters

- `class_id` string, nullable

## Response `200`

Successful Response

- ChatCourseInsightsResponse: What the class asks the chat about the course (EXC-988). Aggregated and anonymous: no student id, no message, nothing behind fewer than `min_students` students.
  - `window_days` integer, required
  - `min_students` integer, required
  - `skills` ChatSkillStuckCountResponse[], required
    - `savoir_faire_id` string, required
    - `students_count` integer, required
  - `questions` ChatRecurringQuestionResponse[], required
    - `question` string, required
    - `students_count` integer, required
    - `savoir_faire_id` string, nullable, required
    - `savoir_faire_name` string, nullable, required
    - `block_id` string, nullable, required
    - `block_type` string, nullable, required
    - `unit_id` string, nullable, required
    - `unit_title` string, nullable, required

## Other responses

- `404`: Resource not found
- `422`: The body names something not on this resource

## Changes

> 55 revisions in range; 1 not diffed.

- **2026-10-15** `7925dd21e4d0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/teacher/courses/:course_id/chat-insights/get.md)

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) - [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) - [OpenAPI document](https://skmtc.dev/excellence-ai/apis/excellence-learning/revisions/379e4a57dee8?raw)
