---
title: "Open a streaming chat WebSocket"
method: GET
path: "/api/v1/chat/ws"
tags: ["Chat"]
---

# Open a streaming chat WebSocket

`GET /api/v1/chat/ws`

**Required scope:** `chat`

**Conditional sensitive scope:** `chat:admin`

## Query parameters

- `api_key` string
- `key` string

## Other responses

- `101` — WebSocket upgrade accepted

---

[API](https://skmtc.net/astrbotdevs/apis/astrbot-openapi-v1.md) · [All operations](https://skmtc.net/astrbotdevs/apis/astrbot-openapi-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/astrbotdevs/astrbot-openapi-v1/revisions/4463c5ffdb9c/schema)
