# Basics

{% hint style="info" %}
The `filter` block allows you to filter a query directly on the front end using different parameters.
{% endhint %}

{% hint style="danger" %}
The `filter` block will only work with a `query`block that has the front end rendering property toggled on.
{% endhint %}

The `filter` block is able to filter anything inside a `query` block.

The `filter` block is usually inserted into a parent block.

{% embed url="<https://www.youtube.com/watch?t=9s&v=SFQF7CdTH_Q>" %}

## Add

* Select a block.
* In the Quick Inserter, search for the Filter icon.
* Click to insert a Filter block into your parent block.

<figure><img src="/files/mEeNyHHJzfPDGRr6YEoG" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cwicly.com/blocks/filter/basics.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
