# Method: projects.locations.workflows.get

- [HTTP request](https://docs.cloud.google.com/workflows/docs/reference/rest/v1/projects.locations.workflows/get#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/workflows/docs/reference/rest/v1/projects.locations.workflows/get#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/workflows/docs/reference/rest/v1/projects.locations.workflows/get#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/workflows/docs/reference/rest/v1/projects.locations.workflows/get#body.request_body)
- [Response body](https://docs.cloud.google.com/workflows/docs/reference/rest/v1/projects.locations.workflows/get#body.response_body)
- [Authorization scopes](https://docs.cloud.google.com/workflows/docs/reference/rest/v1/projects.locations.workflows/get#body.aspect)
- [Try it!](https://docs.cloud.google.com/workflows/docs/reference/rest/v1/projects.locations.workflows/get#try-it)

Gets details of a single workflow.

### HTTP request

`GET https://workflows.googleapis.com/v1/{name=projects/*/locations/*/workflows/*}`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `name` | `string` Required. Name of the workflow for which information should be retrieved. Format: projects/{project}/locations/{location}/workflows/{workflow} Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `name`: - `workflows.workflows.get` |

### Query parameters

| Parameters ||
|---|---|
| `revisionId` | `string` Optional. The revision of the workflow to retrieve. If the revisionId is empty, the latest revision is retrieved. The format is "000001-a4d", where the first six characters define the zero-padded decimal revision number. They are followed by a hyphen and three hexadecimal characters. |

### Request body

The request body must be empty.

### Response body

If successful, the response body contains an instance of `https://docs.cloud.google.com/workflows/docs/reference/rest/v1/projects.locations.workflows#Workflow`.

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).