Returns all tasks in the specified task list. Doesn't return assigned tasks by default (from Docs, Chat Spaces). A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time.
HTTP request
GET https://tasks.googleapis.com/tasks/v1/lists/{tasklist}/tasks
Upper bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date.
completedMin
string
Lower bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date.
dueMax
string
Upper bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date.
dueMin
string
Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date.
maxResults
integer
Maximum number of tasks returned on one page. Optional. The default is 20 (max allowed: 100).
pageToken
string
Token specifying the result page to return. Optional.
showCompleted
boolean
Flag indicating whether completed tasks are returned in the result. Note that showHidden must also be True to show tasks completed in first party clients, such as the web UI and Google's mobile apps. Optional. The default is True.
showDeleted
boolean
Flag indicating whether deleted tasks are returned in the result. Optional. The default is False.
showHidden
boolean
Flag indicating whether hidden tasks are returned in the result. Optional. The default is False.
updatedMin
string
Lower bound for a task's last modification time (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by last modification time.
showAssigned
boolean
Optional. Flag indicating whether tasks assigned to the current user are returned in the result. Optional. The default is False.
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-10 UTC."],[],[],null,["# Method: tasks.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.Tasks.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Tasks](#Tasks)\n - [JSON representation](#Tasks.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nReturns all tasks in the specified task list. Doesn't return assigned tasks by default (from Docs, Chat Spaces). A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time.\n\n### HTTP request\n\n`GET https://tasks.googleapis.com/tasks/v1/lists/{tasklist}/tasks`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------|--------------------------------|\n| `tasklist` | `string` Task list identifier. |\n\n### Query parameters\n\n| Parameters ||\n|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `completedMax` | `string` Upper bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date. |\n| `completedMin` | `string` Lower bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date. |\n| `dueMax` | `string` Upper bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date. |\n| `dueMin` | `string` Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date. |\n| `maxResults` | `integer` Maximum number of tasks returned on one page. Optional. The default is 20 (max allowed: 100). |\n| `pageToken` | `string` Token specifying the result page to return. Optional. |\n| `showCompleted` | `boolean` Flag indicating whether completed tasks are returned in the result. Note that showHidden must also be True to show tasks completed in first party clients, such as the web UI and Google's mobile apps. Optional. The default is True. |\n| `showDeleted` | `boolean` Flag indicating whether deleted tasks are returned in the result. Optional. The default is False. |\n| `showHidden` | `boolean` Flag indicating whether hidden tasks are returned in the result. Optional. The default is False. |\n| `updatedMin` | `string` Lower bound for a task's last modification time (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by last modification time. |\n| `showAssigned` | `boolean` Optional. Flag indicating whether tasks assigned to the current user are returned in the result. Optional. The default is False. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"etag\": string, \"nextPageToken\": string, \"items\": [ { object (/workspace/tasks/reference/rest/v1/tasks#Task) } ] } ``` |\n\n| Fields ||\n|-----------------|-----------------------------------------------------------------------------------------|\n| `kind` | `string` Type of the resource. This is always \"tasks#tasks\". |\n| `etag` | `string` ETag of the resource. |\n| `nextPageToken` | `string` Token used to access the next page of this result. |\n| `items[]` | `object (`[Task](/workspace/tasks/reference/rest/v1/tasks#Task)`)` Collection of tasks. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/tasks`\n- `https://www.googleapis.com/auth/tasks.readonly`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent).\n\nTasks\n-----\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"etag\": string, \"nextPageToken\": string, \"items\": [ { object (/workspace/tasks/reference/rest/v1/tasks#Task) } ] } ``` |\n\n| Fields ||\n|-----------------|-----------------------------------------------------------------------------------------|\n| `kind` | `string` Type of the resource. This is always \"tasks#tasks\". |\n| `etag` | `string` ETag of the resource. |\n| `nextPageToken` | `string` Token used to access the next page of this result. |\n| `items[]` | `object (`[Task](/workspace/tasks/reference/rest/v1/tasks#Task)`)` Collection of tasks. |"]]