---
title: "Get Connection Info"
method: GET
path: "/api/v1/slurm-clusters/{cluster_id}/connection"
tags: ["slurm-clusters"]
---

# Get Connection Info

`GET /api/v1/slurm-clusters/{cluster_id}/connection`

## Request

- Base URL: `https://api.primeintellect.ai`
- URL: `https://api.primeintellect.ai/api/v1/slurm-clusters/{cluster_id}/connection`
- Auth: HTTP bearer

SSH coordinates for one RUNNING Slurm cluster deployment.

Team-member gated like the roster reads; ownership follows the same
visibility boundary (`assert_job_visible_to_team` normalizes every
cross-team/wrong-type/missing probe to a generic 404, so probing
other teams' job ids distinguishes nothing). The payload carries
only the connect flags and coordinates — no release names or
namespaces.

## Path parameters

- `cluster_id` string, required

## Query parameters

- `team_id` string, required: Team the cluster must belong to

## Response `200`

Successful Response

- SlurmClusterConnectionResponse: SSH coordinates for one Slurm cluster deployment. Same audience and same data as the Model Factory web UI's connect box (frontierCluster.ts listMyWorkloads): RUNNING deployments get the login coordinates; non-RUNNING ones (the ssh-proxy pod isn't up yet for a PENDING/DEPLOYING release) report `connectable=False` with null fields. `connectable` requires BOTH a host and a port — a half-configured cluster honestly reads not-connectable rather than exposing a coordinate that cannot work.
  - `connectable` boolean, required
  - `ssh_host` string, nullable
  - `ssh_port` integer, nullable

## Other responses

- `401`: Authorization failed
- `422`: Invalid request data

## Changes

> 49 revisions in range; 1 not diffed.

- **2026-10-12** `8537b45307ec`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/primeintellect/apis/pi-api/changes/api/v1/slurm-clusters/:cluster_id/connection/get.md)

---

[API](https://skmtc.dev/primeintellect/apis/pi-api.md) - [All operations](https://skmtc.dev/primeintellect/apis/pi-api/llms.txt) - [OpenAPI document](https://skmtc.dev/primeintellect/apis/pi-api/revisions/7f032a9306b0?raw)
