List dashboards
Retrieve dashboards using GraphQL. Each dashboard groups a set of widget placements and is visible to users assigned to one of its associated roles.
Query Structure
Filter Argument
All filters are passed inside thefilter argument. Each filter field accepts an input object with operators:
Available Filters
| Filter | Input Type | Operators | Description |
|---|---|---|---|
code | StringInputType | eq, ilike, like, in, between | Dashboard code |
name | StringInputType | eq, ilike, like, in, between | Dashboard name |
is_active | BooleanInputType | eq | Active flag |
is_default | BooleanInputType | eq | Default-dashboard flag |
role_id | IdInputType | eq, gt, gteq, lt, lteq, in, filled | Filter by an associated role ID |
Filter Operators
| Input Type | Operators |
|---|---|
| StringInputType | eq (exact), ilike (case-insensitive partial), like (case-sensitive partial), in (array match), between (range) |
| IntegerInputType | eq, gt, gteq, lt, lteq, between |
| DatetimeInputType | eq, from, to, between |
| BooleanInputType | eq (required) |
| IdInputType | eq, gt, gteq, lt, lteq, in, filled |
Authorizations
OAuth 2.0 authentication. Use the client credentials or authorization code flow to obtain an access token.
The subdomain/tenant name identifying which tenant's data to access. Required for all API requests.
Body
GraphQL query string
"query($filter: DashboardFilterType) { dashboards { all(filter: $filter) { edges { node { id code name description is_active is_default roles { id name } dashboard_widget_placements { id position dashboard_widget { id code name widget_type } } } } } } }"
Query variables including the filter object
{ "filter": { "is_active": { "eq": true } } }
