Stream detection status
Opens a Server-Sent Events stream of the detection’s status changes. Emits the current status immediately, then each transition, and ends once the detection settles (complete or failed). Each event’s data is a DetectionStatusEvent (see the response schema). Authenticate with a Bearer token via a fetch-based client; the native EventSource cannot send an Authorization header.
Path Parameters
Workspace identifier.
Opaque identifier of the detection.
^detection_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Response
Server-sent event stream; each event's data is the payload below.
A detection's status change, broadcast on the core-NATS subject
[detection_subject].
Fan-out to any watching SSE connections; the detection row in Postgres remains the source of truth, so a missed broadcast is recoverable by re-reading it.