Skip to main content

JobEvent

Single broadcast frame for the SSE channel. Always has kind, id, phase, and at (epoch millis); result is only populated on Finished events.

atinteger<int64>required
idstringrequired
kindJobKind (string)required

Kind of work an event refers to. Stays a plain string in the serialized form so the frontend can pattern-match without importing the enum.

Possible values: [source, provider, seriesRefresh]

phaseJobPhase (string)required

Lifecycle phase. Started fires after the per-key mutex was acquired (so a skipped job emits only Finished).

Possible values: [started, finished]

result object
oneOf
null
JobEvent
{
"at": 0,
"id": "string",
"kind": "source",
"phase": "started",
"result": "null"
}