> For the complete documentation index, see [llms.txt](https://1nodeio.gitbook.io/1node/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://1nodeio.gitbook.io/1node/1node-api/endpoints/stream-logs.md).

# Stream Logs

**CLI:** 1node logs --deployment \<id> \[--follow]

**API:**

```
GET /v1/logs/{deploymentId}
```

**Query Params:**

<table><thead><tr><th valign="top">Name</th><th valign="top">Type</th><th valign="top">Description</th></tr></thead><tbody><tr><td valign="top">follow</td><td valign="top">boolean</td><td valign="top">Stream logs in real time</td></tr></tbody></table>

**Response:**

· 200: Content is a newline-delimited stream of log lines.
