Events

Clients follow what happens through server-sent events. See API for the two stream routes.

Event format

Every event:

{
  "id": "evt_...",
  "seq": 1042,
  "type": "message.delta",
  "ts": "2026-11-11T21:00:00Z",
  "thread_id": "thr_...",
  "turn_id": "turn_...",
  "data": { }
}

Event types

turn.started             {source: message | schedule | trigger | dreaming}
turn.queued
turn.waiting             {approval_id}  paused for a yes
message.delta            streamed text
message.done
plugin.loaded            {plugin, reason}
chat.summarized          {upto_n, messages}  the older part of a long chat was summed up (prompt-system.md)
plugin.unloaded          {plugin}
memory.loaded            {ids}
tool.started             {plugin, tool, action_id}
tool.done                {plugin, tool, action_id, ok}
plugin.draft_created     {plugin, version}  needs approval
approval.requested       see below
approval.resolved        {id, answer, by}
approval.expired         {id}
action.logged            {id, summary, undoable}
assistant.notice         {priority: urgent | normal | digest, title?, text, silent, thread_id?}  unasked message; see 05 #7. `silent` = show with no sound or buzz; silent ones skip quiet hours and the daily cap. `thread_id` is the thread that sent it (for a task: its report)
reminder.due             {job_id, text, event_id, late, outside, ring, sound, sound_url}  show a notification now
alarm.ring               {ring_id, job_id, text, sound, sound_url, ring_seconds, snooze_minutes}  start ringing
alarm.stopped            {ring_id, reason: dismissed | snoozed | missed}  stop ringing on every device
dreaming.report          {run_id, changes, questions}
turn.done
turn.cancelled
turn.error               plain-language message + machine code

More events