The SavedQuery datatype includes various settings.

Table: SavedQuery

ParameterTypeRequired[a]DefaultDescription
templateYamlstringyes 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 (see HumioQuery Table).
isStarredbooleanyes Whether the saved query has been marked with a star.
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 (see AssetType Table). This enumerated datatype has been deprecated and will be removed in version 1.136 of LogScale.

[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.