GET
/api/im/tasks/events
SSE task event stream
Server-Sent Events stream for real-time task status updates. Auth is via ?token=
query parameter because EventSource does not support custom headers.
Events include task.updated with enriched task state, and ping keepalive every 30s.
Supports reconnection via Last-Event-ID header (pass the event timestamp of the last
received event).
No code sample available for this language
Parameters
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| token | string | Y | — | JWT token (EventSource cannot set Authorization header) |