---
title: "Stream log entries via WebSocket"
method: GET
path: "/api/v1/logs/stream"
tags: ["logs"]
---

# Stream log entries via WebSocket

`GET /api/v1/logs/stream`

Upgrades the connection to a WebSocket and streams log entries
as newline-delimited JSON messages. Supports optional level and
source query parameter filters. The server sends periodic ping
frames to keep the connection alive.

## Query parameters

- `level` 'debug' | 'info' | 'warn' | 'error'
- `source` 'farmer' | 'sprout'

## Other responses

- `101` — WebSocket upgrade successful

## Changes

- **2026-03-16** `ed27e6d31138` — 1 info
  - endpoint added
- **2026-03-15** `1aab0676c2b4` — 1 breaking
  - api path removed without deprecation
- **2026-03-15** `87bbe0fcb742` — 1 info
  - endpoint added
- **2026-03-13** `26871a2f667f` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/gogrlx/apis/grlx-cli-api/changes/api/v1/logs/stream/get.md)

---

[API](https://skmtc.dev/gogrlx/apis/grlx-cli-api.md) · [All operations](https://skmtc.dev/gogrlx/apis/grlx-cli-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gogrlx/grlx-cli-api/revisions/f88a30dcb10f/schema)
