- [HTTP request](https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.locations.jobs.stages/getExecutionDetails#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.locations.jobs.stages/getExecutionDetails#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.locations.jobs.stages/getExecutionDetails#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.locations.jobs.stages/getExecutionDetails#body.request_body)
- [Response body](https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.locations.jobs.stages/getExecutionDetails#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.locations.jobs.stages/getExecutionDetails#body.StageExecutionDetails.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.locations.jobs.stages/getExecutionDetails#body.aspect)
- [WorkerDetails](https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.locations.jobs.stages/getExecutionDetails#WorkerDetails)
  - [JSON representation](https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.locations.jobs.stages/getExecutionDetails#WorkerDetails.SCHEMA_REPRESENTATION)
- [WorkItemDetails](https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.locations.jobs.stages/getExecutionDetails#WorkItemDetails)
  - [JSON representation](https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.locations.jobs.stages/getExecutionDetails#WorkItemDetails.SCHEMA_REPRESENTATION)
- [Try it!](https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.locations.jobs.stages/getExecutionDetails#try-it)

Request detailed information about the execution status of a stage of the job.

EXPERIMENTAL. This API is subject to change or removal without notice.

### IAM Permissions

Requires the `dataflow.metrics.get` permission on the job.

### HTTP request

Choose an endpoint:
global   
`GET https://dataflow.googleapis.com/v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/stages/{stageId}/executionDetails`

<br />

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

### Path parameters

| Parameters ||
|---|---|
| `projectId` | `string` A project id. |
| `location` | `string` The [regional endpoint](https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by jobId. |
| `jobId` | `string` The job to get execution details for. |
| `stageId` | `string` The stage for which to fetch information. |

### Query parameters

| Parameters ||
|---|---|
| `pageSize` | `integer` If specified, determines the maximum number of work items to return. If unspecified, the service may choose an appropriate default, or may return an arbitrarily large number of results. |
| `pageToken` | `string` If supplied, this should be the value of nextPageToken returned by an earlier call. This will cause the next page of results to be returned. |
| `startTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Lower time bound of work items to include, by start time. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `endTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Upper time bound of work items to include, by start time. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |

### Request body

The request body must be empty.

### Response body

Information about the workers and work items within a stage.

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

| JSON representation |
|---|
| ``` { "workers": [ { object (`https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.locations.jobs.stages/getExecutionDetails#WorkerDetails`) } ], "nextPageToken": string } ``` |

| Fields ||
|---|---|
| `workers[]` | ``object (`https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.locations.jobs.stages/getExecutionDetails#WorkerDetails`)`` Workers that have done work on the stage. |
| `nextPageToken` | `string` If present, this response does not contain all requested tasks. To obtain the next page of results, repeat the request with pageToken set to this value. |

### Authorization scopes

Requires one of the following OAuth scopes:

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

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

## WorkerDetails

Information about a worker

| JSON representation |
|---|
| ``` { "workerName": string, "workItems": [ { object (`https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.locations.jobs.stages/getExecutionDetails#WorkItemDetails`) } ] } ``` |

| Fields ||
|---|---|
| `workerName` | `string` Name of this worker |
| `workItems[]` | ``object (`https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.locations.jobs.stages/getExecutionDetails#WorkItemDetails`)`` Work items processed by this worker, sorted by time. |

## WorkItemDetails

Information about an individual work item execution.

| JSON representation |
|---|
| ``` { "taskId": string, "attemptId": string, "startTime": string, "endTime": string, "state": enum (`https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/ExecutionState`), "progress": { object (`https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/ProgressTimeseries`) }, "metrics": [ { object (`https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/MetricUpdate`) } ], "stragglerInfo": { object (`https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/StragglerInfo`) } } ``` |

| Fields ||
|---|---|
| `taskId` | `string` Name of this work item. |
| `attemptId` | `string` Attempt ID of this work item |
| `startTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Start time of this work item attempt. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `endTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` End time of this work item attempt. If the work item is completed, this is the actual end time of the work item. Otherwise, it is the predicted end time. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `state` | ``enum (`https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/ExecutionState`)`` State of this work item. |
| `progress` | ``object (`https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/ProgressTimeseries`)`` Progress of this work item. |
| `metrics[]` | ``object (`https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/MetricUpdate`)`` Metrics for this work item. |
| `stragglerInfo` | ``object (`https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/StragglerInfo`)`` Information about straggler detections for this work item. |