<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [UrlMutations](./x-components.urlmutations.md) &gt; [setFilters](./x-components.urlmutations.setfilters.md)

## UrlMutations.setFilters() method

Sets the new filter ids.

**Signature:**

```typescript
setFilters(filters: Filter[]): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  filters | Filter\[\] | The new filter ids of the url. |

**Returns:**

void

