Skip to main content

Live log stream WebSocket

GET 

/jobs/:id/logs

Upgrades to a WebSocket that streams live logs from one edge node running the job. The orchestrator validates auth, resolves the target edge node, and proxies the Loki tail stream back to the client. Opening the WS signals the orchestrator to start tailing; closing the WS signals it to stop.

If node_id is omitted, the orchestrator picks one node randomly from the job's active executions; logs from other executions of the same job are not included.

Request

Responses

Switching Protocols for WebSocket