---
title: "Stream container logs"
method: GET
path: "/api/containers/{id}/logs"
tags: ["Containers"]
---

# Stream container logs

`GET /api/containers/{id}/logs`

Streams container logs as Server-Sent Events (SSE). The connection remains
open and pushes new log lines as `data:` events in real time.

## Path parameters

- `id` integer, required

## Headers

- `x-node-id` integer

## Response `200`

SSE log stream.

## Other responses

- `401` — Authentication required. Provide a valid Bearer token.
- `500` — Internal server error.

---

[API](https://skmtc.net/studio-saelix/apis/sencho-api.md) · [All operations](https://skmtc.net/studio-saelix/apis/sencho-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/studio-saelix/sencho-api/versions/f36f82acae1d/schema)
