---
title: "Demo Stream"
method: GET
path: "/api/demo/stream"
tags: ["Compression-Demo"]
---

# Demo Stream

`GET /api/demo/stream`

Stream a demo compression result over SSE (GET - small payloads). Requires login.

## Query parameters

- `context` string, required
- `compression_model_name` string
- `question` string, nullable
- `target_ratio` number, nullable
- `coarse` boolean

## Headers

- `X-API-Key` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/compresr/apis/compresr-platform-api.md) · [All operations](https://skmtc.net/compresr/apis/compresr-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/compresr/compresr-platform-api/revisions/93ee959dfa51/schema)
