Actions2
Web Search
AI-generatedSummary
Perform a web search using the Yandex Cloud Search API, returning search results based on the provided query and various optional parameters.
Inputs
- Folder ID — Folder ID to use for the search. Defaults to the folder ID from credentials if left empty. Required if not set in credentials.
- Query (required) — The text string to search for.
- Search Type — Search regional type option to influence search results, e.g., Belarusian (BY), International (COM), Russian (RU), etc. Defaults to Russian (RU).
- Additional Options — Optional parameters to customize search behavior, including number of documents per group, content filtering mode (family mode), typo fixing mode, result grouping method, page number (0-based), number of groups per page, interface localization, maximum passages in snippet, search region ID, response format (XML or HTML), sort order (by relevance or time), and sort direction (ascending or descending). Also includes a boolean option on whether to parse XML response into JSON (default true).
Output shape
a list of items where each item corresponds to an input item and contains the search results in JSON format or raw XML/HTML data.
If the response format is XML and 'Parse XML to JSON' is enabled (default), the node attempts to convert XML to JSON and includes it in 'parsedData'; on parse failure, it provides raw data with a parse error message. For HTML response format, raw data is returned as 'data'. Errors during execution per item are handled according to the node's error handling settings, with error details in the output JSON if 'Continue on Fail' is enabled.