Stream log entries
GET
Server-Sent Events stream for real-time log entries. Establishes an SSE connection to receive tail lines and live updates from the application log file. Supports an optional text filter and an initial tail size.
header
X-API-Key<token>API key authentication using X-API-Key header
tail?integerNumber of recent log lines to send initially. Defaults to 100.
Range
0 <= value <= 1000Default
100follow?stringWhether to follow the log file for new entries. Defaults to true.
filter?stringOptional string filter to match against log messages (max 512 chars). Applies within the tail window of recent lines, so older matches are not backfilled and fewer than tail lines may be returned.
Length
length <= 512Default Response
application/json- response
message*stringSSE stream of log entries
curl -X GET 'http://localhost:3003/v1/logs/stream'Example Response
{ "message": "string"}