Skip to content
Skip to Content
Coder Docs

Connect to chat workspace desktop via WebSockets

GET
/api/experimental/chats/{chat}/stream/desktop

Raw binary WebSocket stream of the chat workspace desktop. Experimental: this endpoint is subject to change.

Authorization

CoderSessionToken
headerCoder-Session-Token<token>

Path Parameters

chat*string

Chat ID

Formatuuid

Response Body

Switching Protocols

The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.

curl -X GET \	"$CODER_URL/api/experimental/chats/{chat}/stream/desktop" \	-H "Coder-Session-Token: $CODER_SESSION_TOKEN"
Example Response101
Empty