---
title: "Stream Chat Response"
method: GET
path: "/chats/{chat_id}/stream"
tags: ["Chats"]
---

# Stream Chat Response

`GET /chats/{chat_id}/stream`

## Path parameters

- `chat_id` string, required

## Query parameters

- `token` string, required
- `session_id` string, nullable
- `exercise_id` string, nullable
- `course_id` string, nullable
- `course_route_kind` 'my_course' | 'assigned_course', nullable
- `cpge_exercise_id` string, nullable
- `teacher_exercise_id` string, nullable
- `assignment_id` string, nullable
- `admin_feedback_id` string, nullable
- `copy_correction_id` string, nullable
- `teacher_exam_id` string, nullable
- `teacher_exam_exercise_id` integer, nullable
- `teacher_course_id` string, nullable
- `teacher_course_unit_id` string, nullable
- `results_assignment_id` string, nullable
- `results_course_id` string, nullable
- `results_class_id` string, nullable
- `subject` 'maths' | 'physique-chimie', nullable — The matière the student is currently in (from the subject selector). Teachers derive it from their own subject. Defaults to maths.
- `request_id` string, nullable
- `attach_only` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-07** `0ccba2913cca` — 3 info
  - added the new optional `query` request parameter `results_assignment_id`
  - added the new optional `query` request parameter `results_class_id`
  - added the new optional `query` request parameter `results_course_id`

[Change history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/chats/:chat_id/stream/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/2a0c1636fd3b?raw)
