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.

Repository @lexicons.hud.place did:plc:3tzbz4pml36u4mkresb6pdhv not from the namespace authority
Details · query
Kindquery
Authorityhud.place
Commit rev3n3jbjectyvju
Indexed
cid bafyreifbpa2vb46n5abwprtpx7le2f74f4t6xnjpsdajhpufltcte4546e

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "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.",
      "errors": [
        {
          "description": "No chat of this id is the person's.",
          "name": "NotFound"
        },
        {
          "description": "No live web session or HUD access token: sign in.",
          "name": "AuthRequired"
        }
      ],
      "output": {
        "encoding": "text/event-stream"
      },
      "parameters": {
        "properties": {
          "chat": {
            "maxLength": 12,
            "minLength": 12,
            "type": "string"
          }
        },
        "required": [
          "chat"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "A chat's answer as the model writes it, as server-sent events.",
  "id": "place.hud.getChatEvents",
  "lexicon": 1
}