---
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`

## 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/demo-homework-helper/chat/stream`
- Auth: none declared

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/379e4a57dee8?raw)
