Red Hat Enterprise Linux 8 Pathway API

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

GitHub OpenAPI

Operations 5

GET /api/insights/v1/pathway/ Return all pathways #
GET /api/insights/v1/pathway/{slug}/ Returns an individual Pathway based on slug #
GET /api/insights/v1/pathway/{slug}/reports/ Get the list of systems for each rule in this pathway #
GET /api/insights/v1/pathway/{slug}/rules/ Get all rules in a Pathway #
GET /api/insights/v1/pathway/{slug}/systems/ Get all impacted systems for an account for a specific Pathway #

Documentation

Specifications

Schemas & Data

Other Resources

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-pathway-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-pathway-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Insights Advisor Pathway 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: pathway
paths:
  /api/insights/v1/pathway/:
    get:
      operationId: pathway_list
      description: 'This returns a list of all Pathways. Will display the same

        information as is provided in the retrieve view, but has all Pathways

        listed.'
      summary: Return all pathways
      parameters:
      - in: query
        name: category
        schema:
          type: array
          items:
            type: integer
            enum:
            - 1
            - 2
            - 3
            - 4
        description: Filter rules of this category (number)
        style: form
      - 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_incident
        schema:
          type: boolean
        description: Display only pathways where there are incidents.
      - in: query
        name: impacting
        schema:
          type: boolean
          default: true
        description: Display pathways even if they aren't impacting systems currently
      - 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: reboot_required
        schema:
          type: boolean
        description: Display only pathways where reboot is required.
      - in: query
        name: sort
        schema:
          type: string
          enum:
          - -impacted_systems_count
          - -name
          - -recommendation_level
          - impacted_systems_count
          - name
          - recommendation_level
          default: name
        description: Order by this field
      - 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: text
        schema:
          type: string
        description: Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on rule ID and name (description) for rules and reports, and display name for systems
      - 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:
      - pathway
      security:
      - x-rh-identity: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedPathwayList'
          description: ''
  /api/insights/v1/pathway/{slug}/:
    get:
      operationId: pathway_retrieve
      description: 'This returns an individual pathway based on slug.

        Will display the same information as is

        provided in the list view.'
      summary: Returns an individual Pathway based on slug
      parameters:
      - in: query
        name: category
        schema:
          type: array
          items:
            type: integer
            enum:
            - 1
            - 2
            - 3
            - 4
        description: Filter rules of this category (number)
        style: form
      - 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: path
        name: slug
        schema:
          type: string
        required: true
      - 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: text
        schema:
          type: string
        description: Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on rule ID and name (description) for rules and reports, and display name for systems
      - 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:
      - pathway
      security:
      - x-rh-identity: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Pathway'
          description: ''
  /api/insights/v1/pathway/{slug}/reports/:
    get:
      operationId: pathway_reports_retrieve
      description: 'Each rule is listed once, with the systems currently reporting an

        incidence of that rule in a list.'
      summary: Get the list of systems for each rule in this pathway
      parameters:
      - in: query
        name: category
        schema:
          type: array
          items:
            type: integer
            enum:
            - 1
            - 2
            - 3
            - 4
        description: Filter rules of this category (number)
        style: form
      - in: query
        name: groups
        schema:
          type: array
          items:
            type: string
        description: List of Inventory host group names
        style: form
      - in: query
        name: host_id
        schema:
          type: array
          items:
            type: string
            format: regex
            pattern: \w+(,\w+)*
        description: Display Pathway Reports of this/these systems
        style: form
      - in: query
        name: rule_id
        schema:
          type: array
          items:
            type: string
            format: regex
            pattern: \w+(,\w+)*
        description: Display Pathway Reports of this/these rules
        style: form
      - in: path
        name: slug
        schema:
          type: string
        required: true
      - in: query
        name: text
        schema:
          type: string
        description: Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on rule ID and name (description) for rules and reports, and display name for systems
      - in: query
        name: update_method
        schema:
          type: array
          items:
            type: string
            enum:
            - dnfyum
            - ostree
        description: Search for systems with this updater type
        style: form
      tags:
      - pathway
      security:
      - x-rh-identity: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RuleSystemsExport'
          description: ''
  /api/insights/v1/pathway/{slug}/rules/:
    get:
      operationId: pathway_rules_list
      description: 'This view will retrieve/list in paginated

        format, all rules for a specific Pathway.

        This does not take into account acks

        or host asks. The Specific Pathway

        is requested by its slug'
      summary: Get all rules in a Pathway
      parameters:
      - in: query
        name: category
        schema:
          type: array
          items:
            type: integer
            enum:
            - 1
            - 2
            - 3
            - 4
        description: Filter rules of this category (number)
        style: form
      - 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: path
        name: slug
        schema:
          type: string
        required: true
      - in: query
        name: text
        schema:
          type: string
        description: Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on rule ID and name (description) for rules and reports, and display name for systems
      tags:
      - pathway
      security:
      - x-rh-identity: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedRuleForAccountList'
          description: ''
  /api/insights/v1/pathway/{slug}/systems/:
    get:
      operationId: pathway_systems_list
      description: 'This view will retrieve/list in paginated

        format, all impacted systems for an account,

        for a specific Pathway. The specific Pathway

        is requested by its slug.'
      summary: Get all impacted systems for an account for a specific Pathway
      parameters:
      - in: query
        name: category
        schema:
          type: array
          items:
            type: integer
            enum:
            - 1
            - 2
            - 3
            - 4
        description: Filter rules of this category (number)
        style: form
      - 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
      - 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: path
        name: slug
        schema:
          type: string
        required: true
      - 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: text
        schema:
          type: string
        description: Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on rule ID and name (description) for rules and reports, and display name for systems
      - 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:
      - pathway
      security:
      - x-rh-identity: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedSystemList'
          description: ''
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
    PaginatedPathwayList:
      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/Pathway'
    Workspace:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
          format: uuid
        name:
          type:
          - string
          - 'null'
      required:
      - id
      - name
    RulePathway:
      type: object
      properties:
        name:
          type: string
          maxLength: 240
        component:
          type: string
          maxLength: 80
        resolution_risk:
          allOf:
          - $ref: '#/components/schemas/ResolutionRisk'
          readOnly: true
      required:
      - component
      - name
      - resolution_risk
    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
    Pathway:
      type: object
      description: 'Serializer specifically for listing

        all Pathways currently in the system'
      properties:
        slug:
          type: string
        name:
          type: string
        description:
          type: string
        component:
          type: string
        resolution_risk:
          $ref: '#/components/schemas/ResolutionRisk'
        publish_date:
          type: string
          format: date-time
        has_playbook:
          type: boolean
        impacted_systems_count:
          type: integer
        reboot_required:
          type: boolean
        has_incident:
          type: boolean
        categories:
          type: array
          items:
            $ref: '#/components/schemas/RuleCategory'
          readOnly: true
        recommendation_level:
          type: number
          format: double
        incident_count:
          type: integer
        critical_risk_count:
          type: integer
        high_risk_count:
          type: integer
        medium_risk_count:
          type: integer
        low_risk_count:
          type: integer
      required:
      - categories
      - component
      - critical_risk_count
      - description
      - has_incident
      - has_playbook
      - high_risk_count
      - impacted_systems_count
      - incident_count
      - low_risk_count
      - medium_risk_count
      - name
      - publish_date
      - reboot_required
      - recommendation_level
      - resolution_risk
      - slug
    RuleForAccount:
      type: object
      description: 'Rule information when we know the account, and therefore can calculate

        the number of impacted systems and the reports_shown/rule_status flags.

        We have to declare those explicitly here because they''re not part of the model.'
      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
        playbook_count:
          type: integer
          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
        impacted_systems_count:
          type: integer
          readOnly: true
        reports_shown:
          type: boolean
          readOnly: true
        rule_status:
          type: string
          readOnly: true
        resolution_set:
          type: array
          items:
            $ref: '#/components/schemas/Resolution'
        total_risk:
          type: integer
          maximum: 32767
          minimum: 0
        hosts_acked_count:
          type: integer
          readOnly: true
        rating:
          type: integer
          readOnly: true
        pathway:
          $ref: '#/components/schemas/RulePathway'
      required:
      - category
      - created_at
      - description
      - generic
      - hosts_acked_count
      - impact
      - impacted_systems_count
      - playbook_count
      - rating
      - reason
      - reports_shown
      - resolution_set
      - rule_id
      - rule_status
      - summary
      - tags
      - updated_at
    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'
    OperatingSystem:
      type: object
      properties:
        major:
          type:
          - integer
          - 'null'
        minor:
          type:
          - integer
          - 'null'
        name:
          type: string
          readOnly: true
      required:
      - major
      - minor
      - name
    PaginatedRuleForAccountList:
      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/RuleForAccount'
    ResolutionRisk:
      type: object
      properties:
        name:
          type: string
          maxLength: 80
        risk:
          type: integer
          maximum: 32767
          minimum: 0
    RuleSystemsExport:
      type: object
      description: List of systems with current reports for each rule.
      properties:
        rules:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
              format: uuid
      required:
      - rules
  securitySchemes:
    x-rh-identity:
      type: apiKey
      in: header
      name: x-rh-identity