# Live unread stream (SSE)

A Server-Sent Events stream of the caller's unread count for the active org. The connection emits `data: {"unread": N}` immediately on connect and again whenever a new feed row lands, plus `: ping` heartbeat comments. The client updates its badge and refetches the feed on each data event. One-way and stateless by design — any replica can serve any client. Product notifications reach the feed asynchronously via the platform event outbox (eventkit), not a direct call to this service.

Canonical: https://easerix.com/docs/developers/api/notifications/feed/streamNotifications

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

export default function Layout(props) {
  const { APIPage, OpenAPIPage } = props.components ?? {};
  // "APIPage" is the old name from v10, this allows both for backward compatibility
  const Comp = OpenAPIPage ?? APIPage;
  return (
    <>
      {props.children}
      <Comp document="notifications" operations={[{"path":"/v1/stream","method":"get"}]} />
    </>
  );
}
