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>)

ParameterInTypeRequiredDescription
sessionIdpathstringyes
StatusDescriptionBody
200A 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>)

StatusDescriptionBody
200A 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>)

ParameterInTypeRequiredDescription
connectionIdpathstringyes

Request body: application/json SubscriptionRequestDto

StatusDescriptionBody
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>)

ParameterInTypeRequiredDescription
connectionIdpathstringyes
scopeIdpathstringyes
scopeKindpathstringyes
StatusDescriptionBody
204