Query testing
In the management console
To interactively explore the principle of formation of Search API search queries via API v1, use the special query testing form:
-
In the management console
, select the folder you are going to use to work with Search API. -
In the list of services, select Search API.
-
In the left-hand panel, select
Test queries. -
Select a Request method (GET and POST methods are supported) and fill in the form fields.
Note
You cannot edit the Search query text in a test query. Queries are submitted from a Yandex IP address on behalf of the service.
As the values in the form fields change, the search query URL for the specified values will be formed in the Search query field. If you select the
POST
method, a relevant query body will be formed in the Request body field. -
Click Run test. The query execution result will be displayed below.
-
If necessary, change the parameters to adjust the search results and resubmit your query.