Update an existing task.
Only provided fields are updated. Returns the updated task.
Returns: Updated task.
Raises: NotFoundError: If task not found or belongs to another organization.
Request body for updating a task. All fields optional.
Status changes are not allowed here — use the transition endpoint instead.
Attributes: title: Short description of the task. description: Detailed description. priority: Priority level (1=urgent, 2=high, 3=normal, 4=low). assigned_to_type_id: Agent type to assign. assigned_to_instance_id: Agent instance to assign. assigned_to_user_id: User to assign. correlation_bucket_id: Correlation bucket for related events. source: How this task was created.
1 <= x <= 4Origin of an agent task.
triage, conversation, manual Successful Response
An agent task representing a unit of work.
Subtask relationships are modeled as has_subtask graph edges in
SurrealDB rather than a flat parent reference. Use TaskStorageService
graph traversal methods to find parents and children.
Attributes: id: SurrealDB record ID (populated by database). organization_id: Owning organization. title: Short description of the task. description: Detailed description. status: Current task status. priority: Priority level (1=urgent, 2=high, 3=normal, 4=low). assigned_to_type_id: Agent type assigned to this task. assigned_to_instance_id: Agent instance working on this task. assigned_to_user_id: User assigned to this task. correlation_bucket_id: Correlation bucket for related events. created_by: User ID of the creator. source: How this task was created.
Status of an agent task on the board.
backlog, assigned, running, review, done 1 <= x <= 4Origin of an agent task.
triage, conversation, manual