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

# dashboards

> Every dashboard in the workspace. Requires `dashboard:read`.



**query** `dashboards(first: Int, after: String, last: Int, before: String): DashboardConnection!`

## Arguments

**`first`**: `Int`

---

**`after`**: `String`

---

**`last`**: `Int`

---

**`before`**: `String`

## Returns

`DashboardConnection!`

**`pageInfo`**: `PageInfo!`

---

**`edges`**: `[DashboardEdge!]!`

## Examples

```graphql Query
query Dashboards {
  dashboards {
    pageInfo {
      hasPreviousPage
      hasNextPage
      startCursor
      endCursor
    }
    edges {
      cursor
      node {
        id
        name
        globalRange {
          __typename
          ... on DashboardPresetRange {
            __typename
          }
        }
        globalFilters
        widgets {
          __typename
        }
        createdAt {
          __typename
        }
      }
    }
  }
}
```

```json Response
{
  "data": {
    "dashboards": {
      "pageInfo": {
        "hasPreviousPage": true,
        "hasNextPage": true,
        "startCursor": "string",
        "endCursor": "string"
      },
      "edges": [
        {
          "cursor": "string",
          "node": {
            "id": "id",
            "name": "string",
            "globalRange": {
              "__typename": "DashboardPresetRange"
            },
            "globalFilters": "string",
            "widgets": [
              {
                "__typename": "DashboardWidget"
              }
            ],
            "createdAt": {
              "__typename": "DateTime"
            }
          }
        }
      ]
    }
  }
}
```


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