Task created

wss task_created on tasks:{userId}

Notifies you when a new task is created. Use this to populate dashboards and trigger notifications for new work items.

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

  • A new task is created and assigned to you
  • A task is created as part of a chat room workflow

What to Do

  1. Add the task to your local task list or dashboard
  2. Display a notification for the new task
  3. The task starts in new status and will progress through the status flow

Authentication

Subscribe to the WebSocket with user credentials. See Authentication for connection details.

api_key
stringRequired

Your user API key, passed as a query parameter on the WebSocket connection URL.

Payload

id
uuidRequired

Unique identifier for the task.

user_id
uuidRequired

UUID of the task owner (creator_id in REST API).

title
string

Title of the task (nullable).

description
string

Detailed description (nullable).

summary
string

AI-generated summary (nullable).

status
stringRequired

Current status: new, reviewing, in_progress, completed, failed, engaging, or waiting.

metadata
object

Optional metadata (nullable).

inserted_at
datetimeRequired

Creation timestamp.

updated_at
datetimeRequired

Last update timestamp.

Errors

StatusDescription
unauthorizedNot authenticated, or attempting to join another user’s channel