# IRPCExportedDataSetsAdmin.TriggerExportedDataSetExecution

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Administration API](https://developer.m-files.com/APIs/gRPC-API/admin/index.md) > [Exported data set administration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/TriggerExportedDataSetExecution/

Badges: `Administration API / specialized` `admin` `session` `idempotent`

Requests an immediate export run of an exported data set.

- **Service:** [Exported data set administration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/index.md) `MFiles.IRPCExportedDataSetsAdmin`
- **gRPC method:** `/MFiles.IRPCExportedDataSetsAdmin/TriggerExportedDataSetExecution`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/trigger-exported-data-set-execution`
- **Request:** [`TriggerExportedDataSetExecutionRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/TriggerExportedDataSetExecution/index.md#request)
- **Response:** [`TriggerExportedDataSetExecutionResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/TriggerExportedDataSetExecution/index.md#response)
- **Book and level:** Administration API, specialized
- **Kind:** admin
- **Session:** Required: the session ID from LogIn in the mfiles-session-id-bin metadata.
- **Idempotent:** yes
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

<a id="remarks"></a>

## Remarks

- **Requests a background run and returns at once**: the server records the request and M-Files
  Reporting Data Services runs the export. Follow it with
  [GetExportedDataSetExecutionStatus](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/GetExportedDataSetExecutionStatus/index.md).
- Fails when the data set is disabled. An unknown ID fails with "Not found.".
- Requires a vault session and the vault right `see_all_objects`.

<a id="request"></a>

## Request: TriggerExportedDataSetExecutionRequest

> Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

| Field | Type | Description |
|---|---|---|
| `id` | `int32` | The ID of the data set to export. |

<a id="response"></a>

## Response: TriggerExportedDataSetExecutionResponse

No fields.

<a id="related"></a>

## Related methods

- [GetExportedDataSetExecutionStatus](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/GetExportedDataSetExecutionStatus/index.md): Gets the progress and status of the latest export run of an exported data set.
