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

# List Miner Reboot Events

> Returns detected miner reboot events for the specified farm. Each event includes miner identity (ip, model, make, serial_number) and before/after snapshots (uptime, hashrate, wattage, temperature, anomaly_flags, mining_mode).



## OpenAPI

````yaml /api-reference/openapi.json get /private-api/v1/{workspace_id}/farms/{farm_id}/reboot-events
openapi: 3.1.0
info:
  title: Nonce Private API
  description: |-
    Nonce Private API documentation - Internal endpoints for system integration

    Generated by NestJS Swagger Module with nestjs-zod
    Scope: Private API endpoints only (/private-api/*)
    Do not edit this file manually - regenerate with: pnpm run docs:openapi
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.nonce.app
    description: Production server
security: []
tags: []
paths:
  /private-api/v1/{workspace_id}/farms/{farm_id}/reboot-events:
    get:
      tags:
        - Private API
        - Farm
      summary: List Miner Reboot Events
      description: >-
        Returns detected miner reboot events for the specified farm. Each event
        includes miner identity (ip, model, make, serial_number) and
        before/after snapshots (uptime, hashrate, wattage, temperature,
        anomaly_flags, mining_mode).
      operationId: ListMinerRebootEvents
      parameters:
        - name: workspace_id
          required: true
          in: path
          schema:
            type: string
        - name: farm_id
          required: true
          in: path
          schema:
            type: string
        - name: page
          required: false
          in: query
          description: 'Page number (default: 1)'
          schema:
            minimum: 1
            example: 1
            type: number
        - name: pageSize
          required: false
          in: query
          description: 'Number of items per page (default: 10, max: 10000)'
          schema:
            minimum: 1
            maximum: 10000
            example: 10
            type: number
        - name: miner_id
          required: false
          in: query
          description: Filter by miner ID
          schema:
            type: string
        - name: from_time
          required: false
          in: query
          description: Start time filter. Defaults to 7 days ago if not provided.
          schema:
            format: datetime
            example: YYYY-MM-DDTHH:MM:SSZ
            type: string
        - name: to_time
          required: false
          in: query
          description: End time filter. Defaults to now if not provided.
          schema:
            format: datetime
            example: YYYY-MM-DDTHH:MM:SSZ
            type: string
      responses:
        '200':
          description: Successfully retrieved reboot events
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                    description: Indicates if the request was successful
                  data:
                    type: array
                    description: Array of items
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                          pattern: >-
                            ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                          description: Reboot event ID
                        workspace_id:
                          type: string
                          description: Workspace ID
                        farm_id:
                          type: string
                          format: uuid
                          pattern: >-
                            ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                          description: Farm ID
                        miner_id:
                          type: string
                          description: Miner ID
                        ip:
                          type: string
                          description: Miner IP address at time of query
                        model:
                          description: Miner hardware model (e.g. S19 Pro)
                          type:
                            - string
                            - 'null'
                        make:
                          type: string
                          description: Miner manufacturer (e.g. Bitmain)
                        serial_number:
                          description: Miner serial number
                          type:
                            - string
                            - 'null'
                        period:
                          type: string
                          description: Detection period (ISO 8601)
                        pre_uptime:
                          description: Uptime before reboot (seconds)
                          type:
                            - number
                            - 'null'
                        post_uptime:
                          description: Uptime after reboot (seconds)
                          type:
                            - number
                            - 'null'
                        pre_hashrate:
                          description: Hashrate before reboot (H/s)
                          type:
                            - number
                            - 'null'
                        post_hashrate:
                          description: Hashrate after reboot (H/s)
                          type:
                            - number
                            - 'null'
                        pre_period:
                          description: Pre-reboot snapshot collection time (ISO 8601)
                          type:
                            - string
                            - 'null'
                        post_period:
                          description: Post-reboot snapshot collection time (ISO 8601)
                          type:
                            - string
                            - 'null'
                        pre_wattage:
                          description: Power consumption before reboot (watts)
                          type:
                            - number
                            - 'null'
                        post_wattage:
                          description: Power consumption after reboot (watts)
                          type:
                            - number
                            - 'null'
                        pre_temp:
                          description: Average board temperature before reboot (celsius)
                          type:
                            - number
                            - 'null'
                        post_temp:
                          description: Average board temperature after reboot (celsius)
                          type:
                            - number
                            - 'null'
                        pre_anomaly_flags:
                          description: >-
                            Anomaly bitmask before reboot. Bits: 0=fan, 1=power,
                            2=temperature, 3=hashboard, 4=network, 5=firmware,
                            6=unknown, 8=control_board, 9=pool.
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                          type:
                            - integer
                            - 'null'
                        post_anomaly_flags:
                          description: >-
                            Anomaly bitmask after reboot. Bits: 0=fan, 1=power,
                            2=temperature, 3=hashboard, 4=network, 5=firmware,
                            6=unknown, 8=control_board, 9=pool.
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                          type:
                            - integer
                            - 'null'
                        pre_mining_mode:
                          description: Mining mode before reboot (e.g. normal, sleep, low)
                          type:
                            - string
                            - 'null'
                        post_mining_mode:
                          description: Mining mode after reboot (e.g. normal, sleep, low)
                          type:
                            - string
                            - 'null'
                        created_at:
                          description: Record creation time (ISO 8601)
                          type:
                            - string
                            - 'null'
                        before_avg_hashrate:
                          description: Average hashrate 30–5 minutes before reboot (H/s)
                          type:
                            - number
                            - 'null'
                        after_avg_hashrate:
                          description: Average hashrate 15–60 minutes after reboot (H/s)
                          type:
                            - number
                            - 'null'
                      required:
                        - id
                        - workspace_id
                        - farm_id
                        - miner_id
                        - ip
                        - model
                        - make
                        - serial_number
                        - period
                        - pre_uptime
                        - post_uptime
                        - pre_hashrate
                        - post_hashrate
                        - pre_period
                        - post_period
                        - pre_wattage
                        - post_wattage
                        - pre_temp
                        - post_temp
                        - pre_anomaly_flags
                        - post_anomaly_flags
                        - pre_mining_mode
                        - post_mining_mode
                        - created_at
                        - before_avg_hashrate
                        - after_avg_hashrate
                  pagination:
                    type: object
                    description: Pagination metadata
                    properties:
                      total:
                        type: number
                        example: 50
                        description: Total number of items
                      limit:
                        type: number
                        example: 10
                        description: Maximum number of items per page
                      offset:
                        type: number
                        example: 0
                        description: Number of items to skip
                      hasNext:
                        type: boolean
                        example: true
                        description: Whether there are more items after this page
                      hasPrevious:
                        type: boolean
                        example: false
                        description: Whether there are items before this page
                    required:
                      - total
                      - limit
                      - offset
                      - hasNext
                      - hasPrevious
                  error:
                    type: 'null'
                    example: null
                    description: Error object (null on success)
                required:
                  - success
                  - data
                  - pagination
                  - error
        '400':
          description: Bad Request - Invalid parameters
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: number
                    description: HTTP status code
                    example: 400
                  message:
                    type: string
                    description: Error message
                    example: Invalid request parameters
                  error:
                    type: string
                    description: Error type
                    example: Bad Request
                required:
                  - statusCode
                  - message
                  - error
        '401':
          description: Unauthorized - Invalid or missing API key
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: number
                    description: HTTP status code
                    example: 401
                  message:
                    type: string
                    description: Error message
                    example: Invalid or missing API key
                  error:
                    type: string
                    description: Error type
                    example: Unauthorized
                required:
                  - statusCode
                  - message
                  - error
        '403':
          description: Forbidden - Valid API key but insufficient permissions
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: number
                    description: HTTP status code
                    example: 403
                  message:
                    type: string
                    description: Error message
                    example: Access denied to workspace
                  error:
                    type: string
                    description: Error type
                    example: Forbidden
                required:
                  - statusCode
                  - message
                  - error
      security:
        - clerk-api-key: []
components:
  securitySchemes:
    clerk-api-key:
      scheme: bearer
      bearerFormat: API Key
      type: http
      description: Clerk Machine API Key for authentication

````