# Search, filter, and sort chats & tickets

## Search and filter live chats

Supervisors can:

* Search for a customer.
* Filter by channel.&#x20;
* Filter by chat sentiment.&#x20;
* Filter by flagged chats.
* Filter by pending chats.

Using the search and filter functions in the panel on the left, you can also search for a specific agent or filter by department.

![](/files/hQlxdlbfXfYBKdbw5fxc)

## Search, filter, and sort closed chats

In the *Closed* tab, select whether you want to search/filter all closed chats, or only that of a specific agent.

You can:

* Search chats
* Filter on date range
* Filter on channel and sentiment
* Sort on customer satisfaction ratings and chat end dates

Using the search and filter functions in the panel on the left, you can also search for a specific agent or filter by department.

![](/files/PjsKBkLUiNEbBynUjKBO)

## Search, filter, and sort tickets

In the *Tickets* tab, select whether you want to search/filter your Unassigned, Assigned, or Closed tickets. You can:

* Search tickets.
* Filter on date range.
* Filter on channel and sentiment.
* Sort on the date when the ticket was opened, assigned, or closed.
* For Closed tickets, you can select to view only those closed by yourself.
* Select Unassigned tickets and assign them to agents or close them.

Using the filter function in the panel on the left, you can also filter by department.

<figure><img src="/files/ibINjyyrTCgR3TImFMc0" 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://help.clickatell.com/chat-desk/supervisor-desk/search-and-filter.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.
