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

> One node with every assignment window and contract it holds.

`nodes list` shows only the membership covering today; this shows the whole
history, which is what surfaces a node double-booked across two clusters.



## OpenAPI

````yaml https://api.primeintellect.ai/openapi.json get /api/admin/inventory/nodes/{node_id}
openapi: 3.1.0
info:
  title: PI API
  version: 0.1.0
servers:
  - url: https://api.primeintellect.ai
security: []
paths:
  /api/admin/inventory/nodes/{node_id}:
    get:
      tags:
        - admin-inventory
      summary: Get Node
      description: >-
        One node with every assignment window and contract it holds.


        `nodes list` shows only the membership covering today; this shows the
        whole

        history, which is what surfaces a node double-booked across two
        clusters.
      operationId: get_node_api_admin_inventory_nodes__node_id__get
      parameters:
        - name: node_id
          in: path
          required: true
          schema:
            type: string
            title: Node Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericResponse_InventoryNodeDetail_'
        '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_InventoryNodeDetail_:
      properties:
        data:
          anyOf:
            - $ref: '#/components/schemas/InventoryNodeDetail'
            - type: 'null'
          description: Response data
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
          description: Response status
      type: object
      title: GenericResponse[InventoryNodeDetail]
    ErrorResponse:
      properties:
        errors:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
          title: Errors
      type: object
      required:
        - errors
      title: ErrorResponse
    InventoryNodeDetail:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        siteId:
          anyOf:
            - type: string
            - type: 'null'
          title: Siteid
        siteSlug:
          anyOf:
            - type: string
            - type: 'null'
          title: Siteslug
        isBlankSite:
          type: boolean
          title: Isblanksite
          default: false
        role:
          type: string
          title: Role
        gpuCount:
          anyOf:
            - type: integer
            - type: 'null'
          title: Gpucount
        publicIp:
          anyOf:
            - type: string
            - type: 'null'
          title: Publicip
        privateIp:
          anyOf:
            - type: string
            - type: 'null'
          title: Privateip
        sshUser:
          anyOf:
            - type: string
            - type: 'null'
          title: Sshuser
        nodeTypeId:
          anyOf:
            - type: string
            - type: 'null'
          title: Nodetypeid
        nodeTypeModel:
          anyOf:
            - type: string
            - type: 'null'
          title: Nodetypemodel
        nodeTypeSlug:
          anyOf:
            - type: string
            - type: 'null'
          title: Nodetypeslug
        activeClusterId:
          anyOf:
            - type: string
            - type: 'null'
          title: Activeclusterid
        activeClusterSlug:
          anyOf:
            - type: string
            - type: 'null'
          title: Activeclusterslug
        activeIsController:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Activeiscontroller
        tenantId:
          anyOf:
            - type: string
            - type: 'null'
          title: Tenantid
        tenantSlug:
          anyOf:
            - type: string
            - type: 'null'
          title: Tenantslug
        isUnassigned:
          type: boolean
          title: Isunassigned
          default: false
        currentClusterId:
          anyOf:
            - type: string
            - type: 'null'
          title: Currentclusterid
        currentClusterSlug:
          anyOf:
            - type: string
            - type: 'null'
          title: Currentclusterslug
        currentStartDate:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Currentstartdate
        currentEndDate:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Currentenddate
        contractId:
          anyOf:
            - type: string
            - type: 'null'
          title: Contractid
        contractName:
          anyOf:
            - type: string
            - type: 'null'
          title: Contractname
        contractEndDate:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Contractenddate
        assignments:
          items:
            $ref: '#/components/schemas/InventoryAssignmentSummary'
          type: array
          title: Assignments
        contracts:
          items:
            $ref: '#/components/schemas/InventoryNodeContractSummary'
          type: array
          title: Contracts
      type: object
      required:
        - id
        - name
        - role
      title: InventoryNodeDetail
      description: A node with every membership window and contract it holds.
    ErrorDetail:
      properties:
        param:
          type: string
          title: Param
        details:
          type: string
          title: Details
      type: object
      required:
        - param
        - details
      title: ErrorDetail
    InventoryAssignmentSummary:
      properties:
        id:
          type: string
          title: Id
        nodeId:
          type: string
          title: Nodeid
        nodeName:
          type: string
          title: Nodename
        clusterId:
          type: string
          title: Clusterid
        clusterName:
          type: string
          title: Clustername
        clusterSlug:
          anyOf:
            - type: string
            - type: 'null'
          title: Clusterslug
        status:
          type: string
          title: Status
        type:
          type: string
          title: Type
        isController:
          type: boolean
          title: Iscontroller
          default: false
        startDate:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Startdate
        endDate:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Enddate
      type: object
      required:
        - id
        - nodeId
        - nodeName
        - clusterId
        - clusterName
        - status
        - type
      title: InventoryAssignmentSummary
      description: One node<->cluster membership window.
    InventoryNodeContractSummary:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        status:
          type: string
          title: Status
        startDate:
          type: string
          format: date-time
          title: Startdate
        endDate:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Enddate
        continuesFromId:
          anyOf:
            - type: string
            - type: 'null'
          title: Continuesfromid
      type: object
      required:
        - id
        - name
        - status
        - startDate
      title: InventoryNodeContractSummary
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````