---
title: "Run one turn on the web channel (SSE)"
method: POST
path: "/api/orgs/{orgId}/chat"
tags: ["chat"]
---

# Run one turn on the web channel (SSE)

`POST /api/orgs/{orgId}/chat`

## Request

- Base URL: `https://api.wizbi.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wizbi.ai/api/orgs/{orgId}/chat`
- Auth: none declared

Streams the turn runner events as Server-Sent Events: text, tool_call, tool_result, media, escalated, done. Same pipeline as every other channel.

## Path parameters

- `orgId` string, required

## Request body

- ChatBody
  - `message` string, required
  - `thread` string
  - `mode` 'lean' | 'full'
  - `attachments` object[]
    - `kind` 'image' | 'pdf' | 'audio' | 'video' | 'file', required
    - `mimeType` string, required
    - `data` string
    - `uri` string, uri
    - `name` string
    - `bytes` integer
  - `lang` 'he' | 'en' | 'pt'

## Response `200`

SSE stream of turn events.

## Other responses

- `400`: An attachment URI outside the org’s uploads.
- `401`: No resolved context.
- `403`: Context is for another org, or the thread is another person’s.

---

[API](https://skmtc.dev/wizbi/apis/wizbi-core-api.md) · [All operations](https://skmtc.dev/wizbi/apis/wizbi-core-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wizbi/apis/wizbi-core-api/revisions/5a47416c82ec?raw)
