> ## 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 Cluster

> Return full DB details for one cluster (columns + nodes + SSH keys).



## OpenAPI

````yaml https://api.primeintellect.ai/openapi.json get /api/admin/clusters/{cluster_id}
openapi: 3.1.0
info:
  title: PI API
  version: 0.1.0
servers:
  - url: https://api.primeintellect.ai
security: []
paths:
  /api/admin/clusters/{cluster_id}:
    get:
      tags:
        - admin-clusters
      summary: Get Cluster
      description: Return full DB details for one cluster (columns + nodes + SSH keys).
      operationId: get_cluster_api_admin_clusters__cluster_id__get
      parameters:
        - name: cluster_id
          in: path
          required: true
          schema:
            type: string
            title: Cluster Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericResponse_ClusterDetailResponse_'
        '401':
          description: Authorization failed
        '403':
          description: Insufficient permissions
        '422':
          description: Invalid request data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - HTTPBearer: []
components:
  schemas:
    GenericResponse_ClusterDetailResponse_:
      properties:
        data:
          anyOf:
            - $ref: '#/components/schemas/ClusterDetailResponse'
            - type: 'null'
          description: Response data
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
          description: Response status
      type: object
      title: GenericResponse[ClusterDetailResponse]
    ErrorResponse:
      properties:
        errors:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
          title: Errors
      type: object
      required:
        - errors
      title: ErrorResponse
    ClusterDetailResponse:
      properties:
        id:
          type: string
          title: Id
        remoteId:
          type: string
          title: Remoteid
        name:
          type: string
          title: Name
        providerType:
          type: string
          title: Providertype
        status:
          type: string
          title: Status
        vaultEnabled:
          type: boolean
          title: Vaultenabled
        gpuName:
          type: string
          title: Gpuname
        gpuCount:
          type: integer
          title: Gpucount
        socket:
          anyOf:
            - type: string
            - type: 'null'
          title: Socket
        priceHr:
          anyOf:
            - type: number
            - type: 'null'
          title: Pricehr
        stoppedPriceHr:
          anyOf:
            - type: number
            - type: 'null'
          title: Stoppedpricehr
        provisioningPriceHr:
          anyOf:
            - type: number
            - type: 'null'
          title: Provisioningpricehr
        basePriceHr:
          anyOf:
            - type: number
            - type: 'null'
          title: Basepricehr
        baseCurrency:
          anyOf:
            - type: string
            - type: 'null'
          title: Basecurrency
        userId:
          anyOf:
            - type: string
            - type: 'null'
          title: Userid
        teamId:
          anyOf:
            - type: string
            - type: 'null'
          title: Teamid
        walletId:
          anyOf:
            - type: string
            - type: 'null'
          title: Walletid
        orchestratorType:
          type: string
          title: Orchestratortype
        orchestratorVersion:
          anyOf:
            - type: string
            - type: 'null'
          title: Orchestratorversion
        orchestratorEndpoint:
          anyOf:
            - type: string
            - type: 'null'
          title: Orchestratorendpoint
        orchestratorConfig:
          anyOf:
            - {}
            - type: 'null'
          title: Orchestratorconfig
        orchestratorDeploymentJobId:
          anyOf:
            - type: string
            - type: 'null'
          title: Orchestratordeploymentjobid
        orchestratorDeploymentStatus:
          anyOf:
            - type: string
            - type: 'null'
          title: Orchestratordeploymentstatus
        createdAt:
          type: string
          format: date-time
          title: Createdat
        updatedAt:
          type: string
          format: date-time
          title: Updatedat
        terminatedAt:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Terminatedat
        info:
          title: Info
        nodes:
          items:
            $ref: '#/components/schemas/ClusterNodeDetail'
          type: array
          title: Nodes
        sshKeys:
          items:
            $ref: '#/components/schemas/ClusterSSHKeyDetail'
          type: array
          title: Sshkeys
      type: object
      required:
        - id
        - remoteId
        - name
        - providerType
        - status
        - vaultEnabled
        - gpuName
        - gpuCount
        - orchestratorType
        - createdAt
        - updatedAt
      title: ClusterDetailResponse
      description: All DB details for a single cluster (columns + nodes + SSH keys).
    ErrorDetail:
      properties:
        param:
          type: string
          title: Param
        details:
          type: string
          title: Details
      type: object
      required:
        - param
        - details
      title: ErrorDetail
    ClusterNodeDetail:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        remoteId:
          type: string
          title: Remoteid
        providerType:
          type: string
          title: Providertype
        type:
          anyOf:
            - type: string
            - type: 'null'
          title: Type
        status:
          type: string
          title: Status
        installationStatus:
          anyOf:
            - type: string
            - type: 'null'
          title: Installationstatus
        testStatus:
          anyOf:
            - type: string
            - type: 'null'
          title: Teststatus
        finalizerStatus:
          anyOf:
            - type: string
            - type: 'null'
          title: Finalizerstatus
        installationProgress:
          anyOf:
            - type: integer
            - type: 'null'
          title: Installationprogress
        installationFailure:
          anyOf:
            - type: string
            - type: 'null'
          title: Installationfailure
        gpuName:
          type: string
          title: Gpuname
        gpuCount:
          type: integer
          title: Gpucount
        socket:
          anyOf:
            - type: string
            - type: 'null'
          title: Socket
        priceHr:
          anyOf:
            - type: number
            - type: 'null'
          title: Pricehr
        stoppedPriceHr:
          anyOf:
            - type: number
            - type: 'null'
          title: Stoppedpricehr
        provisioningPriceHr:
          anyOf:
            - type: number
            - type: 'null'
          title: Provisioningpricehr
        basePriceHr:
          anyOf:
            - type: number
            - type: 'null'
          title: Basepricehr
        baseCurrency:
          anyOf:
            - type: string
            - type: 'null'
          title: Basecurrency
        environmentType:
          anyOf:
            - type: string
            - type: 'null'
          title: Environmenttype
        userId:
          anyOf:
            - type: string
            - type: 'null'
          title: Userid
        teamId:
          anyOf:
            - type: string
            - type: 'null'
          title: Teamid
        walletId:
          anyOf:
            - type: string
            - type: 'null'
          title: Walletid
        isDetached:
          type: boolean
          title: Isdetached
          default: false
        createdAt:
          type: string
          format: date-time
          title: Createdat
        updatedAt:
          type: string
          format: date-time
          title: Updatedat
        terminatedAt:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Terminatedat
        providerReadyAt:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Providerreadyat
        piReadyAt:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Pireadyat
        info:
          title: Info
        connections:
          items:
            $ref: '#/components/schemas/ClusterNodeConnection'
          type: array
          title: Connections
      type: object
      required:
        - id
        - name
        - remoteId
        - providerType
        - status
        - gpuName
        - gpuCount
        - createdAt
        - updatedAt
      title: ClusterNodeDetail
      description: Full DB details for a single cluster pod/node.
    ClusterSSHKeyDetail:
      properties:
        id:
          type: string
          title: Id
        userId:
          anyOf:
            - type: string
            - type: 'null'
          title: Userid
        sshKeyId:
          anyOf:
            - type: string
            - type: 'null'
          title: Sshkeyid
        role:
          type: string
          title: Role
        publicKey:
          anyOf:
            - type: string
            - type: 'null'
          title: Publickey
      type: object
      required:
        - id
        - role
      title: ClusterSSHKeyDetail
      description: Authorized SSH key entry for a cluster.
    ClusterNodeConnection:
      properties:
        podId:
          type: string
          title: Podid
        podName:
          anyOf:
            - type: string
            - type: 'null'
          title: Podname
        host:
          type: string
          title: Host
        port:
          type: integer
          title: Port
          default: 22
        user:
          type: string
          title: User
        role:
          anyOf:
            - type: string
            - type: 'null'
          title: Role
        isControlNode:
          type: boolean
          title: Iscontrolnode
          default: false
      type: object
      required:
        - podId
        - host
        - user
      title: ClusterNodeConnection
      description: Connection details for a single cluster pod/node.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````