Files
dashback/docs/api/routes/agent/events.md
2026-10-30 18:09:31 +01:00

781 B

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.