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

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

Returns a list of step entries for a workflow execution. Entries are ordered by `createTime`.

### HTTP request

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

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

### Path parameters

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

### Query parameters

| Parameters ||
|---|---|
| `pageSize` | `integer` Optional. Number of step entries to return per call. The default max is 1000. |
| `pageToken` | `string` Optional. A page token, received from a previous `stepEntries.list` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `stepEntries.list` must match the call that provided the page token. |
| `skip` | `integer` Optional. The number of step entries to skip. It can be used with or without a pageToken. If used with a pageToken, then it indicates the number of step entries to skip starting from the requested page. |
| `filter` | `string` Optional. Filters applied to the `[StepEntries.ListStepEntries]` results. The following fields are supported for filtering: `entryId`, `createTime`, `updateTime`, `routine`, `step`, `stepType`, `state`, `parent`. For details, see [AIP-160](https://google.aip.dev/160). For example, if you are using the Google APIs Explorer: `state="SUCCEEDED"` or `createTime>"2023-08-01" AND state="FAILED"` |
| `orderBy` | `string` Optional. Comma-separated list of fields that specify the ordering applied to the `[StepEntries.ListStepEntries]` results. By default the ordering is based on ascending `entryId`. The following fields are supported for ordering: `entryId`, `createTime`, `updateTime`, `routine`, `step`, `stepType`, `state`. For details, see [AIP-132](https://google.aip.dev/132). |

### Request body

The request body must be empty.

### Response body

Response message for ExecutionHistory.ListStepEntries.

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

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

| Fields ||
|---|---|
| `stepEntries[]` | ``object (`https://docs.cloud.google.com/workflows/docs/reference/executions/rest/v1/projects.locations.workflows.executions.stepEntries#StepEntry`)`` The list of entries. |
| `nextPageToken` | `string` A token to retrieve next page of results. Pass this value in the `ListStepEntriesRequest.page_token` field in the subsequent call to `stepEntries.list` method to retrieve the next page of results. |
| `totalSize` | `integer` Indicates the total number of step entries that match the request filter. For running executions, this number indicates the number of step entries that are executed so far. |

### 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/).