---
title: "Stream Chat Response"
method: GET
path: "/demo-homework-helper/chat/stream"
tags: ["Demo Homework Helper"]
---

# Stream Chat Response

`GET /demo-homework-helper/chat/stream`

Streams GPT's reply for a given ephemeral exercise, using SSE.
We only send last 10 messages + a system prompt built from
the latex_content + doc's solution, in the specified language.

## Query parameters

- `exercise_id` string, required — Which exercise?
- `session_id` string, required — Demo session ID
- `lang` string — Language code for the demo

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[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/05e048df94c6?raw)
