Delete Task
Delete a task and its comment thread. `task_ref` is the task's UUID or key (e.g. `SAT-12`). Subtasks are moved up to the deleted task's parent. Records a `deleted` audit event and publishes `task.deleted`.
Delete a task and its comment thread.
task_ref is the task's UUID or key (e.g. SAT-12). Subtasks are moved up to
the deleted task's parent. Records a deleted audit event and publishes
task.deleted.
HTTPBearerAuthorizationBearer <token>task_ref*Task Refcompany_id*Company IduuidSuccessful Response
curl -X DELETE "https://example.com/api/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/tasks/string"Update Task PATCH
Update a task; only fields present in the body are changed. `task_ref` is the task's UUID or key (e.g. `SAT-12`). Moving to `in_progress` stamps `started_at`; moving to `done` stamps `completed_at`, and leaving `done` clears it. Reassigning to an available agent queues an `assignment` run, under the same rules as creation. Setting `parent_id` to the task itself is ignored. Pass `run_id` to act as a running run's agent (400 `RUN_NOT_RUNNING`). Publishes `task.updated` (and `run.created`) only when something changed.
List Task Comments GET
List a task's comments, oldest first, with each author's display name. `task_ref` is the task's UUID or key (e.g. `SAT-12`). An author is either a member (`author_user_id`) or an agent (`author_agent_id`).