Server-Sent Events stream of content-change signals for a website.
A long-lived Server-Sent Events (SSE) stream of content-change events for a website. Each event tells the client to revalidate now. This replaces the tRPC subscription that timed out on serverless platforms.
Auth: API key (only required when the server sets require_schema_api_key = true).
| Param | Type | Required | Notes |
|---|---|---|---|
websiteId | uuid | no | Target website; falls back to Host header / config. |
api_key | string | no | Alternative to the x-api-key header. |
Content-Type: text/event-stream.website_id matches the resolved tenant; the event data: payload is the change serialized as JSON. Changes for other websites are filtered out.curl -N '{CMS_API_URL}/content-changes?websiteId=<uuid>' \
-H 'x-api-key: <key>'
-N disables curl buffering so events appear as they arrive.
400 β unresolvable or invalid websiteId401 β invalid API key500 β connection pool failure