SearchDomain is an interface datatype for repositories and views.

This datatype is several mutation fields: addStarToSearchDomain(); deleteDashboardV2(); redirectQueryAssetLookupTo(); removeStarFromSearchDomain(); renameSearchDomain(); renameSearchDomainById(); and restoreDeletedSearchDomain(). mutation field. It's also used by two query fields: searchDomain(); and searchDomains().

This SearchDomain interface datatype is used by a few other datatypes (e.g., Dashboard and FileEntry), where are in turn used by a few query and mutation fields.

SearchDomain is implemented by two datatypes: Repository; and View.

Table: SearchDomain

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
actionViewAction):Booleanyes Long-Term The action to check if a user is allowed to perform on a view.
actionIdsString]):[Actionyes Long-Term The result will only include actions with the specified ids. Omit to find all actions.
aggregateAlertsAggregateAlertyes Long-Term Saved aggregate alerts.
alert(id: String!)Alertyes Long-Term A saved alert
alertsAlertyes Long-Term Saved alerts.
allowedViewActionsViewActionyes Long-Term Returns the all actions the user is allowed to perform on the view.
automaticSearchBooleanyes Long-Term  
awsExternalIdStringyes Long-Term The AWS External ID used when assuming roles in AWS on behalf of this repository.
categoriesString]):[PackageRegistrySearchResultItemyes Long-Term Packages with any of these categories will be included.
dashboard(id: String!)Dashboardyes Long-Term A saved dashboard.
dashboardsDashboardyes Long-Term All dashboards available on the view.
defaultQuerySavedQuery  Long-Term  
deletedDateLong  Long-Term The point in time the search domain was marked for deletion.
descriptionString  Long-Term  
fieldNameString,yes   Name of the field in the file to return entries from.
fieldsToIncludeString],yes   Names of the fields to include in the result.
fileNameString,yes   Name of the csv or json file to retrieve the field entries from.
filesFileyes Long-Term  
filterString,    Filter input to limit the returned packages
filterAlertsFilterAlertyes Long-Term Saved filter alerts.
gcpExternalIdString  Long-Termadded in 1.259The value to set as the 'logscale-external-id' label on the GCS bucket.
gcsActionServiceAccountEmailString  Long-Termadded in 1.259The email of the GCP service account that LogScale uses to impersonate target service accounts for GCS actions.
groupsGroupyes Long-Term Groups with assigned roles.
hasPackageInstalled(packageId: VersionedPackageSpecifier!)Booleanyes Long-Term  
idString):ScheduledReportyes Long-Term The id of the scheduled report to get.
installedPackagesPackageInstallationyes Long-Term List packages installed on a specific view or repo.
interactionsViewInteractionyes Long-Term All interactions defined on the view.
isStarredBooleanyes Long-Term  
limitInt):PersistedAggregationResultSetyes Preview The amount of results to return.
maxEntriesInt):[[DictionaryEntryType]yes Long-Term Maximum number of values to retrieve from the file.
nameString):ScheduledSearchyes Long-Term Name of the scheduled search. Scheduled searches in packages can be referred to as \"packagescope/packagename:scheduledsearchname\". Supply either 'id' or 'name'.
orderByOrderBy,    Choose the order in which the results are returned.
packageIdVersionedPackageSpecifier):Package2yes Long-Term The package id of the package to get.
packageVersions(packageId: UnversionedPackageSpecifier!)RegistryPackageVersionInfoyes Long-Term The available versions of a package.
permanentlyDeletedAtLong  Long-Term The point in time the search domain will not be restorable anymore.
permissionFilterPermission,    Permission that the users must have on the search domain. Leave out to get users with any permission on the view
prefixFilterString,    Text to filter values by prefix on.
recentQueriesV2RecentQueryyes Long-Term  
redirectQueryAssetLookupToSearchDomain  Preview The redirected query asset lookup view used for asset resolution when set. Assets like saved queries and lookup files will be resolved from this view instead of the current view.
reposExcludedInSearchLimitStringyes Long-Term Repositories not part of the search limitation.
resourceStringyes Short-Term The resource identifier for this search domain.
s3ActionArnString  Long-Term The ARN of the AWS IAM identity that will write to S3 for S3 actions.
savedQueriesSavedQueryyes Long-Term Saved queries.
savedQuery(id: String!)SavedQueryyes Long-Term A saved query.
scheduledReportsScheduledReportyes Long-Term Saved scheduled reports.
scheduledSearchesScheduledSearchyes Long-Term Saved scheduled searches.
searchLimitedMsLong  Long-Term Search limit in milliseconds, which searches should are limited to.
skipInt,    The number of results to skip or the offset to use. For instance if implementing pagination, set skip = limit * (page - 1)
sortByPersistedAggregationSortBy,    The field by which to sort persisted aggregations. Defaults to Name.
starredFieldsStringyes Long-Term  
tagsStringyes Long-Term All tags from all datasources.
usersUseryes Long-Term Users who have access.
valueFiltersFileFieldFilterType],yes   The exact values that given fields should have for an entry to be part of the result.
viewerQueryPrefixStringyes Long-Term The query prefix prepended to each search in this domain.