place.hud.getChatEvents
The answer the model is writing in a chat, live: an open stream of server-sent events (text/event-stream). Each event's data is one JSON object, typed by its $type: place.hud.chatDefs#textEvent (more words), #stepEvent (a tool call began or ended), #tileEvent (another tile), #artifactEvent (a version of an artifact made, or refused) or #doneEvent (the answer is whole, and the stream ends). Opened while an answer is being written, it sends what was written of it so far first; opened while none is, it sends nothing and ends. A comment, ping, comes every 25 seconds when nothing else does. Requires auth: the workspace's web session (its cookie) or a HUD access token as Bearer.
Details · query
| Kind | query |
|---|---|
| Authority | hud.place |
| Commit rev | 3n3jbjectyvju |
| Indexed |
Query
query · GETParameters
query stringminLength: 12maxLength: 12
Output
text/event-streamErrors
NotFound
No chat of this id is the person's.
AuthRequired
No live web session or HUD access token: sign in.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
A chat, whole.
-
Write to a chat, and have the model answer.
-
The signed-in person's workspace, live, as server-sent events.
-
What the chat's methods and its event stream hold: a chat, its messages, the steps a model took and the tiles it drew.
-
place.hud.listChats
queryThe person's chats, the latest first.