# Method: projects.locations.workflows.executions.list

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

Returns a list of executions which belong to the workflow with the given name. The method returns executions of all workflow revisions. Returned executions are ordered by their start time (newest first).

### HTTP request

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

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

### Path parameters

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

### Query parameters

| Parameters ||
|---|---|
| `pageSize` | `integer` Maximum number of executions to return per call. Max supported value depends on the selected Execution view: it's 1000 for BASIC and 100 for FULL. The default value used if the field is not specified is 100, regardless of the selected view. Values greater than the max value will be coerced down to it. |
| `pageToken` | `string` A page token, received from a previous `executions.list` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `executions.list` must match the call that provided the page token. Note that pagination is applied to dynamic data. The list of executions returned can change between page requests. |
| `view` | ``enum (`https://docs.cloud.google.com/workflows/docs/reference/executions/rest/v1/ExecutionView`)`` Optional. A view defining which fields should be filled in the returned executions. The API will default to the BASIC view. |
| `filter` | `string` Optional. Filters applied to the `[Executions.ListExecutions]` results. The following fields are supported for filtering: `executionId`, `state`, `createTime`, `startTime`, `endTime`, `duration`, `workflowRevisionId`, `stepName`, `label`, and `disableConcurrencyQuotaOverflowBuffering`. For details, see [AIP-160](https://google.aip.dev/160). For more information, see [Filter executions](https://docs.cloud.google.com/workflows/docs/executing-workflow#filter_executions). For example, if you are using the Google APIs Explorer: `state="SUCCEEDED"` or `startTime>"2023-08-01" AND state="FAILED"` |
| `orderBy` | `string` Optional. Comma-separated list of fields that specify the ordering applied to the `[Executions.ListExecutions]` results. By default the ordering is based on descending `createTime`. The following fields are supported for ordering: `executionId`, `state`, `createTime`, `startTime`, `endTime`, `duration`, and `workflowRevisionId`. For details, see [AIP-132](https://google.aip.dev/132). |

### Request body

The request body must be empty.

### Response body

Response for the `https://docs.cloud.google.com/workflows/docs/reference/executions/rest/v1/projects.locations.workflows.executions/list#google.cloud.workflows.executions.v1.Executions.ListExecutions` method.

If successful, the response body contains data with the following structure:

| JSON representation |
|---|
| ``` { "executions": [ { object (`https://docs.cloud.google.com/workflows/docs/reference/executions/rest/v1/projects.locations.workflows.executions#Execution`) } ], "nextPageToken": string } ``` |

| Fields ||
|---|---|
| `executions[]` | ``object (`https://docs.cloud.google.com/workflows/docs/reference/executions/rest/v1/projects.locations.workflows.executions#Execution`)`` The executions which match the request. |
| `nextPageToken` | `string` A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages. |

### Authorization scopes

Requires the following OAuth scope:

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

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