> For the complete documentation index, see [llms.txt](https://docs.verifone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verifone.com/support-us/verifone-hq/vhq-device-search/search-by-hierarchy-group-or-additional-attributes/search-by-group.md).

# Search by group

This section discusses the group search attribute available in the Device Search feature.

{% hint style="info" %}
**Use this when** you want to narrow Device Search results to one or more device groups.
{% endhint %}

You can perform a more specific search according to the group.

## Search by group

{% stepper %}
{% step %}

### Open Group search

From the *Device Search* screen, in the *Search* window, select **Group**.
{% endstep %}

{% step %}

### Select the group(s)

Select a single group, multiple groups, or all groups. On selecting the groups, the *Search Criteria* box is displayed with the added details.
{% endstep %}
{% endstepper %}

<figure><img src="https://600591075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHUGEtJbVPg5OkUtYCm8j%2Fuploads%2Fs9Vzet6t9iQqFGwZNQOH%2Fimage.png?alt=media&#x26;token=7760e900-fcb2-46f4-9e10-fb6465ad8c67" alt="Search Criteria box with group added"><figcaption></figcaption></figure>

## Guidelines

* The search can be invoked from any screen where device-related information is displayed.

<figure><img src="https://600591075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHUGEtJbVPg5OkUtYCm8j%2Fuploads%2FQet85M3qNPTyBy6LJTJT%2Fimage.png?alt=media&#x26;token=72447b43-77a2-41c6-84b7-9b5e31722a62" alt="Screens where the search button is displayed"><figcaption></figcaption></figure>

<details>

<summary>Keywords</summary>

Also called: group search. Search terms: search criteria, select group.

</details>


---

# 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.verifone.com/support-us/verifone-hq/vhq-device-search/search-by-hierarchy-group-or-additional-attributes/search-by-group.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.
