TheDocumentation Index
Fetch the complete documentation index at: https://supahooks.ar27111994.dev/llms.txt
Use this file to discover all available pages before exploring further.
/log-stream endpoint pushes captured webhook events to connected clients over Server-Sent Events (SSE) as they arrive. Use it when you want immediate visibility into incoming traffic without writing a polling loop against /logs.
The main difference from /logs is timing: /logs queries the stored read model and is better for filtering historical events or building reports, while /log-stream delivers events the moment they are captured, which is useful for watching a live test, monitoring a staging environment, or debugging a flaky integration in real time.
Connecting to the stream
Send aGET request to /log-stream and keep the connection open. The server holds the connection and sends events as they are captured.
The
-N flag disables curl’s output buffering so SSE frames appear as they arrive rather than being held until the buffer fills.Authentication
WhenauthKey is configured, include your key as a Bearer token:
?key=YOUR_KEY.
Wire format
The stream uses plain SSEdata: frames for event payloads. Comment lines starting with : carry connection and keepalive traffic.
- The server sends
: connectedimmediately after the connection is established. - Heartbeats (
: heartbeat) are sent every 30 seconds as SSE comments to keep the connection alive through proxies and load balancers. - Event frames use the
data:field only — there is no namedevent:type in the current implementation. - Event payloads are the live ingestion events produced during capture, not the paginated response shape from
/logs.
Concurrent client limit
The server allows up to 100 concurrent SSE connections. When this limit is reached, new connection attempts receive503 Service Unavailable. Existing connections are not affected.
Filtering events
The/log-stream endpoint does not support server-side filtering by webhook ID or other fields. If you only want events from a specific webhook, filter them client-side after parsing the data: payload.