Server-Sent Events (SSE)

One-directional HTTP-based streaming from server to client using the `text/event-stream` media type. Defined by the HTML Living Standard EventSource API; widely used for LLM token streams, dashboards, and live feeds where bidirectionality is not required.

API entry from apis.yml

apis.yml Raw ↑
aid: streaming:server-sent-events
name: Server-Sent Events (SSE)
description: One-directional HTTP-based streaming from server to client using the `text/event-stream`
  media type. Defined by the HTML Living Standard EventSource API; widely used for LLM token streams,
  dashboards, and live feeds where bidirectionality is not required.
humanURL: https://html.spec.whatwg.org/multipage/server-sent-events.html
tags:
- Streaming
- HTTP
- Protocol
- Standard
properties:
- type: Documentation
  url: https://html.spec.whatwg.org/multipage/server-sent-events.html
- type: Documentation
  url: https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events