Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 2.03 KB

File metadata and controls

39 lines (30 loc) · 2.03 KB

SearchRequest

Used to upload the search query

Properties

Name Type Description Notes
query str The search query to perform.
workflow str Can be used to filter result output to a single category. [optional] [default to 'search']
lens_id str 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]
personalizations SearchRequestPersonalizations [optional]

Example

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)

[Back to Model list] [Back to API list] [Back to README]