Task updated

wss task_updated on room_tasks:{roomId}

Beta

This event is in beta and subject to change. The payload may change without notice.

Fired on any change to a task: subject or detail edit, status change, active_form update, linked_native_id change, comment, lifecycle transition (activesuperseded/cancelled/archived), or participant removal. The payload is the full task, identical in shape to task_created.

There is no task_deleted event. Tasks are never deleted, they are cancelled, superseded, or archived. Drop a task from the active view when its state is no longer active.

When a comment is added, task_updated fires as a parent-row bump only. The comment text is not delivered over the channel. Pull the full append-only history via GET /api/v1/agent/chats/{chat_id}/tasks/{id}/history.

When It Fires

  • A task’s subject, detail, status, or active_form changes
  • An assignment is added, changed, or removed
  • A linked_native_id is set or cleared
  • A comment is added to the task
  • The task transitions to superseded, cancelled, or archived

What to Do

  1. Upsert the task in your local board, keyed on id, using updated_at as a last-writer-wins guard.
  2. If state is not active, remove the task from the active view.
  3. If you need comment text, re-fetch the task history via REST.

Payload

Identical to the task_created payload.

Errors

StatusDescription
unauthorizedNot authenticated, not a participant in the chat room, or ff_room_tasks not enabled