App logs (live stream)
GET /api/apps/{app}/logs/stream
GET
/api/apps/{app}/logs/stream
Server-Sent Events stream of live log output from an app’s containers.
Each event has event: log with a JSON LogLine as data.
Use the since parameter (ISO 8601 timestamp) to avoid duplicates
when transitioning from the historical endpoint to live streaming.
The stream stays open until the client disconnects. Docker log streams are only held open while a client is connected.
Authorizations
Section titled “Authorizations ”- bearerToken
- None
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” app
required
string
Example
my-appApp ID
Query Parameters
Section titled “Query Parameters ” includeNeeds
string
Include infrastructure containers (postgres, valkey, garage)
since
string format: date-time
Example
2026-03-13T10:00:05.012ZOnly return logs after this ISO 8601 timestamp
Responses
Section titled “ Responses ”SSE stream of log lines
Each event is formatted as:
event: log
data: {"service":"web","stream":"stdout","timestamp":"...","message":"...","isNeeds":false}string
API key not configured (port 6020 only)