Skip to content

Server Events

GET
/api/events
curl --request GET \
--url https://example.com/api/events \
--header 'Authorization: Bearer <token>'

A Server-Sent Events stream naming what just changed.

Each event carries a topic only, and the client refetches it: jobs → /api/jobs, media → /api/listing, nodes → /api/nodes, projects → /api/projects/{id}/render, training → /api/lora-training/jobs. The stream stays open; the browser’s EventSource reconnects on its own after a drop.

Successful Response

Media typeapplication/json
Examplegenerated
example