# Run event

> Kernel-emitted lifecycle events for a specific run.

`@kindgi/specs/run-event.schema.json`, schema version 1.1.0.

Kernel-emitted lifecycle events for a specific run. Streamed over SSE to subscribers (browser via client SDK, admin UI, external observers). Distinct from the general Event type: RunEvents are always about a specific run, always emitted by the kernel, and are used by the run subscription API rather than the general subscription API. Schema-version 1.1.0 removes the eight kinds the stream never sent: `run.queued`, `run.tool-invoked`, `run.tool-result`, `run.model-token`, `run.artifact-produced`, `run.guardrail-violated`, `run.approval-requested` and `run.approval-completed`. A kind is listed when the stream sends it.

- `eventId` (string, required): `<runId>:<sequence>`; monotonic within the run. Used as `Last-Event-Id` for SSE resumability.
- `runId` (string, required)
- `tenantId` (string, required)
- `timestamp` (string (date-time), required)
- `kind` (`"run.started"` | `"run.step-started"` | `"run.step-completed"` | `"run.step-failed"` | `"run.step-retry-scheduled"` | `"run.iteration-started"` | `"run.iteration-completed"` | `"run.wait-suspended"` | `"run.wait-resumed"` | `"run.completed"` | `"run.failed"` | `"run.cancelled"`, required)
- `sequence` (integer): Monotonic sequence within the run: the journal entry's `sequence` (`JournalEntry.sequence` in `@kindgi/runtime`).
- `nodeId` (string): For step-scoped events: the flow node id.
- `payload` (object): Kind-specific payload: the journal entry's `payload` (`JournalEntry.payload` in `@kindgi/runtime`), when it has one.
