# elasticsearchDataManagement.searchWithQuery

## Description
Execute a search query on the specified index
Executes a search operation in the specified Elasticsearch index using a search query.
This endpoint allows for complex, JSON-based search queries to be submitted in the request body.
<br>For details on building queries, refer to the <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/search-your-data.html">Elasticsearch Query Documentation.</a>

## When to use
<!-- Describe user intent that should trigger this tool -->

## What this returns
<!-- Describe the shape / purpose of the response -->

## Notes
<!-- Constraints, ordering, related tools, etc. -->
