# Search for chat messages

There are two ways to use the search feature in Chat:&#x20;

* You can use the **Search** option in the left sidebar to locate a specific chat or group.
* Additionally, you can use the magnifying glass icon <img src="/files/sYJ33QqjPKMkWl2xryak" alt="<svg xmlns=&#x22;http://www.w3.org/2000/svg&#x22; height=&#x22;24px&#x22; viewBox=&#x22;0 -960 960 960&#x22; width=&#x22;24px&#x22; fill=&#x22;#666666&#x22;><path d=&#x22;M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z&#x22;/></svg>" data-size="line"> within a specific chat to find what you are looking for.&#x20;

### Find a chat from the chat list

To find a chat in your list of chats:

1. On the **Chats** page, open the desired chat conversation.&#x20;
2. In the left sidebar, type the keyword in the **Search** box. You can search using the chat ID or name. All chats that meet your search criteria are displayed immediately.

### Search for a message inside a specific chat

To search for a specific message within a chat:

1. On the **Chats** page, open the desired chat conversation.&#x20;
2. Select the magnifying glass icon <img src="/files/sYJ33QqjPKMkWl2xryak" alt="<svg xmlns=&#x22;http://www.w3.org/2000/svg&#x22; height=&#x22;24px&#x22; viewBox=&#x22;0 -960 960 960&#x22; width=&#x22;24px&#x22; fill=&#x22;#666666&#x22;><path d=&#x22;M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z&#x22;/></svg>" data-size="line">.
3. Enter the keyword you want to find (for example, invoice).
4. Browse through the highlighted matching messages.


---

# 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.platform.softwareone.com/modules-and-features/chat/search-for-chat-messages.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.
