---
title: "Clusters.List"
description: "Fetch all available clusters."
image: "https://tilebox.com/images/tilebox-docs-social-preview.png"
---

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

# Clusters.List

import { Fragment } from "astro/jsx-runtime";

import ApiReference from "@docs/components/ApiReference.astro";

```go
func (*ClusterClient) List(ctx context.Context) ([]*workflows.Cluster, error)
```

Fetch all available clusters.

## Returns

A list of all available clusters. Each cluster includes its slug, name, description, whether it can be deleted, and deployed workflows.

<h2 id="request-example">Usage example</h2>

```go
clusters, err := client.Clusters.List(ctx)
```

Source: https://tilebox.com/docs/api-reference/go/workflows/Clusters.List/index.mdx
