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

# clusters

> Lists the tenant's clusters, one per region.



**query** `clusters(after: String, before: String, first: Int, last: Int, order: [ClusterSortInput!], where: ClusterFilterInput): ClustersConnection`

## Arguments

**`after`**: `String`

Returns the elements in the list that come after the specified cursor.

---

**`before`**: `String`

Returns the elements in the list that come before the specified cursor.

---

**`first`**: `Int`

Returns the first _n_ elements from the list.

---

**`last`**: `Int`

Returns the last _n_ elements from the list.

---

**`order`**: `[ClusterSortInput!]`

---

**`where`**: `ClusterFilterInput`

## Returns

`ClustersConnection`

**`edges`**: `[ClustersEdge!]`

A list of edges.

---

**`nodes`**: `[Cluster!]`

A flattened list of the nodes.

---

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

Information to aid in pagination.

## Examples

```graphql Query
query Clusters {
  clusters {
    edges {
      cursor
      node {
        createdBy
        customerDisplayName
        customerSafeName
        etag
        id
        indexClusterUrl
      }
    }
    nodes {
      createdBy
      customerDisplayName
      customerSafeName
      etag
      id
      indexClusterUrl
    }
    pageInfo {
      endCursor
      hasNextPage
      hasPreviousPage
      startCursor
    }
  }
}
```

```json Response
{
  "data": {
    "clusters": {
      "edges": [
        {
          "cursor": "string",
          "node": {
            "createdBy": "value",
            "customerDisplayName": "string",
            "customerSafeName": "string",
            "etag": "value",
            "id": "id",
            "indexClusterUrl": "string"
          }
        }
      ],
      "nodes": [
        {
          "createdBy": "value",
          "customerDisplayName": "string",
          "customerSafeName": "string",
          "etag": "value",
          "id": "id",
          "indexClusterUrl": "string"
        }
      ],
      "pageInfo": {
        "endCursor": "string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "string"
      }
    }
  }
}
```


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