---
title: "Clusters.Get"
description: "Get a cluster by its slug."
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.Get

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

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

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

```go
func (*ClusterClient) Get(
    ctx context.Context,
    slug string,
) (*workflows.Cluster, error)
```

Get a cluster by its slug.

## Parameters

**slug**

type: string

The slug of the cluster

## Returns

A cluster object, including its slug, name, description, whether it can be deleted, and deployed workflows.

## Errors

**not_found**

type: cluster not found

The specified cluster does not exist.

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

```go
cluster, err := client.Clusters.Get(ctx,
    "my-cluster-tZD9Ca1qsqt3V"
)
```

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