API Stability Long-Term

The sharedDashboards() GraphQL query gets a shared dashboard by it's shared link token.

For more information on dashboards, see the Dashboards & Widgets documentation page. You may also want to look at the Dashboards page in the Training section.

Syntax

Below is the syntax for the sharedDashboards() query field:

graphql
sharedDashboards(
     token: string!
   ): SharedDashboard!

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

Show:
graphql
query {
  sharedDashboards(token:"Pbxu4Pyz0O7GGfvsNPrMEQYLoUzxLjUocN7")
     { id, name, 
       widgets{id, title}
     }
}

Returned Datatypes

The returned datatype SharedDashboard has its own parameters. Below is a list of them along with their datatypes and a description of each:

Table: SharedDashboard

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: Mar 27, 2025
displayNamestringyes Long-TermThe display name of the shared dashboard.
idstringyes Long-TermThe unique identifier of the shared dashboard.
ipFilterIPFilter  Long-TermThe shared dashboard's IP filter. See IPFilter.
namestringyes Long-TermThe name of the shared dashboard.
repoOrViewNameRepoOrViewNameyes Long-TermThe name of the repository or view on which queries are executed. RepoOrViewName is a scalar.
resourcestringyes Short-TermThe resource identifier for the dashboard.
sections[Section]  Long-TermThe related sections. See Section.
sharedTimeIntervalSharedDashboardTimeInterval  Long-TermThe time interval of the shared dashboard. See SharedDashboardTimeInterval.
widgets[Widget]yes Long-TermThe widgets used in the shared dashboard. See Widget.