Red Hat Enterprise Linux 8 Stats API

The stats API from Red Hat Enterprise Linux 8 — 5 operation(s) for stats.

GitHub OpenAPI

Operations 5

GET /api/insights/v1/stats/ Stats list #
GET /api/insights/v1/stats/overview/ Stats overview retrieve #
GET /api/insights/v1/stats/reports/ Stats reports retrieve #
GET /api/insights/v1/stats/rules/ Stats rules retrieve #
GET /api/insights/v1/stats/systems/ Stats systems retrieve #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/red-hat-enterprise-linux-8:red-hat-enterprise-linux-8-stats-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

red-hat-enterprise-linux-8-stats-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Insights Advisor Stats API
  version: 1.0.1
  description: The API of the Advisor project in Insights
servers:
- url: https://console.redhat.com/
  description: The API of the Advisor project in Insights
tags:
- name: Stats
paths:
  /api/insights/v1/stats/:
    get:
      operationId: stats_list
      description: 'Provide a simple list of URLs contained here.


        A list of statistics views.'
      tags:
      - Stats
      security:
      - x-rh-identity: []
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  type: array
                  items:
                    type: string
                    format: uri
          description: ''
      summary: Stats list
      x-summary-source: derived
  /api/insights/v1/stats/overview/:
    get:
      operationId: stats_overview_retrieve
      description: 'Show overview statistics for this user


        This gives the number of pathways, and incident, critical and

        important recommendations, affecting systems that the user can see.'
      tags:
      - Stats
      security:
      - x-rh-identity: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Stats'
          description: ''
      parameters:
      - in: query
        name: tags
        schema:
          type: array
          items:
            type: string
            format: regex
        description: Tags have a namespace and key, with an optional value, in the form namespace/key=value or namespace/key
        style: form
      - in: query
        name: groups
        schema:
          type: array
          items:
            type: string
        description: List of Inventory host group names
        style: form
      - in: query
        name: filter[system_profile][sap_sids][contains]
        schema:
          type: array
          items:
            type: string
            format: regex
        description: Are there systems which contain these SAP SIDs?
        style: form
      - in: query
        name: workload
        schema:
          type: array
          items:
            type: string
            enum:
            - ansible
            - crowdstrike
            - ibm_db2
            - intersystems
            - mssql
            - oracle_db
            - rhel_ai
            - sap
            - satellite
        description: 'Filter systems by workload type. Multiple workloads are OR''d together. Valid workloads: sap, ansible, mssql, crowdstrike, ibm_db2, intersystems, oracle_db, rhel_ai, satellite'
        style: form
      summary: Stats overview retrieve
      x-summary-source: derived
  /api/insights/v1/stats/reports/:
    get:
      operationId: stats_reports_retrieve
      description: 'Show statistics of reports impacting across categories and risks.


        Only current reports are considered.'
      tags:
      - Stats
      security:
      - x-rh-identity: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Stats'
          description: ''
      parameters:
      - in: query
        name: tags
        schema:
          type: array
          items:
            type: string
            format: regex
        description: Tags have a namespace and key, with an optional value, in the form namespace/key=value or namespace/key
        style: form
      - in: query
        name: groups
        schema:
          type: array
          items:
            type: string
        description: List of Inventory host group names
        style: form
      - in: query
        name: filter[system_profile][sap_sids][contains]
        schema:
          type: array
          items:
            type: string
            format: regex
        description: Are there systems which contain these SAP SIDs?
        style: form
      - in: query
        name: workload
        schema:
          type: array
          items:
            type: string
            enum:
            - ansible
            - crowdstrike
            - ibm_db2
            - intersystems
            - mssql
            - oracle_db
            - rhel_ai
            - sap
            - satellite
        description: 'Filter systems by workload type. Multiple workloads are OR''d together. Valid workloads: sap, ansible, mssql, crowdstrike, ibm_db2, intersystems, oracle_db, rhel_ai, satellite'
        style: form
      summary: Stats reports retrieve
      x-summary-source: derived
  /api/insights/v1/stats/rules/:
    get:
      operationId: stats_rules_retrieve
      description: 'Show statistics of rule usage across categories and risks.


        Only current reports are considered.'
      tags:
      - Stats
      security:
      - x-rh-identity: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Stats'
          description: ''
      parameters:
      - in: query
        name: tags
        schema:
          type: array
          items:
            type: string
            format: regex
        description: Tags have a namespace and key, with an optional value, in the form namespace/key=value or namespace/key
        style: form
      - in: query
        name: groups
        schema:
          type: array
          items:
            type: string
        description: List of Inventory host group names
        style: form
      - in: query
        name: filter[system_profile][sap_sids][contains]
        schema:
          type: array
          items:
            type: string
            format: regex
        description: Are there systems which contain these SAP SIDs?
        style: form
      - in: query
        name: workload
        schema:
          type: array
          items:
            type: string
            enum:
            - ansible
            - crowdstrike
            - ibm_db2
            - intersystems
            - mssql
            - oracle_db
            - rhel_ai
            - sap
            - satellite
        description: 'Filter systems by workload type. Multiple workloads are OR''d together. Valid workloads: sap, ansible, mssql, crowdstrike, ibm_db2, intersystems, oracle_db, rhel_ai, satellite'
        style: form
      summary: Stats rules retrieve
      x-summary-source: derived
  /api/insights/v1/stats/systems/:
    get:
      operationId: stats_systems_retrieve
      description: 'Show statistics of systems being impacted across categories and risks.


        Only current reports are considered.'
      tags:
      - Stats
      security:
      - x-rh-identity: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Stats'
          description: ''
      parameters:
      - in: query
        name: tags
        schema:
          type: array
          items:
            type: string
            format: regex
        description: Tags have a namespace and key, with an optional value, in the form namespace/key=value or namespace/key
        style: form
      - in: query
        name: groups
        schema:
          type: array
          items:
            type: string
        description: List of Inventory host group names
        style: form
      - in: query
        name: filter[system_profile][sap_sids][contains]
        schema:
          type: array
          items:
            type: string
            format: regex
        description: Are there systems which contain these SAP SIDs?
        style: form
      - in: query
        name: workload
        schema:
          type: array
          items:
            type: string
            enum:
            - ansible
            - crowdstrike
            - ibm_db2
            - intersystems
            - mssql
            - oracle_db
            - rhel_ai
            - sap
            - satellite
        description: 'Filter systems by workload type. Multiple workloads are OR''d together. Valid workloads: sap, ansible, mssql, crowdstrike, ibm_db2, intersystems, oracle_db, rhel_ai, satellite'
        style: form
      summary: Stats systems retrieve
      x-summary-source: derived
components:
  schemas:
    Stats:
      type: object
      description: Advisor rule or report frequency statisics.
      properties:
        total:
          type: integer
        total_risk:
          type: object
          additionalProperties:
            type: integer
        category:
          type: object
          additionalProperties:
            type: integer
      required:
      - category
      - total
      - total_risk
  securitySchemes:
    x-rh-identity:
      type: apiKey
      in: header
      name: x-rh-identity