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

# Get Connection Info

> 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.



## OpenAPI

````yaml https://api.primeintellect.ai/openapi.json get /api/v1/slurm-clusters/{cluster_id}/connection
openapi: 3.1.0
info:
  title: PI API
  version: 0.1.0
servers:
  - url: https://api.primeintellect.ai
security: []
paths:
  /api/v1/slurm-clusters/{cluster_id}/connection:
    get:
      tags:
        - slurm-clusters
      summary: Get Connection Info
      description: |-
        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.
      operationId: get_connection_info_api_v1_slurm_clusters__cluster_id__connection_get
      parameters:
        - name: cluster_id
          in: path
          required: true
          schema:
            type: string
            title: Cluster Id
        - name: team_id
          in: query
          required: true
          schema:
            type: string
            description: Team the cluster must belong to
            title: Team Id
          description: Team the cluster must belong to
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SlurmClusterConnectionResponse'
        '401':
          description: Authorization failed
        '422':
          description: Invalid request data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - HTTPBearer: []
components:
  schemas:
    SlurmClusterConnectionResponse:
      properties:
        connectable:
          type: boolean
          title: Connectable
        ssh_host:
          anyOf:
            - type: string
            - type: 'null'
          title: Ssh Host
        ssh_port:
          anyOf:
            - type: integer
            - type: 'null'
          title: Ssh Port
      type: object
      required:
        - connectable
      title: SlurmClusterConnectionResponse
      description: |-
        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.
    ErrorResponse:
      properties:
        errors:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
          title: Errors
      type: object
      required:
        - errors
      title: ErrorResponse
    ErrorDetail:
      properties:
        param:
          type: string
          title: Param
        details:
          type: string
          title: Details
      type: object
      required:
        - param
        - details
      title: ErrorDetail
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

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