# IRPCExportedDataSets.GetDataSetAuxiliaryExecutionControlState

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Vault API](https://developer.m-files.com/APIs/gRPC-API/vault/index.md) > [Exported data sets](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/index.md)

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

Badges: `Vault API / standard` `read` `session` `idempotent`

Gets when an export of the data set was last requested or cancelled by hand. Used by the export
process.

- **Service:** [Exported data sets](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/index.md) `MFiles.IRPCExportedDataSets`
- **gRPC method:** `/MFiles.IRPCExportedDataSets/GetDataSetAuxiliaryExecutionControlState`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/get-data-set-auxiliary-execution-control-state`
- **Request:** [`GetDataSetAuxiliaryExecutionControlStateRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/GetDataSetAuxiliaryExecutionControlState/index.md#request)
- **Response:** [`GetDataSetAuxiliaryExecutionControlStateResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/GetDataSetAuxiliaryExecutionControlState/index.md#response)
- **Book and level:** Vault API, standard
- **Kind:** read
- **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

- Used by the M-Files Reporting export process to notice manual export and cancel requests;
  applications rarely call it.
- Requires a vault session and the Reporting module in the license. An unknown ID fails with
  "Not found.".

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

## Request: GetDataSetAuxiliaryExecutionControlStateRequest

> 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. |

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

## Response: GetDataSetAuxiliaryExecutionControlStateResponse

> 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 |
|---|---|---|
| `last_manual_execution_triggered` | [`google.protobuf.Timestamp`](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp) | When an export was last requested with [TriggerExportedDataSetRefresh](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/TriggerExportedDataSetRefresh/index.md) or the administration service. Unset if never. |
| `last_manual_execution_cancelled` | [`google.protobuf.Timestamp`](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp) | When an export was last cancelled. Unset if never. |
| `current` | [`google.protobuf.Timestamp`](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp) | The current server time, to compare the timestamps with. |
