> ## Documentation Index
> Fetch the complete documentation index at: https://docs.molesignal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Streamed query

> NDJSON chunked query response.

```http theme={null}
GET  /api/v1/query/stream
POST /api/v1/query/stream
```

Always returns an NDJSON chunked response. The `GET` form takes query params (`sql`, `stream`,
`stream_type`, `from`, `to`, `limit`); the `POST` form takes the same body as
[Execute a query](/en-US/api/query/execute). Disable proxy buffering at the ingress
(`proxy_buffering off`) so chunks flush promptly. Each row is a JSON object keyed by column name;
the final line contains `{"__meta__":{"scanned_rows":...,"took_ms":...}}`. This endpoint requires
`streams.query`, or `sys.telemetry.read` in system scope.
