# IRPCSearch.CreateSummarization

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) > [Search](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSearch/index.md)

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

Badges: `Vault API / core` `write` `session or assertion` `idempotent` `returns metadata structure version`

Creates an Aino summary for the M-Files clients.

- **Service:** [Search](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSearch/index.md) `MFiles.IRPCSearch`
- **gRPC method:** `/MFiles.IRPCSearch/CreateSummarization`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/create-summarization`
- **Request:** [`CreateSummarizationRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSearch/CreateSummarization/index.md#request)
- **Response:** [`CreateSummarizationResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSearch/CreateSummarization/index.md#response)
- **Book and level:** Vault API, core
- **Kind:** write
- **Session:** Required: a session (mfiles-session-id-bin metadata) or a session assertion (x-mf-session-assertion metadata).
- **Idempotent:** yes
- **Returns metadata structure version:** yes (in the mfiles-metadata-version-bin trailer)
- **Streaming:** none (unary)

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

## Remarks

The request and response are text documents in a format internal to the M-Files clients. The call
fails with "Your current subscription does not include the specified feature." when Aino
summarization is not available for the vault.

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

## Request: CreateSummarizationRequest

CreateSummarizationRequest method structure.

> 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 |
|---|---|---|
| `data` | `string` | The request in JSON. |

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

## Response: CreateSummarizationResponse

CreateSummarizationResponse method structure.

> 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 |
|---|---|---|
| `data` | `string` | The response in JSON. |
