Establish a Server-Sent Events (SSE) connection to receive your application’s logs in real-time. Upon connection, the 200 most recent log lines are sent, followed by new updates. The connection can be maintained for up to 30 minutes.
success if successful, error if not.code field along with the error status, detailing the cause.
If the request is successful, the response will be a text/event-stream stream containing the application’s logs in real-time.
text/event-stream format. Each message in the stream is composed of an event field and a data field.
system: Indicates system-related events, such as connection status (REALTIME_CONNECTING, REALTIME_CONNECTED) or keep-alive pings (PING).logs: Contains a single log line generated by your application.