> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wisdom.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Dashboard

The `dashboard` query retrieves detailed information about a specific dashboard by its unique identifier.

## Signature

```graphql theme={null}
dashboard(id: String!, scope: DashboardScope!, version: String): Dashboard!
```

## Arguments

**id** `String!` *required*

The unique identifier of the dashboard to retrieve.

**scope** `DashboardScope!` *required*

The access level required for the dashboard. See [DashboardScope](https://docs.wisdom.ai/integrations/graphql-api/objects/dashboard-scope.md).

**version** `String`

Optional version identifier for retrieving a specific historical snapshot of the dashboard.

## Response

Returns a `Dashboard` object containing the complete dashboard configuration and metadata. See [Dashboard](https://docs.wisdom.ai/integrations/graphql-api/objects/dashboard.md) for the schema.

## Usage example

This example shows how to retrieve a dashboard with editor access:

```graphql theme={null}
query GetDashboard($id: String!, $scope: DashboardScope!) {
  dashboard(id: $id, scope: $scope) {
    id
    name
    description
    widgets {
      id
      title
      nlQuery
      widgetType
      layout {
        top
        left
        width
        height
      }
      visualization {
        id
        title
        type
      }
      summaryWidgetConfig{
        customInstructions
      }
    }
    filters {
      id
      parsedFilter {
        filterId
        operator
        lhs {
          displayName
        }
        rhs {
          literal {
            flattened {
              literal {
                value
              }
            }
          
          }
        }
      }
    }
    accessLevel
  }
}
```

```bash Request theme={null}
curl -X POST \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <jwt_token>" \
  -d '{
    "query": "query GetDashboard($id: String!, $scope: DashboardScope!) { dashboard(id: $id, scope: $scope) { id name description widgets { id title layout { top left width height } } accessLevel } }",
    "variables": {
      "id": "dashboard_123456789",
      "scope": "EDITOR"
    }
  }' \
  https://{ACCOUNT}.askwisdom.ai/graphql
```

```json Response theme={null}
{
  "data": {
    "dashboard": {
      "id": "dashboard_123456789",
      "name": "Sales Performance Dashboard",
      "description": "Monthly sales metrics and KPIs",
      "widgets": [
        {
          "id": "widget_987654321",
          "title": "Total Sales",
          "layout": {
            "top": 0,
            "left": 0,
            "width": 6,
            "height": 4
          }
        },
        {
          "id": "widget_96f27a852f55",
          "title": " ",
          "nlQuery": "",
          "widgetType": "WIDGET_TYPE_SUMMARY",
          "layout": {
            "top": 1,
            "left": 0,
            "width": 12,
            "height": 3,
          },
          "visualization": null,
          "summaryWidgetConfig": {
            "customInstructions": "User guidelines:Generate Short Summary",
          },
        },
      ],
      "filters": [
        {
          "id": "dashboard_123456789-filter_1234",
          "parsedFilter": {
            "filterId": "filter_1234",
            "operator": "FUNC_ILIKE",
            "lhs": {
              "displayName": "acc.ACCOUNT_NAME",
              "__typename": "LHS"
            },
            "rhs": {
              "literal": {
                "flattened": [
                  {
                    "literal": {
                      "value": "\"%Account%\"",
                    },
                  }
                ],
              },
            },
          },
        }
      ],
      "accessLevel": "EDITOR"
    }
  }
}
```

## Next steps

> [card] [Dashboards Query](https://docs.wisdom.ai/integrations/graphql-api/queries/dashboard/dashboards.md)
>
> Retrieve multiple dashboards

> [card] [Update Dashboard](https://docs.wisdom.ai/integrations/graphql-api/mutations/dashboard/update-dashboard.md)
>
> Modify dashboard properties

> [card] [Dashboard Object](https://docs.wisdom.ai/integrations/graphql-api/objects/dashboard.md)
>
> Complete dashboard schema


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.