Tasks: list

Lists all non-deleted Tasks in a TaskQueue, whether or not they are currently leased, up to a maximum of 100. Try it now.

The retrieved tasks will not include the task payload. Deleted tasks (whose names remain unavailable for up to seven days) do not appear in this list. Tasks are returned in the same order they are stored on the queue. The developer's email address must be specified as a user_email in the acl element of queue.yaml.


HTTP request

GET https://www.googleapis.com/taskqueue/v1beta2/projects/project/taskqueues/taskqueue/tasks


Parameter name Value Description
Path parameters
project string The project under which the queue lies.
taskqueue string The id of the taskqueue to list tasks from.


This request requires authorization with at least one of the following scopes (read more about authentication and authorization).


Request body

Do not supply a request body with this method.


If successful, this method returns a response body with the following structure:

  "kind": "taskqueues#tasks",
  "items": [
    tasks Resource
Property name Value Description Notes
kind string The kind of object returned, a list of tasks.
items[] list The actual list of tasks currently active in the TaskQueue.

Try it!

Use the APIs Explorer below to call this method on live data and see the response. Alternatively, try the standalone Explorer.

Send feedback about...

App Engine Documentation