Update Task
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.
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.
HTTPBearerAuthorizationBearer <token>task_ref*Task Refcompany_id*Company Iduuidapplication/json- body
assignee_agent_id?|nulldescription?string|nulldue_date?|nullgoal_id?|nullparent_id?|nullpriority?|nullproject_id?|nullrun_id?|nullsort_order?integer|nullstatus?|nulltitle?|nullSuccessful Response
application/json- response
assignee_agent_id*|nullcompleted_at*|nullcreated_at*|nullcreated_by_agent_id*|nullcreated_by_user_id*|nulldescription*string|nulldue_date*|nullgoal_id*|nullid*Iduuidkey*Keynumber*Numberparent_id*|nullpriority*Priorityproject_id*|nullsort_order*Sort Orderstarted_at*|nullstatus*Statustitle*Titleupdated_at*|nullcurl -X PATCH "https://example.com/api/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/tasks/string" \ -H "Content-Type: application/json" \ -d '{}'{ "assignee_agent_id": "8ff43445-51ff-4235-b9d4-d8007d4d5dc3", "completed_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "created_by_agent_id": "acd3b99b-57bd-46a1-809a-5d915f3c2609", "created_by_user_id": "209f54c4-4c33-43bc-9c6a-ef4c65ad7473", "description": "string", "due_date": "2019-08-24T14:15:22Z", "goal_id": "3854d9ad-4bca-4a70-a63e-7c6bc2f12aee", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "number": 0, "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "priority": "string", "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9", "sort_order": 0, "started_at": "2019-08-24T14:15:22Z", "status": "string", "title": "string", "updated_at": "2019-08-24T14:15:22Z"}Get Task GET
Get one task by reference. `task_ref` is the task's UUID or its key, e.g. `SAT-12` (the prefix is matched case-insensitively). Answers 404 `NOT_FOUND` when no task matches.
Delete Task DELETE
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`.