# Cloud Tasks API API

> Cloud Tasks API API on Apizie: 18 endpoints (Gets a task. After a task is successfully executed or has exhausted its retry attempts, the task is deleted.…, Updates a queue. This method creates the queue if it does not exist and updates the queue if it does exist.…, Deletes a task. A task can be deleted if it is scheduled or dispatched. A task cannot be deleted if it has…, Lists information about the supported locations for this service. This method lists locations based on the…, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/analytics:googleapis-cloudtasks/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `analytics:googleapis-cloudtasks`
- Category: Analytics
- Status: byok
- Source: https://cloud.google.com/tasks/
- Page: https://apizie.tech/api/analytics/googleapis-cloudtasks
- OpenAPI: https://apizie.tech/api/analytics/googleapis-cloudtasks/openapi.json

Manages the execution of large numbers of distributed requests.

## Endpoints

### Gets a task. After a task is successfully executed or has exhausted its retry attempts, the task is deleted.…
`GET https://apizie.tech/v1/analytics:googleapis-cloudtasks/cloudtasks-projects-locations-queues-tasks-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` |
| responseView | string | no | The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved… |

### Updates a queue. This method creates the queue if it does not exist and updates the queue if it does exist.…
`POST https://apizie.tech/v1/analytics:googleapis-cloudtasks/cloudtasks-projects-locations-queues-patch` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following… |
| updateMask | string | no | A mask used to specify which fields of the queue are being updated. If empty, then all fields will be updated. |
| body | object | yes | JSON request body |

### Deletes a task. A task can be deleted if it is scheduled or dispatched. A task cannot be deleted if it has…
`POST https://apizie.tech/v1/analytics:googleapis-cloudtasks/cloudtasks-projects-locations-queues-tasks-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` |

### Lists information about the supported locations for this service. This method lists locations based on the…
`GET https://apizie.tech/v1/analytics:googleapis-cloudtasks/cloudtasks-projects-locations-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| extraLocationTypes | string | no | Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. |
| filter | string | no | A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is… |
| name | string | yes | The resource that owns the locations collection, if applicable. |
| pageSize | integer | no | The maximum number of results to return. If not set, the service selects a default. |
| pageToken | string | no | A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. |

### Lists queues. Queues are returned in lexicographical order.
`GET https://apizie.tech/v1/analytics:googleapis-cloudtasks/cloudtasks-projects-locations-queues-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | no | `filter` can be used to specify a subset of queues. Any Queue field can be used as a filter and several operators as supported. For… |
| pageSize | integer | no | Requested page size. The maximum page size is 9800. If unspecified, the page size will be the maximum. Fewer queues than requested might… |
| pageToken | string | no | A token identifying the page of results to return. To request the first page results, page_token must be empty. To request the next page… |
| parent | string | yes | Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID` |

### Creates a queue. Queues created with this method allow tasks to live for a maximum of 31 days. After a task…
`POST https://apizie.tech/v1/analytics:googleapis-cloudtasks/cloudtasks-projects-locations-queues-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The location name in which the queue will be created. For example: `projects/PROJECT_ID/locations/LOCATION_ID` The list of… |
| body | object | yes | JSON request body |

### Gets the access control policy for a Queue. Returns an empty policy if the resource exists and does not have…
`POST https://apizie.tech/v1/analytics:googleapis-cloudtasks/cloudtasks-projects-locations-queues-get-iam-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| resource | string | yes | REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names)… |
| body | object | yes | JSON request body |

### Pauses the queue. If a queue is paused then the system will stop dispatching tasks until the queue is…
`POST https://apizie.tech/v1/analytics:googleapis-cloudtasks/cloudtasks-projects-locations-queues-pause` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` |
| body | object | yes | JSON request body |

### Purges a queue by deleting all of its tasks. All tasks created before this method is called are permanently…
`POST https://apizie.tech/v1/analytics:googleapis-cloudtasks/cloudtasks-projects-locations-queues-purge` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` |
| body | object | yes | JSON request body |

### Resume a queue. This method resumes a queue after it has been PAUSED or DISABLED. The state of a queue is…
`POST https://apizie.tech/v1/analytics:googleapis-cloudtasks/cloudtasks-projects-locations-queues-resume` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` |
| body | object | yes | JSON request body |

### Sets the access control policy for a Queue. Replaces any existing policy. Note: The Cloud Console does not…
`POST https://apizie.tech/v1/analytics:googleapis-cloudtasks/cloudtasks-projects-locations-queues-set-iam-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| resource | string | yes | REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names)… |
| body | object | yes | JSON request body |

### Returns permissions that a caller has on a Queue. If the resource does not exist, this will return an empty…
`POST https://apizie.tech/v1/analytics:googleapis-cloudtasks/cloudtasks-projects-locations-queues-test-iam-permissions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| resource | string | yes | REQUIRED: The resource for which the policy detail is being requested. See [Resource… |
| body | object | yes | JSON request body |

### Creates a batch of tasks and adds them to a queue. All tasks must be for the same queue. A maximum of 100…
`POST https://apizie.tech/v1/analytics:googleapis-cloudtasks/cloudtasks-projects-locations-queues-tasks-batch-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist. |
| body | object | yes | JSON request body |

### Deletes a batch of tasks. This is a non-atomic operation: if deletion fails for some tasks, it can still…
`POST https://apizie.tech/v1/analytics:googleapis-cloudtasks/cloudtasks-projects-locations-queues-tasks-batch-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The queue name. For example: Format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` |
| body | object | yes | JSON request body |

### Creates and buffers a new task without the need to explicitly define a Task message. The queue must have…
`POST https://apizie.tech/v1/analytics:googleapis-cloudtasks/cloudtasks-projects-locations-queues-tasks-buffer` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| queue | string | yes | Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist. |
| taskId | string | yes | Optional. Task ID for the task being created. If not provided, Cloud Tasks generates an ID for the task. |
| body | object | yes | JSON request body |

### Lists the tasks in a queue. By default, only the BASIC view is retrieved due to performance considerations;…
`GET https://apizie.tech/v1/analytics:googleapis-cloudtasks/cloudtasks-projects-locations-queues-tasks-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | no | Maximum page size. Fewer tasks than requested might be returned, even if more tasks exist; use next_page_token in the response to… |
| pageToken | string | no | A token identifying the page of results to return. To request the first page results, page_token must be empty. To request the next page… |
| parent | string | yes | Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` |
| responseView | string | no | The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved… |

### Creates a task and adds it to a queue. Tasks cannot be updated after creation; there is no UpdateTask…
`POST https://apizie.tech/v1/analytics:googleapis-cloudtasks/cloudtasks-projects-locations-queues-tasks-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist. |
| body | object | yes | JSON request body |

### Forces a task to run now. When this method is called, Cloud Tasks will dispatch the task, even if the task…
`POST https://apizie.tech/v1/analytics:googleapis-cloudtasks/cloudtasks-projects-locations-queues-tasks-run` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` |
| body | object | yes | JSON request body |

## Example
```
curl "https://apizie.tech/v1/analytics:googleapis-cloudtasks/cloudtasks-projects-locations-queues-tasks-get" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Cloud Tasks API API?
Create a free Apizie key, then send GET https://apizie.tech/v1/analytics:googleapis-cloudtasks/cloudtasks-projects-locations-queues-tasks-get with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Cloud Tasks API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Cloud Tasks API itself also needs your own key from googleapis.com.

### Can AI agents use the Cloud Tasks API API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key analytics:googleapis-cloudtasks.

### What is the status of the Cloud Tasks API API?
Needs your own provider key (bring your own key)
