Used to upload the search query
| Name | Type | Description | Notes |
|---|---|---|---|
| query | str | Search query to run. | |
| workflow | str | Type of results to return. | [optional] [default to 'search'] |
| format | str | (EXPERIMENTAL) Format to serialize the API response as. The exact contents and structure of markdown output is still being worked on - please send your feedback! | [optional] [default to 'json'] |
| lens_id | str | Lens to apply to the search. Can be a built-in lens's identifier or a lens ID as shown on https://kagi.com/settings/lenses when a lens is set to be shareable. Can be just the ID portion of the URL (`https://kagi.com/lenses/ID`) or the full URL. | [optional] |
| lens | SearchRequestLens | [optional] | |
| timeout | float | Number of seconds to allow for collecting search results. Lower values will return results more quickly, but may be lower quality or inconsistent between calls. If omitted, will use the latest recommended value by Kagi. | [optional] |
| page | int | Page number for paginated results. Must be between 1 and 10. | [optional] |
| limit | int | Maximum number of results to return. Must be between 1 and 1024. | [optional] |
| filters | SearchRequestFilters | [optional] | |
| extract | SearchRequestExtract | [optional] | |
| safe_search | bool | Whether safe search is enabled, omitting potentially NSFW content. | [optional] [default to True] |
| personalizations | SearchRequestPersonalizations | [optional] |
from openapi_client.models.search_request import SearchRequest
# TODO update the JSON string below
json = "{}"
# create an instance of SearchRequest from a JSON string
search_request_instance = SearchRequest.from_json(json)
# print the JSON string representation of the object
print(SearchRequest.to_json())
# convert the object into a dict
search_request_dict = search_request_instance.to_dict()
# create an instance of SearchRequest from a dict
search_request_from_dict = SearchRequest.from_dict(search_request_dict)