---
title: "Send Chat Stream"
method: POST
path: "/api/kiwi/chat/stream"
tags: ["Kiwi Agent"]
---

# Send Chat Stream

`POST /api/kiwi/chat/stream`

## Request

- Base URL: `https://api.qomplement.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qomplement.com/api/kiwi/chat/stream`
- Auth: HTTP bearer

SSE streaming chat via Kiwi.

Testing can run Kiwi through the AgentCore-native OpenClaw runtime by setting
KIWI_RUNTIME_BACKEND=agentcore. That path intentionally has no ECS bridge
fallback: if AgentCore fails, the request fails visibly.

## Request body

- ChatMessage
  - `message` string, required
  - `context` KiwiRoutesChatContext
    - `activeDocument` object, nullable
    - `active_document` unknown
    - `activeBatch` object, nullable
    - `activeView` string, nullable
    - `activeWorkspace` unknown
    - `activeWorkflow` unknown
    - `connectorTools` unknown
    - `metadata` object, nullable
  - `thinking_mode` string, nullable
  - `conversation_id` string, nullable
  - `runtime_mode` string, nullable
  - `requested_model` string, nullable
  - `runtime_handoff` object, nullable
  - `runtime_capabilities` object, nullable
  - `file_name` string, nullable
  - `file_type` string, nullable
  - `template_id` string, nullable
  - `document_id` string, nullable
  - `suppress_user_message` boolean, nullable
  - `structured_payload` object, nullable
  - `project_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-09** `6fe617c112ef`: 5 info
  - added the new optional request property `context/anyOf[subschema #1: ChatContext]/activeWorkflow`
  - added the new optional request property `context/anyOf[subschema #1: ChatContext]/activeWorkspace`
  - added the new optional request property `context/anyOf[subschema #1: ChatContext]/active_document`
  - added the new optional request property `context/anyOf[subschema #1: ChatContext]/connectorTools`
  - …1 more
- **2026-08-29** `7a7c8e2b5afc`: 5 warning
  - removed the request property `context/anyOf[subschema #1: ChatContext]/activeWorkflow`
  - removed the request property `context/anyOf[subschema #1: ChatContext]/activeWorkspace`
  - removed the request property `context/anyOf[subschema #1: ChatContext]/active_document`
  - removed the request property `context/anyOf[subschema #1: ChatContext]/connectorTools`
  - …1 more

[Operation history](https://skmtc.dev/qomplement/apis/qomplement-api/changes/api/kiwi/chat/stream/post.md)

---

[API](https://skmtc.dev/qomplement/apis/qomplement-api.md) - [All operations](https://skmtc.dev/qomplement/apis/qomplement-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qomplement/apis/qomplement-api/revisions/6fe617c112ef?raw)
