---
title: "Retrieve information about slurm clusters belonging to the project."
method: GET
path: "/projects/{project_id}/slurm/clusters"
tags: ["Slurm Clusters"]
---

# Retrieve information about slurm clusters belonging to the project.

`GET /projects/{project_id}/slurm/clusters`

## Path parameters

- `project_id` string, required

## Query parameters

- `names` string[]
- `location` string
- `state` string
- `slurm_cluster_ids` string[]

## Response `200`

- ListSlurmClustersResponse
  - `items` SlurmCluster[], required
    - `home_volume_size` string — Size of the shared home volume as a Kubernetes quantity string (e.g. "10Ti"). Set empty to omit.
    - `location` string, required — Location to create the Slurm cluster in.
    - `login_node_type` string — Node type to use for Slurm Controller and Login.
    - `login_replicas` integer — Number of replica pods to use for LoginSet.
    - `name` string, required — Name of the Slurm cluster.
    - `root_ssh_pub_keys` string[], required — An array of SSH public keys which will be used to allow access as root user. This will be mounted as the "root/.ssh/authorized_keys" file.
    - `subnet_id` string — The ID of the subnet to deploy the Slurm cluster into.
    - `issues` SlurmClusterIssue[] — Issues describing why the cluster is not in RUNNING.
      - `code` string — Machine-readable issue code.
      - `message` string — Human-readable description.
    - `login_node_endpoint` string — Login node Endpoint (IP).
    - `nodesets` string[] — Nodeset IDs running the Slurm Workers.
    - `state` 'PROVISIONING' | 'RUNNING' | 'DELETING' | 'DELETED' | 'FAILED' | 'UPDATING' | 'UNHEALTHY' | 'CREATE_FAILED' | 'DELETE_FAILED', required — State of the slurm cluster.
    - `created_at` string — Created at timestamp of the cluster.
    - `id` string, required — ID of the Slurm cluster.
    - `updated_at` string — Updated at timestamp of the cluster.
    - `version` string — Version of the cluster.

## Other responses

- `401` — Error Authentication Failed
- `500` — Error Internal Server

---

[API](https://skmtc.net/crusoecloud/apis/crusoe-cloud-api-gateway.md) · [All operations](https://skmtc.net/crusoecloud/apis/crusoe-cloud-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crusoecloud/crusoe-cloud-api-gateway/versions/a3fd2dedc72b/schema)
