# IRPCExportedDataSets.GetExportedDataSets

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/GetExportedDataSets/

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

Gets all exported data sets of the vault.

- **Service:** [Exported data sets](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/index.md) `MFiles.IRPCExportedDataSets`
- **gRPC method:** `/MFiles.IRPCExportedDataSets/GetExportedDataSets`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/get-exported-data-sets`
- **Request:** [`GetExportedDataSetsRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/GetExportedDataSets/index.md#request)
- **Response:** [`GetExportedDataSetsResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/GetExportedDataSets/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

- Requires a vault session; no special vault rights.
- Returns an empty list when the license does not include the Reporting module.
- `database_connection_string` is empty unless the user has the vault right `see_all_objects`
  ([VaultAccess](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.VaultAccess/index.md)).

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

## Request: GetExportedDataSetsRequest

No fields.

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

## Response: GetExportedDataSetsResponse

> 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 |
|---|---|---|
| `results[]` | repeated [`ExportedDataSet`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ExportedDataSet/index.md) | The exported data sets. See [ExportedDataSet](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ExportedDataSet/index.md). |
| `results[].id` | `int32` | Exported data set ID. |
| `results[].name` | `string` | The name of the data set. |
| `results[].object_types[]` | repeated [`ExportedDataObjectType`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ExportedDataObjectType/index.md) | Root nodes representing an object type. |
| `results[].object_types[].object_type` | `int32` | Object type or value list ID. |
| `results[].object_types[].property_defs[]` | repeated [`ExportedDataPropertyDef`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ExportedDataPropertyDef/index.md) | Child property definition nodes. |
| `results[].object_types[].object_filter` | [`SearchConditionArray`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.SearchConditionArray/index.md) | The filtering conditions that limit the object set of this node. |
| `results[].options` | [`EXPORTEDDATASETFLAGS`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.EXPORTEDDATASETFLAGS/index.md) | Data set flags. |
| `results[].options.all` | `bool` | Specifies all flags set; Including any future flags. |
| `results[].options.disabled` | `bool` | Present if the data set is disabled. If not present, the data set is enabled. |
| `results[].options.scheduled` | `bool` | Present if the data set execution is scheduled. |
| `results[].options.incremental` | `bool` | Exported data set flags. |
| `results[].schedule` | `bytes` | The schedule of this data set extraction (a serialized Task object of Task Scheduler). |
| `results[].database_connection_string` | `string` | The database connection string. |
| `results[].run_as_user_id` | `int32` | "Run as" user id for the exported data set. |
| `results[].database_schema` | [`ExportedDataSetDBSchema`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.ExportedDataSetDBSchema/index.md) | The database schema. Values: `EXPORTED_DATA_SET_DBSCHEMA_GENERIC` (0). |
