# IRPCExportedDataSetsAdmin.GetExportedDataSetsAdmin

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

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

Gets all exported data sets of the vault.

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

- Requires only a vault session: any user can call it. The
  `database_connection_string` of each data set is empty unless the caller has the vault right
  `see_all_objects`.
- Returns an empty list when the server license does not include the reporting module.

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

## Request: GetExportedDataSetsAdminRequest

No fields.

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

## Response: GetExportedDataSetsAdminResponse

> 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 [`ExportedDataSetAdmin`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ExportedDataSetAdmin/index.md) | The exported data sets. |
| `results[].dataset` | [`ExportedDataSet`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ExportedDataSet/index.md) | The non-admin version of the struct. |
| `results[].dataset.id` | `int32` | Exported data set ID. |
| `results[].dataset.name` | `string` | The name of the data set. |
| `results[].dataset.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[].dataset.options` | [`EXPORTEDDATASETFLAGS`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.EXPORTEDDATASETFLAGS/index.md) | Data set flags. |
| `results[].dataset.schedule` | `bytes` | The schedule of this data set extraction (a serialized Task object of Task Scheduler). |
| `results[].dataset.database_connection_string` | `string` | The database connection string. |
| `results[].dataset.run_as_user_id` | `int32` | "Run as" user id for the exported data set. |
| `results[].dataset.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). |
| `results[].aliases` | `string` | Semicolon-separated list of semantic aliases. |
