---
title: "Subscribe to events"
method: GET
path: "/event"
---

# Subscribe to events

`GET /event`

Server-Sent Events stream. Each event has an `id:` field (monotonic, per server process). Reconnect with the standard `Last-Event-ID` header to replay missed events from an in-memory ring buffer (last ~1024 events). If the requested id is older than the buffer's tail, the server emits a `server.resume_failed` event and the client should refetch state.

## Query parameters

- `directory` string
- `workspace` string

## Response `200`

Event stream

---

[API](https://skmtc.dev/isogonic/apis/codeplane.md) · [All operations](https://skmtc.dev/isogonic/apis/codeplane/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/isogonic/codeplane/revisions/e787ab2e6692/schema)
