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

# Get Monitoring Statistics



## OpenAPI

````yaml GET /monitor/stats
openapi: 3.0.0
info:
  title: Companion API
  version: 2.0.0
  description: Companion API for Blaze Monitors
servers:
  - url: https://api.blazemonitors.com
    description: Production server
security:
  - ApiKeyAuth: []
tags:
  - name: Items
    description: Monitored product management
  - name: Products
    description: Product search and discovery
  - name: Monitor
    description: Site monitoring information
paths:
  /monitor/stats:
    get:
      tags:
        - Monitor
      summary: Get dashboard monitoring statistics
      parameters:
        - name: serverId
          in: query
          required: false
          schema:
            type: string
          description: Dashboard server ID used to include Hyped Automation activity
        - name: days
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 30
            default: 7
          description: Rolling recent-restock window in days
      responses:
        '200':
          description: Monitoring statistics
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatsResponse'
        '401':
          description: Authentication failed or dashboard server was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: A required database lookup was unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    StatsResponse:
      type: object
      properties:
        totalMonitoredItems:
          type: integer
          description: >-
            Unique list and hype product workload counted toward the monitor
            limit.
        totalListItems:
          type: integer
        totalHypedProducts:
          type: integer
          description: >-
            Unique hype-eligible products, including products also present in a
            list.
        totalMutedItems:
          type: integer
        totalAffiliateLinks:
          type: integer
        totalHypedSites:
          type: integer
          description: >-
            Number of distinct sites with Hyped Automation enabled across the
            client's active servers.
        monitorLimit:
          type: integer
        recentRestocks:
          type: array
          maxItems: 20
          items:
            $ref: '#/components/schemas/RecentAlert'
        mostMonitoredSites:
          type: array
          items:
            type: object
            properties:
              siteName:
                type: string
              numMonitoredItems:
                type: integer
              numListItems:
                type: integer
              numHypedProducts:
                type: integer
              hypedEnabled:
                type: boolean
                description: Whether Hyped Automation is enabled for the site.
    ErrorResponse:
      type: object
      properties:
        status:
          type: integer
        message:
          type: string
    RecentAlert:
      type: object
      properties:
        product:
          $ref: '#/components/schemas/RecentProduct'
        site:
          $ref: '#/components/schemas/Site'
        isList:
          type: boolean
        isHyped:
          type: boolean
    RecentProduct:
      type: object
      description: >-
        Compact product data used by recent activity; variants and offers are
        omitted.
      properties:
        productSku:
          type: string
        productSite:
          type: string
        productImg:
          type: string
        productName:
          type: string
        retailPrice:
          type: number
          format: double
        currentPrice:
          type: number
          format: double
        productUrl:
          type: string
        productStyle:
          type: string
        productColor:
          type: string
        productType:
          type: string
        launchTime:
          type: string
        lastRestocked:
          type: integer
          format: int64
        lastDiscounted:
          type: integer
          format: int64
        firstAdded:
          type: integer
          format: int64
    Site:
      type: object
      properties:
        platformName:
          type: string
          example: amazon
        siteType:
          type: string
          example: retail
        siteId:
          type: string
          example: amazon.com
        siteName:
          type: string
          example: AmazonUS
        siteUrl:
          type: string
          example: https://amazon.com
        siteCurrency:
          type: string
          example: USD
        hasLists:
          type: boolean
          example: true
        hasProducts:
          type: boolean
          example: true
        hasReleases:
          type: boolean
          example: false
        hasForceAdd:
          type: boolean
          example: true
        queryType:
          type: string
          example: productSku
        notificationTypes:
          type: array
          items:
            type: string
          example:
            - Restock
        altNames:
          type: array
          items:
            type: string
          example:
            - amazon
            - amz
            - amzus
        platformCategories:
          type: array
          items:
            type: string
          example:
            - retail
        sellers:
          type: array
          items:
            type: string
      required:
        - platformName
        - siteType
        - siteId
        - siteName
        - siteUrl
        - siteCurrency
        - hasLists
        - hasProducts
        - hasReleases
        - hasForceAdd
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key
      description: API key for authentication

````