Application
Real-time Logs
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.
Real-time Logs
Documentation Index
Fetch the complete documentation index at: https://docs.squarecloud.app/llms.txt
Use this file to discover all available pages before exploring further.
The API Playground is disabled for this endpoint due to the nature of SSE connections, which are not universally supported by browsers.
The API key for your account. You can find this in your account settings.
Parameters
The ID of the application whose logs you want to monitor. This ID can be found in the URL of your application’s management panel.
Response
Indicates whether the call was successful..
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.
Server-Sent Events (SSE) Structure
The response is a continuous stream intext/event-stream format. Each message in the stream is composed of an event field and a data field.
Event Types
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.
Real-time Logs

