Send one event to the chat and receive a streaming JSON array of events in response.
The response stream includes the same user event that the client sent. If the UI already rendered that message optimistically, ignore the streamed copy with the same id to avoid showing the shopper's message twice.
Sending while an earlier one on the same chat is still streaming. A user message (ADD_MESSAGE.USER.TEXT, ADD_MESSAGE.USER.DIRECT_CALL, ADD_MESSAGE.USER.GEN_BY_BTN) interrupts the running turn if its answer has not started yet: the earlier request ends with 200 and no assistant events (and no FATAL_ERROR), its message stays in the chat, and the newest message is answered on its own request with the earlier ones in its history. Messages that queued in between stay in the chat unanswered. Once the earlier answer has started, it is completed and the newer message is answered right after it. Any other event (FE.SET_CONTEXT, ADD_MESSAGE.USER.COMPARE, a message sent with directToAgent or attachments) never interrupts: it waits for the running turn. A waiting request can stay open for up to 120 seconds; one that cannot be served (more than 10 events waiting on the chat, or a longer wait) ends with FATAL_ERROR.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
429Too Many Requests — rate limit exceeded. Back off before retrying.
500Internal Server Error — backend error.

