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

# Request Cluster Node Reboot

> Ask for a graceful reboot of one GPU node of a dedicated cluster.

The platform only marks the node; the cluster drains Slurm and its
workloads, reboots the node and re-validates it, honoring pod
protection and maintenance windows. Pickup takes up to about 15
minutes, and the pending mark clears once the node is back.

The caller must be an ADMIN of the team the cluster is dedicated to
(other members get 403, anyone else 404). A cluster that does not
support node reboot (`reboot_supported` false on its status and nodes
entries) answers 422. `confirmNodeName` must
equal `node_name` exactly. Control-plane nodes and nodes outside the
cluster's GPU node list are refused, and a node with a reboot
already pending is a 409, so retries are safe. Every request that
reaches this handler is audited, refused ones included.



## OpenAPI

````yaml https://api.primeintellect.ai/openapi.json post /api/v1/model-factory/clusters/{cluster_id}/nodes/{node_name}/reboot
openapi: 3.1.0
info:
  title: PI API
  version: 0.1.0
servers:
  - url: https://api.primeintellect.ai
security: []
paths:
  /api/v1/model-factory/clusters/{cluster_id}/nodes/{node_name}/reboot:
    post:
      tags:
        - factory
      summary: Request Cluster Node Reboot
      description: |-
        Ask for a graceful reboot of one GPU node of a dedicated cluster.

        The platform only marks the node; the cluster drains Slurm and its
        workloads, reboots the node and re-validates it, honoring pod
        protection and maintenance windows. Pickup takes up to about 15
        minutes, and the pending mark clears once the node is back.

        The caller must be an ADMIN of the team the cluster is dedicated to
        (other members get 403, anyone else 404). A cluster that does not
        support node reboot (`reboot_supported` false on its status and nodes
        entries) answers 422. `confirmNodeName` must
        equal `node_name` exactly. Control-plane nodes and nodes outside the
        cluster's GPU node list are refused, and a node with a reboot
        already pending is a 409, so retries are safe. Every request that
        reaches this handler is audited, refused ones included.
      operationId: >-
        request_cluster_node_reboot_api_v1_model_factory_clusters__cluster_id__nodes__node_name__reboot_post
      parameters:
        - name: cluster_id
          in: path
          required: true
          schema:
            type: string
            title: Cluster Id
        - name: node_name
          in: path
          required: true
          schema:
            type: string
            title: Node Name
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/Body_request_cluster_node_reboot_api_v1_model_factory_clusters__cluster_id__nodes__node_name__reboot_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NodeRebootResponse'
        '400':
          description: Missing or mismatched `confirmNodeName`, or a control-plane node
        '401':
          description: >-
            Token missing or invalid, a system-issued key, or no `factory:write`
            scope
        '403':
          description: Banned user, or a member of the owning team without the ADMIN role
        '404':
          description: >-
            Unknown cluster, caller outside the owning team, or a node that is
            not one of the cluster's GPU nodes
        '409':
          description: A reboot is already pending for this node
        '422':
          description: >-
            Node reboot is not available on this cluster (`reboot_supported` is
            false on GET /factory/status and GET /factory/nodes)
        '429':
          description: Rate limited
        '503':
          description: The cluster could not be reached; nothing changed
      security:
        - HTTPBearer: []
components:
  schemas:
    Body_request_cluster_node_reboot_api_v1_model_factory_clusters__cluster_id__nodes__node_name__reboot_post:
      properties:
        confirm_node_name:
          title: Confirm Node Name
          description: The node name again, exactly as in the path
          examples:
            - gpu-01
      type: object
      title: >-
        Body_request_cluster_node_reboot_api_v1_model_factory_clusters__cluster_id__nodes__node_name__reboot_post
    NodeRebootResponse:
      properties:
        nodeName:
          type: string
          title: Nodename
        requestedAt:
          type: string
          title: Requestedat
      type: object
      required:
        - nodeName
        - requestedAt
      title: NodeRebootResponse
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````