Realtime
Operations of the Activity Feed API. Paths are relative to your deployment's API host.
GET /api/activity-feed-api/realtime/sessions/{sessionId}/stream
Dedicated SSE for ultra-high-frequency session streams
Escape-hatch route for token-by-token agent output and other extreme-bandwidth surfaces. Carries ONLY events tagged session/<sessionId>. Caller must have session membership.
Authentication: bearer token (Authorization: Bearer <token>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
sessionId | path | string | yes |
| Status | Description | Body |
|---|---|---|
| 200 | A server-sent event stream of CloudEvents envelopes. | text/event-stream string |
GET /api/activity-feed-api/realtime/stream
Open the unified realtime SSE channel
Server-Sent Events channel delivering CloudEvents envelopes for org-broadcast and project events the caller is a member of. Honors Last-Event-ID (JSON multi-scope cursor). Open scope subscriptions via POST /realtime/streams/:cid/subscriptions.
Authentication: bearer token (Authorization: Bearer <token>)
| Status | Description | Body |
|---|---|---|
| 200 | A server-sent event stream of CloudEvents envelopes. | text/event-stream string |
POST /api/activity-feed-api/realtime/streams/{connectionId}/subscriptions
Subscribe a unified-stream connection to a scope
Authentication: bearer token (Authorization: Bearer <token>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
connectionId | path | string | yes |
Request body: application/json SubscriptionRequestDto
| Status | Description | Body |
|---|---|---|
| 204 |
DELETE /api/activity-feed-api/realtime/streams/{connectionId}/subscriptions/{scopeKind}/{scopeId}
Unsubscribe a unified-stream connection from a scope
Authentication: bearer token (Authorization: Bearer <token>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
connectionId | path | string | yes | |
scopeId | path | string | yes | |
scopeKind | path | string | yes |
| Status | Description | Body |
|---|---|---|
| 204 |