# 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.
