The AddRecentQueryInput input includes various settings.

Table: AddRecentQueryInput

ParameterTypeRequired[a]DefaultDescription
viewNamestringyes The name of the view.
queryArguments[InputDictionaryEntry]yes Arguments related to the recent query, given with key: and value: — with strings for each.
queryStringstringyes The query string.
startstringyes The start of the relative time interval for the query.
endstringyes The end of the relative time interval for the query.
isLivebooleanyes Whether the query is live.
widgetTypestring  The type of widget used, if one.
optionsJSON  Any options related to the query.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.