list_tasks
to search for tasks by name
and get their corresponding task_id
. Often, users will have Task name
s readily accessible, and can use list_tasks
to get the corresponding task_id,
which may be needed in other SDK functions.
list_tasks
here.assign_task
when you already have the task_id
you want to assign to a particular user. If you don’t have the task_id
, you can query all the Tasks using list_tasks
or query tasks assigned to a particular user/unassigned tasks using list_tasks(user_id="...")
.
list_tasks
in conjunction with a specific user_id
when you want to retrieve the Tasks assigned to a particular user. This can be useful in preparation for using assign_tasks
to programmatically assigning unassigned tasks, or put_tasks
to programmatically label/review tasks assigned to you.