Red Hat Enterprise Linux 8 System API

The system API from Red Hat Enterprise Linux 8 — 3 operation(s) for system.

GitHub OpenAPI

Operations 3

GET /api/insights/v1/system/ System list #
GET /api/insights/v1/system/{uuid}/ Retrieve the reports for a single system #
GET /api/insights/v1/system/{uuid}/reports/ System reports list #

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-system-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-system-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Insights Advisor System 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: System
paths:
  /api/insights/v1/system/:
    get:
      operationId: system_list
      description: 'Returns systems with their hit count and last upload time.


        Results can be sorted and systems can be filtered by display name and hits'
      parameters:
      - in: query
        name: display_name
        schema:
          type: string
        description: Display systems with this text in their display_name
      - in: query
        name: filter[system_profile][sap_sids][contains]
        schema:
          type: array
          items:
            type: string
            format: regex
            pattern: ^[A-Z]..$
        description: Are there systems which contain these SAP SIDs?
        style: form
      - in: query
        name: groups
        schema:
          type: array
          items:
            type: string
        description: List of Inventory host group names
        style: form
      - in: query
        name: has_disabled_recommendation
        schema:
          type: boolean
        description: Display systems which has at least one disabled recommendation
      - in: query
        name: hits
        schema:
          type: array
          items:
            type: string
            enum:
            - '1'
            - '2'
            - '3'
            - '4'
            - all
            - 'no'
            - 'yes'
        description: Display systems with hits of the given total_risk value (1..4), or 0 to display all systems
        style: form
      - in: query
        name: incident
        schema:
          type: boolean
        description: Display only systems reporting an incident
      - name: limit
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: offset
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      - in: query
        name: pathway
        schema:
          type: string
        description: Display systems with rule hits for this Pathway
      - in: query
        name: rhel_version
        schema:
          type: array
          items:
            type: string
            format: regex
            pattern: ^\d+\.\d+$
        description: Display only systems with these versions of RHEL
        style: form
      - in: query
        name: sort
        schema:
          type: string
          enum:
          - -critical_hits
          - -display_name
          - -group_name
          - -hits
          - -important_hits
          - -last_seen
          - -low_hits
          - -moderate_hits
          - -rhel_version
          - critical_hits
          - display_name
          - group_name
          - hits
          - important_hits
          - last_seen
          - low_hits
          - moderate_hits
          - rhel_version
          default: -hits
        description: Order by this field
      - in: query
        name: system_type
        schema:
          type: string
          enum:
          - all
          - bootc
          - conventional
          - edge
        description: Display only systems with this type ('all' = both types)
      - in: query
        name: tags
        schema:
          type: array
          items:
            type: string
            format: regex
            pattern: ^[^/]+/[^=]+(=.*)?$
        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: update_method
        schema:
          type: array
          items:
            type: string
            enum:
            - dnfyum
            - ostree
        description: Search for systems with this updater type
        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
      tags:
      - System
      security:
      - x-rh-identity: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedSystemList'
          description: ''
      summary: System list
      x-summary-source: derived
  /api/insights/v1/system/{uuid}/:
    get:
      operationId: system_retrieve
      description: Retrieve the reports for a single system by Insights Inventory UUID
      summary: Retrieve the reports for a single system
      parameters:
      - in: path
        name: uuid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - System
      security:
      - x-rh-identity: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/System'
          description: ''
  /api/insights/v1/system/{uuid}/reports/:
    get:
      operationId: system_reports_list
      description: 'Returns the list of latest reports for an Inventory Host ID.


        Returns reports that:

        * are in the user''s account

        * have an active, not-deleted rule

        * where the rule has not been acked by this account


        If the host ID is not found, return an empty list.'
      parameters:
      - in: query
        name: filter[system_profile][sap_sids][contains]
        schema:
          type: array
          items:
            type: string
            format: regex
            pattern: ^[A-Z]..$
        description: Are there systems which contain these SAP SIDs?
        style: form
      - in: query
        name: groups
        schema:
          type: array
          items:
            type: string
        description: List of Inventory host group names
        style: form
      - in: query
        name: system_type
        schema:
          type: string
          enum:
          - all
          - bootc
          - conventional
          - edge
        description: Display only systems with this type ('all' = both types)
      - in: query
        name: tags
        schema:
          type: array
          items:
            type: string
            format: regex
            pattern: ^[^/]+/[^=]+(=.*)?$
        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: update_method
        schema:
          type: array
          items:
            type: string
            enum:
            - dnfyum
            - ostree
        description: Search for systems with this updater type
        style: form
      - in: path
        name: uuid
        schema:
          type: string
          format: uuid
        required: true
      - 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
      tags:
      - System
      security:
      - x-rh-identity: []
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Report'
          description: ''
      summary: System reports list
      x-summary-source: derived
