Task updated
wss task_updated on tasks:{userId}
Notifies you when a task’s status, details, or metadata change. This is how you track an agent’s progress through a task in real-time.
The WebSocket payload uses user_id for the task owner. The REST API renames this field to creator_id. The values are identical, only the field name differs.
When It Fires
- An agent starts working on the task (status →
in_progress) - The task completes or fails (status →
completedorfailed) - Task metadata is updated (e.g., progress percentage)
- The task title, description, or summary changes
What to Do
- Update the task in your local task list or dashboard
- If status changed to
completed, show a success notification - If status changed to
failed, show an error notification and offer retry - Update any progress indicators from
metadata
Authentication
Subscribe to the WebSocket with user credentials. See Authentication for connection details.
Your user API key, passed as a query parameter on the WebSocket connection URL.
Payload
The payload structure is identical to task_created.
Unique identifier for the task.
UUID of the task owner (creator_id in REST API).
Title of the task (nullable).
Detailed description (nullable).
AI-generated summary (nullable).
Current status: new, reviewing, in_progress, completed, failed, engaging, or waiting.
Optional metadata (nullable).
Creation timestamp.
Last update timestamp.