/
CO
coder
/
Coder API
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Checked 6m ago · Updated 1d ago
View markdown
coder
Coder API
get
Watch chat events for a user via WebSockets
50a77af44008
latest
Swagger 2.0
AGPL-3.0
raw.githubusercontent.com
2026-08-10
398
570
633.8 KB
Agents
28
AI Gateway
4
AI Providers
5
Applications
2
Audit
2
Authorization
7
Builds
11
Chats
27
get
List chats
post
Create chat
get
Get chat retention days
put
Update chat retention days
post
Upload chat file
get
Get chat file
get
List chat models
get
Watch chat events for a user via WebSockets
get
Get chat by ID
patch
Update chat
get
Get chat ACLs
patch
Update chat ACL
post
Compact chat
put
Refresh chat context
get
Get chat cost
get
Get chat diff contents
post
Interrupt chat
get
List chat messages
post
Send chat message
patch
Edit chat message
get
List chat user prompts
post
Reconcile invalid chat state
get
Stream chat events via WebSockets
get
Connect to chat workspace desktop via WebSockets
get
Watch chat workspace git state via WebSockets
get
Stream chat parts via WebSockets
post
Regenerate chat title
Debug
15
Enterprise
110
Files
2
General
10
Git
5
InitScript
1
Insights
5
Members
11
Notifications
16
Organizations
7
PortSharing
3
Prebuilds
2
Provisioning
1
Secrets
6
Tasks
10
TemplateBuilder
5
Templates
38
Users
40
WorkspaceProxies
1
Workspaces
24
Chats
Watch chat events for a user via WebSockets
Experimental: this endpoint is subject to change.
get
/api/experimental/chats/watch
Response
OK
CodersdkChatWatchEvent
required
chat
CodersdkChat
kind
'status_change'
|
'summary_change'
|
'chat_summary_change'
|
'title_change'
|
'created'
|
'deleted'
|
'diff_status_change'
|
'action_required'
|
'context_dirty'
tool_calls
CodersdkChatStreamToolCall[]