components:
  schemas:
    System:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        system_uuid:
          type: string
          format: uuid
        display_name:
          type: string
          maxLength: 200
        last_seen:
          type:
          - string
          - 'null'
          format: date-time
          readOnly: true
        stale_at:
          type: string
          format: date-time
          readOnly: true
        hits:
          type: integer
          readOnly: true
        critical_hits:
          type: integer
          readOnly: true
        important_hits:
          type: integer
          readOnly: true
        moderate_hits:
          type: integer
          readOnly: true
        low_hits:
          type: integer
          readOnly: true
        incident_hits:
          type: integer
          readOnly: true
        all_pathway_hits:
          type: integer
          readOnly: true
        pathway_filter_hits:
          type: integer
          readOnly: true
        tags:
          readOnly: true
        workspaces:
          type: array
          items:
            $ref: '#/components/schemas/Workspace'
          readOnly: true
        operating_system:
          allOf:
          - $ref: '#/components/schemas/OperatingSystem'
          readOnly: true
        os_name:
          type: string
          readOnly: true
        rhel_version:
          type: string
          readOnly: true
        group_name:
          type:
          - string
          - 'null'
          readOnly: true
      required:
      - all_pathway_hits
      - critical_hits
      - display_name
      - group_name
      - hits
      - id
      - important_hits
      - incident_hits
      - last_seen
      - low_hits
      - moderate_hits
      - operating_system
      - os_name
      - pathway_filter_hits
      - rhel_version
      - stale_at
      - system_uuid
      - tags
      - workspaces
    RuleImpact:
      type: object
      properties:
        name:
          type: string
          maxLength: 80
        impact:
          type: integer
          maximum: 32767
          minimum: 0
    RuleCategory:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        name:
          type: string
          maxLength: 20
      required:
      - id
      - name
    Rule:
      type: object
      description: 'The standard rule information.  Used for models and relations that don''t

        know the account and therefore can''t know the acks or impacted systems.'
      properties:
        rule_id:
          type: string
          description: Rule ID from Insights
          maxLength: 240
        created_at:
          type: string
          format: date-time
          readOnly: true
        updated_at:
          type: string
          format: date-time
          readOnly: true
        deleted_at:
          type: string
          format: date-time
        description:
          type: string
          maxLength: 240
        active:
          type: boolean
        category:
          $ref: '#/components/schemas/RuleCategory'
        impact:
          $ref: '#/components/schemas/RuleImpact'
        likelihood:
          type: integer
          maximum: 32767
          minimum: 0
        node_id:
          type: string
          description: KCS solution number
          maxLength: 10
        tags:
          type: string
          readOnly: true
        reboot_required:
          type: boolean
        publish_date:
          type:
          - string
          - 'null'
          format: date-time
        summary:
          type: string
        generic:
          type: string
        reason:
          type: string
        more_info:
          type: string
        resolution_set:
          type: array
          items:
            $ref: '#/components/schemas/Resolution'
        total_risk:
          type: integer
          maximum: 32767
          minimum: 0
      required:
      - category
      - created_at
      - description
      - generic
      - impact
      - reason
      - resolution_set
      - rule_id
      - summary
      - tags
      - updated_at
    Workspace:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
          format: uuid
        name:
          type:
          - string
          - 'null'
      required:
      - id
      - name
    Resolution:
      type: object
      properties:
        system_type:
          type: integer
        resolution:
          type: string
        resolution_risk:
          allOf:
          - $ref: '#/components/schemas/ResolutionRisk'
          readOnly: true
        has_playbook:
          type: boolean
          readOnly: true
      required:
      - has_playbook
      - resolution
      - resolution_risk
      - system_type
    OperatingSystem:
      type: object
      properties:
        major:
          type:
          - integer
          - 'null'
        minor:
          type:
          - integer
          - 'null'
        name:
          type: string
          readOnly: true
      required:
      - major
      - minor
      - name
    PaginatedSystemList:
      type: object
      properties:
        meta:
          type: object
          properties:
            count:
              type: integer
              example: 169
          required:
          - count
        links:
          type: object
          properties:
            first:
              type:
              - string
              - 'null'
              format: uri
            previous:
              type:
              - string
              - 'null'
              format: uri
            next:
              type:
              - string
              - 'null'
              format: uri
            last:
              type:
              - string
              - 'null'
              format: uri
        data:
          type: array
          items:
            $ref: '#/components/schemas/System'
    ResolutionRisk:
      type: object
      properties:
        name:
          type: string
          maxLength: 80
        risk:
          type: integer
          maximum: 32767
          minimum: 0
    Report:
      type: object
      properties:
        rule:
          allOf:
          - $ref: '#/components/schemas/Rule'
          readOnly: true
        details: {}
        resolution:
          allOf:
          - $ref: '#/components/schemas/Resolution'
          readOnly: true
        impacted_date:
          type: string
          format: date-time
          readOnly: true
      required:
      - details
      - impacted_date
      - resolution
      - rule
  securitySchemes:
    x-rh-identity:
      type: apiKey
      in: header
      name: x-rh-identity