Live Server Logs
Stream live server logs over SSE
https://launch-api.contentstack.com/projects/{project_uid}/environments/{environment_uid}/deployments/{deployment_uid}/logs/liveOpens a persistent Server-Sent Events connection that emits log entries for the given deployment in real time as they arrive from Kafka. A keep-alive heartbeat is sent immediately on connect and every HEARTBEAT_INTERVAL_MS. The first frame is a session event carrying { expiresAt }; when the session cap elapses a terminal session-ended event ({ reason }) is sent right before the stream closes.
text/event-stream. Frames: a `session` event ({ expiresAt }) first, then log frames ({ timestamp, message, source }) interleaved with empty heartbeats, and finally a `session-ended` event ({ reason }) at the cap.