<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [AiMutations](./x-components.aimutations.md) &gt; [setSearchTotalResults](./x-components.aimutations.setsearchtotalresults.md)

## AiMutations.setSearchTotalResults property

Sets the total results of the search response.

**Signature:**

```typescript
setSearchTotalResults: (totalResults: number) => void;
```
