tasks.tasks.list
List tasks in a specified Google Tasks list, with optional filters for due/completion dates, pagination, and hidden, deleted, or assigned tasks.
Instructions
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 GET]. Returns the requested resource as JSON — request bodies are built from the typed parameters (typed flags win over the params map), or read whole from body_file Siblings over the same resource: clear, delete, get, insert, move, patch, update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Extra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe. | |
| dueMax | No | [query parameter] 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 | No | [query parameter] 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. | |
| params | No | Parameter map merged into the request; typed parameters win. | |
| dry_run | No | Return the request that would be sent, without sending it. | |
| tasklist | Yes | [URL path segment] Task list identifier. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. | |
| pageToken | No | [query parameter] Token specifying the result page to return. Optional. | |
| maxResults | No | [query parameter] Maximum number of tasks returned on one page. Optional. The default is 20 (max allowed: 100). | |
| showHidden | No | [query parameter] Flag indicating whether hidden tasks are returned in the result. Optional. The default is False. | |
| updatedMin | No | [query parameter] 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. | |
| showDeleted | No | [query parameter] Flag indicating whether deleted tasks are returned in the result. Optional. The default is False. | |
| completedMax | No | [query parameter] 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 | No | [query parameter] 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. | |
| showAssigned | No | [query parameter] Optional. Flag indicating whether tasks assigned to the current user are returned in the result. Optional. The default is False. | |
| showCompleted | No | [query parameter] 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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| etag | No | ||
| kind | No | ||
| items | No | ||
| nextPageToken | No |