---
title: "Stream instance logs (SSE)"
method: GET
path: "/instances/{id}/logs"
---

# Stream instance logs (SSE)

`GET /instances/{id}/logs`

Streams instance logs as Server-Sent Events.
Use the `source` parameter to select which log to stream:
- `app` (default): Guest application logs (serial console)
- `vmm`: Cloud Hypervisor VMM logs
- `hypeman`: Hypeman operations log

Returns the last N lines (controlled by `tail` parameter), then optionally
continues streaming new lines if `follow=true`.

## Path parameters

- `id` string, required

## Query parameters

- `tail` integer
- `follow` boolean
- `source` 'app' | 'vmm' | 'hypeman'

## Response `200`

Log stream (SSE)

## Other responses

- `404` — Instance not found
- `500` — Internal server error

---

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