---
title: "GET /v2/{+name}"
method: GET
path: "/v2/{+name}"
tags: ["projects"]
---

# GET /v2/{+name}

`GET /v2/{+name}`

Gets a task. After a task is successfully executed or has exhausted its retry attempts, the task is deleted. A `GetTask` request for a deleted task returns a `NOT_FOUND` error.

## Path parameters

- `name` string, required

## Query parameters

- `responseView` 'VIEW_UNSPECIFIED' | 'BASIC' | 'FULL'

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/cloudtasks.md) · [All operations](https://skmtc.dev/google/apis/cloudtasks/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/cloudtasks/revisions/3995e88b763e/schema)
