<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [SearchActions](./x-components.searchactions.md) &gt; [fetchAndSaveSearchResponse](./x-components.searchactions.fetchandsavesearchresponse.md)

## SearchActions.fetchAndSaveSearchResponse() method

Fetches a new search response and stores them in the module state.

**Signature:**

```typescript
fetchAndSaveSearchResponse(request: InternalSearchRequest | null): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  request | [InternalSearchRequest](./x-components.internalsearchrequest.md) \| null |  |

**Returns:**

void

