# Querying Assets

This documentation is based on the *FoodCrunch* use case. Please open the link below alongside this page to understand the examples.

{% content-ref url="/pages/-MSTfiNBwo8C1m-UB3WL" %}
[Introduction and Use Case](/id-02-documentation/introduction-and-use-case.md)
{% endcontent-ref %}

Squidex provides the capability of querying your uploaded assets. You can query (search) by **tags**, or **name**, or use a combination of both.

The following tag types are supported as of this writing:

* `image`
* `image/small`
* `image/large`
* `type/png`
* `type/jpg`

The following example shows how to search based on a tag `type/png`.

<div align="left"><figure><img src="/files/XJPrpJ64LE4DXvcMFbH0" alt=""><figcaption><p>Selecting a search tag</p></figcaption></figure></div>

<div align="left"><figure><img src="/files/QlBJ6OPUzPSHEQDnc8z6" alt=""><figcaption><p>Tag selection screenshot</p></figcaption></figure></div>

Additionally, you can also save the query and decide whether or not to share it with others. To save the query, simply click on the star button next to the search fields.

<div align="left"><figure><img src="/files/bqpxCe11TIRsDwj3V8JC" alt=""><figcaption><p>Saving the query - I</p></figcaption></figure></div>

On the pop-up window, enter a name under **Name your query** (1) and click **Create** (2).

<div align="left"><figure><img src="/files/vTWRGRoCHJIt8DHQF9y4" alt=""><figcaption><p>Saving the query - II</p></figcaption></figure></div>


---

# 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.squidex.io/id-02-documentation/concepts/assets/querying-assets.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.
