> For the complete documentation index, see [llms.txt](https://docs.kawaii.red/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kawaii.red/tutorials/filter.md).

# Filter

### What exactly does it filter?

If you don't like an response, for example a gif, you can exclude it with the filter. This gives you more control over what the api responds.

{% hint style="danger" %}
Filter works only for the main endpoints Image and GIF.
{% endhint %}

#### Usage:

```python
https://kawaii.red/api/gif/kiss?token=token&filter=[1,2]
```

{% hint style="warning" %}
The filter must be a array of integers.
{% endhint %}

### How do I know what number to filter?

If you look at the url of the output gif/image there is always a number you have to filter this number to not get the gif anymore.

```python
https://api.kawaii.red/gif/kiss/kiss1.gif
```
