QueryTasks

Find Tasks that match request criteria.

QueryTasksRequest

Request
This endpoint expects an object.
task_typeobject or string
parent_task_idstring

If present matches Tasks with this parent Task ID. Note: this is mutually exclusive with all other query parameters, i.e., either provide parent Task ID, or any of the remaining parameters, but not both.

page_tokenstring
If set, returns results starting from the given page token.
status_filterany
Filters on provided status types in the filter.
update_time_rangeany
If provided, only provides Tasks updated within the time range.
viewenum

Optional filter for view of a Task. If not set, defaults to TASK_VIEW_MANAGER.

Allowed values:
assigneeobject
If provided, returns Tasks that match this assignee.

QueryTasksResponse

Response
This endpoint returns an object.
taskslist of objects
Tasks matching the Query Task request.
page_tokenstring
Page token to the next page of Tasks.