Tail chat-session events (SSE)
Chat
Tail chat-session events (SSE)
Server-Sent Events stream of Vercel AI SDK v6 envelopes for the session. Response is text/event-stream — stream it, don’t buffer.
Use ?since= (or the Last-Event-Id header) in two cases:
- First connection for a turn just enqueued via
POST .../messages— pass thesince_cursorfrom that POST response so the tail starts strictly after the previous turn’s terminal envelopes. - Reconnect of an already-tailing stream — pass the last event id you received so playback resumes at the right spot.
GET
Tail chat-session events (SSE)
Authorizations
Authorization: Bearer <token> where <token> is either a neo_sk_<env>_<secret> API key (service account) or a Microsoft Entra ID access token (dashboard user).
Path Parameters
Query Parameters
Stream-event id to resume from.
