Skip to content

search_tasks

search_tasks

Search across tasks the authenticated user has access to. A user has access to a task if they created it, are assigned to it, or are a member of a non-archived list the task is attached to. Soft-deleted tasks and tasks reachable only through archived lists are never returned. Filters compose with AND; array filters match any of the supplied values.

FieldTypeRequiredDescription
querystringnoFree-text title filter (case-insensitive substring match).
limitnumbernoMax results to return. Integer between 1 and 1000. Defaults to 1000.
isCompletedbooleannotrue returns only completed tasks; false returns only non-completed. Omit to return both.
taskListIdsarray of numbernoMatch any of these task list IDs. Use list_task_lists to discover them.
assigneeIdsarray of stringnoMatch any of these assignee user IDs.
taskStatusIdsarray of numbernoMatch any of these status IDs. Use list_task_statuses to discover them.
prioritiesarray of stringnoEach value is one of low, medium, high, urgent.
dueDateFromstringnoInclusive lower bound for dueDate (ISO YYYY-MM-DD).
dueDateTostringnoInclusive upper bound for dueDate (ISO YYYY-MM-DD).
{
  "query": "onboarding",
  "limit": 100,
  "isCompleted": false,
  "taskListIds": [12, 19],
  "priorities": ["high", "urgent"],
  "dueDateFrom": "2026-05-01",
  "dueDateTo": "2026-05-31"
}

A single text content block containing a JSON array of task summaries. The shape matches the OpenAPI List tasks response.

FieldTypeDescription
idnumberNumeric ID of the task.
titlestringTask title.
numbernumberAuto-incrementing task number within the team.
prioritystring | nullOne of low, medium, high, urgent, or null.
dueDatestring | nullISO 8601 date the task is due, or null.
parentIdnumber | nullParent task ID if this is a subtask, otherwise null.
createdAtstringISO 8601 timestamp the task was created.
updatedAtstringISO 8601 timestamp of the last update.
isCompletedbooleantrue if the task’s status is in a completed state.
statusobjectCurrent status of the task — see below.
status.idnumberNumeric ID of the status.
status.namestringDisplay name of the status.
assigneesarray of objectsUsers currently assigned. May be empty.
assignees[].idstringUser ID (UUID).
assignees[].namestringUser’s display name.
assignees[].emailstringUser’s email address.
taskListsarray of objectsLists this task is attached to. May be empty.
taskLists[].idnumberNumeric ID of the list.
taskLists[].namestringDisplay name of the list.
[
  {
    "id": 421,
    "title": "Wire up onboarding email",
    "number": 87,
    "priority": "high",
    "dueDate": "2026-05-12",
    "parentId": null,
    "createdAt": "2026-05-01T09:14:22.000Z",
    "updatedAt": "2026-05-08T11:02:08.000Z",
    "isCompleted": false,
    "status": { "id": 3, "name": "In progress" },
    "assignees": [
      { "id": "u_abc123", "name": "Tom", "email": "tom@example.com" }
    ],
    "taskLists": [
      { "id": 12, "name": "Marketing site" }
    ]
  }
]