# IRPCIndexingDataSource.GetEnabledIndexes

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Server integration API](https://developer.m-files.com/APIs/gRPC-API/integration/index.md) > [Indexing data source](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/index.md)

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

Badges: `Server integration API / specialized` `internal: not for applications` `write` `session`

Gets the names of the enabled indexes.

- **Service:** [Indexing data source](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/index.md) `MFiles.IRPCIndexingDataSource`
- **gRPC method:** `/MFiles.IRPCIndexingDataSource/GetEnabledIndexes`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/get-enabled-indexes`
- **Request:** [`GetEnabledIndexesRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/GetEnabledIndexes/index.md#request)
- **Response:** [`GetEnabledIndexesResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/GetEnabledIndexes/index.md#response)
- **Book and level:** Server integration API, specialized
- **Kind:** write
- **Session:** Required: the session ID from LogIn in the mfiles-session-id-bin metadata.
- **Idempotent:** no
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

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

## Remarks

**For M-Files components only.** Search indexers call it to learn which indexes of the vault are
enabled. Applications should not call it.
- Requires the system administrator server role (server right `log_in_to_any_vault`); a vault
  administrator is denied.

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

## Request: GetEnabledIndexesRequest

No fields.

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

## Response: GetEnabledIndexesResponse

> 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 |
|---|---|---|
| `index_names[]` | repeated [`IndexName`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.IndexName/index.md) | Index names. |
| `index_names[].configuration_name` | `string` | The name of the index configuration. |
| `index_names[].repository_connection` | `string` | Identifies the external repository connection. |
| `index_names[].configuration_type` | [`IndexConfigurationType`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.IndexConfigurationType/index.md) | The index configuration type (e.g., Shared versus Legacy). Values: `INDEX_CONFIGURATION_TYPE_UNKNOWN` (0), `INDEX_CONFIGURATION_TYPE_LEGACY` (1), `INDEX_CONFIGURATION_TYPE_SHARED` (2), `INDEX_CONFIGURATION_TYPE_ANY` (3). |
