> For the complete documentation index, see [llms.txt](https://docs.platform.softwareone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.platform.softwareone.com/modules-and-features/chat/search-for-chat-messages.md).

# 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. Open the **Chat** page.
2. In the left sidebar, type a keyword in the **Search** box. You can find a chat by chat ID, name, or specific message. All chats that meet your search criteria are displayed.
3. Select the chat to open it.

### 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.
5. Select **Close** to close the search bar.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.platform.softwareone.com/modules-and-features/chat/search-for-chat-messages.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
