# `GET /agent/events` Protected. Requires a valid session cookie (`credentials: 'include'`). Printer agent SSE stream Authorized Server-Sent Events stream for connected printer agents. Maintains a persistent connection with regular heartbeats (`: heartbeat\n\n`) and updates `lastseen_at` and `agentversion`. ## Query parameters | Param | Required | Type | Description | |-------|----------|------|-------------| | `token` | no | string | Agent auth token if not provided via Authorization header | | `agentversion` | no | string | Current agent version | ## Response `200` Event stream established ## Errors | Status | Description | |--------|-------------| | 401 | Unauthorized | --- _Generated from `@openapi` JSDoc. Do not edit by hand — run `npm run docs:api`._