The SavedQuery datatype includes settings various settings.

Table: SavedQuery

templateYamlstringyes datatype savedquery A YAML formatted string that describes the saved query.
idstringyes The unique identifier for the saved query.
namestringyes The name of the saved query.
displayNamestringyes The display name of the saved query.
queryHumioQueryyes The saved query itself.
isStarredbooleanyes Whether the saved query has been marked with a star.
visualizationstringyes Deprecated since April 23, 2021 for naming consistency. Use instead widgetType.
widgetTypestringyes The type of widget used with the saved query.
optionsJSONyes Options related to the saved query, in JSON form.
packagePackageInstallation  The package, if there is one, in which the saved query is included. See PackageInstallation Table.
descriptionstring  A description of the saved query.
assetTypeAssetTypeyes A list of related asset types: ScheduledSearch, Action, File, Alert, Parser, SavedQuery, Dashboard.

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