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

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

Returns all metadata stored about an execution, excluding most data that is already accessible using other API methods.

### HTTP request

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

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

### Path parameters

| Parameters ||
|---|---|
| `name` | `string` Required. Name of the execution for which data is to be exported. 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 `name`: - `workflows.executions.get` |

### 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/exportData#google.cloud.workflows.executions.v1.Executions.ExportData` method.

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

| JSON representation |
|---|
| ``` { "data": string } ``` |

| Fields ||
|---|---|
| `data` | `string` The JSON string with customer data and metadata for an execution with the given name |

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