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

# Demo Stream Post

`POST /api/demo/stream`

Stream a demo compression result over SSE (POST - large payloads). Requires login.

## Headers

- `X-API-Key` string, nullable

## Request body

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

## 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/versions/93ee959dfa51/schema)
