The ID of the application to retrieve realtime logs for. If the application
belongs to an organization, include the organization ID in the format
appId-orgId
.Response
The response is streamed as a text event stream (text/event-stream
). Each log entry is sent as an event with the following format:
- Event Type:
logs
for log messages,system
for connection-related messages (e.g., errors or connection closure). - Data: A string containing a timestamp in ISO 8601 format followed by the log message or system message.
Error Responses
Indicates whether the call was successful.
error
if not successful.The error code indicating the reason for failure. Possible values:
UNAUTHORIZED
: The user is not authenticated or lacks sufficient permissions.APP_NOT_FOUND
: The specified application does not exist.FORBIDDEN
: The user does not have permission to access the application.