---
title: "Stream site realtime changes"
method: GET
path: "/api/sites/{id}/realtime"
tags: ["Sites"]
---

# Stream site realtime changes

`GET /api/sites/{id}/realtime`

## Request

- Base URL: `https://demo.hitkeep.com`
- URL: `https://demo.hitkeep.com/api/sites/{id}/realtime`
- Auth: API key in cookie `hk_token`

Streams privacy-safe site-scoped analytics invalidation events using server-sent events. Requires site.view.

## Path parameters

- `id` string, uuid, required

## Response `200`

Server-sent event stream with analytics.changed and analytics.resync events

---

[API](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api.md) · [All operations](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api/revisions/bb2df36ab2a4?raw)
