Get the events for a conversation
Changed onStream conversation events for the workspace identified by {wId} using Server-Sent Events (SSE). The stream starts with a :connect comment. Event frames carry JSON with eventId and data fields. A plain-text data: done frame ends the current connection; clients may reconnect with lastEventId.
Request
- Base URLhttps://dust.tt
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ID of the workspace
ID of the conversation
Query parameters
Redis stream ID of the last received conversation event. Omit or pass an empty value to start from the available history.
Response
SSE event stream with a :connect comment followed by conversation frames. Each conversation frame contains JSON with eventId and data fields. The data field is the conversation event. View the "Events" page from this documentation for more information.
Changes
- info
added the media type
text/event-streamfor the response with the status
- info