---
title: "Workspace assistant chat (SSE)"
method: POST
path: "/v1/workspace/{workspaceId}/agent/chat"
tags: ["Workspaces"]
---

# Workspace assistant chat (SSE)

`POST /v1/workspace/{workspaceId}/agent/chat`

Stream a workspace-scoped assistant reply. Requires session or bearer token, workspace membership, and the `ai.web_agent` feature flag.

## Request body

- object
  - `text` string, required

## Response `200`

SSE stream (`text/event-stream`)

## Other responses

- `404` — Assistant not enabled for this workspace
- `429` — Rate limited

---

[API](https://skmtc.net/shareout/apis/shareout-rest-api.md) · [All operations](https://skmtc.net/shareout/apis/shareout-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/shareout/shareout-rest-api/versions/804359ead65a/schema)
