API Stability Long-Term

The updatedashboardtoken GraphQL mutation field may be used to update a dashboard token to run with a different ownership. It requires the OrganizationOwnedQueries permission to change the dashboard to run as an organization or to change a dashboard that already runs as an organization.

It's not possible to run the dashboard as another user than yourself.

For more information on access tokens of various types, see the Ingest Tokens documentation page. For information on dashboards, see the Dashboards & Widgets documentation page.

Syntax

Below is the syntax for the updateDashboardToken() mutation field:

graphql
updateDashboardToken(
     viewId: string!
     userId: string
     queryOwnershipType: string
     dashboardToken: string!
   ): View!

Below is an example of how this mutation field might be used:

Show:
graphql
mutation {
  updateDashboardToken(
      viewId: "X4aZ7KP4AeTvKkigOV3G1ZWy",
      userId: "Nvu1UOjRtlByBCeKY2K1kgP1",
      dashboardToken: "abc123"
  )
  { name }
}
Example Responses
Show:
json
{
  "data": {
    "updateDashboardToken": {
      "name": "humio"
    }
  }
}

Returned Datatypes

The returned datatype View has many parameters. Below is a list of them along with a description of each:

Table: View

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Apr 2, 2025
actionmultipleyes Long-TermA saved action. The multiple datatype consists of (id: string): Action. The id is the unique identifier of the action. See Action.
actionsmultipleyes Long-TermA list of saved actions. The multiple datatype consists of (actionIds: [string]): [Action]. See Action.
aggregateAlertmultipleyes Long-TermA saved aggregate alert. The multiple datatype consists of (id: string): AggregateAlert. See AggregateAlert.
aggregateAlerts[AggregateAlert]yes Long-TermSaved aggregate alerts. See AggregateAlert.
alertmultipleyes Long-TermA saved alert. The multiple datatype consists of (id: string): Alert. See Alert.
alerts[Alert]yes Long-TermSaved alerts. See Alert.
allowedViewActions[ViewAction]yes Long-TermReturns the all actions the user is allowed to perform on the view. See ViewAction.
automaticSearchbooleanyes Long-TermWhether the search is executed automatically.
availablePackagesmultiple  Long-TermReturns a list of available packages that can be installed. The multiple datatype consists of (filter: string, tags: [PackageTag!], categories: [string]): [PackageRegistrySearchResultItem]. PackageTag is a scalar. See PackageRegistrySearchResultItem.
checkClusterConnections[ClusterConnectionStatus]yes Short-TermCheck all of this search domain's cluster connections. This is a preview and subject to change. See ClusterConnectionStatus.
clusterConnectionmultipleyes Short-TermA specific cluster connection. The multiple datatype consists of (id: string): ClusterConnection. See ClusterConnection.
clusterConnections[ClusterConnection]yes Short-TermThe search domain's cluster connections. See ClusterConnection.
connections[ViewConnection]yes Long-TermThe connections for the view. This is a preview and subject to change. See ViewConnection.
crossOrgConnections[CrossOrgViewConnection]yes Short-TermThe connections for the cross organization connections (see CrossOrgViewConnection Table).
dashboardmultipleyes Long-TermA saved dashboard. The multiple datatype consists of (id: string): Dashboard. See Dashboard.
dashboards[Dashboard]yes Long-TermSaved dashboards. See Dashboard.
defaultQuerysavedQuery  Long-TermThe default saved query. See savedQuery.
deletedDatelong  Long-TermThe point in time the search domain was marked for deletion.
descriptionstring  Long-TermA description of the view.
fileFieldSearchmultipleyes Long-TermThe fields to search in a given file. The multiple datatype consists of (fileName: string, fieldName: string, prefixFilter: string, valueFilters: [FileFieldFilterType], fieldsToInclude: [string], maxEntries: integer): [DictionaryEntryType]. See FileFieldFilterType and DictionaryEntryType.
files[File]yes Long-TermA list of files used. See File.
filterAlertmultipleyes Long-TermA saved filter alert. The multiple datatype consists of (id: string): FilterAlert. See FilterAlert.
filterAlerts[FilterAlert]yes Long-TermSaved filter alerts. See FilterAlert.
groups[Group]yes Long-TermGroups with assigned roles. See Group.
hasPackageInstalledmultipleyes Long-TermDetermines whether package has been installed. The multiple datatype consists of (packageId: VersionedPackageSpecifier): boolean. VersionedPackageSpecifier is a scalar.
idstringyes Long-TermThe unique identifier of the view.
installedPackages[PackageInstallation]yes Long-TermList packages installed on a specific view or repository See PackageInstallation.
interactions[ViewInteraction]yes Long-TermAll interactions defined for the view. See ViewInteraction.
isActionAllowedmultipleyes Long-TermDetermines whether current user is allowed to perform the given action on the view. The multiple datatype consists of (action: ViewAction): boolean. See ViewAction.
isFederatedbooleanyes PreviewWhether the view is Federated. This is a preview and subject to change.
isStarredbooleanyes Long-TermWhether the view should be marked with a star.
nameRepoOrViewNameyes Long-TermThe name of the repository or view. RepoOrViewName is a scalar.
packageV2multipleyes Long-TermReturns a specific version of a package given a package version. The multiple datatype consists of (packageId: VersionedPackageSpecifier): Package2. VersionedPackageSpecifier is a scalar. See Package2.
packageVersionsmultipleyes Long-TermThe available versions of a package. This is a preview and may be moved to Package2. The multiple datatype consists of (packageId: UnversionedPackageSpecifier): [RegistryPackageVersionInfo]. UnversionedPackageSpecifier is a scalar. See RegistryPackageVersionInfo.
permanentlyDeletedAtlong  Long-TermThe point in time the search domain will not be restorable anymore.
recentQueriesV2[RecentQuery]yes Long-TermList of recent queries. See RecentQuery.
reposExcludedInSearchLimit[string]yes Long-TermRepositories not part of the search limitation.
resourcestringyes Short-TermThe resource identifier for the search domain.
savedQueries[savedQuery]yes Long-TermA list of saved queries. See savedQuery.
savedQuerymultipleyes Long-TermA saved query. The multiple datatype consists of (id: string): SavedQuery. See savedQuery.
scheduledReportmultipleyes Long-TermSaved scheduled report. The multiple datatype consists of (id: string): ScheduledReport. See scheduledReport.
scheduledReports[scheduledReport]yes Long-TermSaved scheduled reports See scheduledReport.
scheduledSearchmultipleyes Long-TermA saved scheduled search. The multiple datatype consists of (id: string): ScheduledSearch. See scheduledSearch.
scheduledSearches[scheduledSearch]yes Long-TermSaved scheduled searches. See scheduledSearch.
searchLimitedMslong  Long-TermSearch limit in milliseconds, by which searches are limited.
starredFields[string]yes Long-TermFields marked with a star.
tags[string]yes Long-TermAll tags from all datasources.
users[User]yes Long-TermUsers who have access. See User.
usersAndGroupsmultiple  Long-TermUsers or groups who have access. The multiple datatype consists of (search: string, skip: integer, limit: integer): UsersAndGroupsSearchResultSet. See UsersAndGroupsSearchResultSet.
usersV2multiple  PreviewSearch users with a given permission. The multiple datatype consists of (search: string, permissionFilter: Permission, skip: integer, limit: integer): Users!. See users.
viewerQueryPrefixstringyes Long-TermThe query prefix prepended to each search in the domain.