Red Hat Enterprise Linux 8 System Profile API

The system_profile API from Red Hat Enterprise Linux 8 — 4 operation(s) for system_profile.

GitHub OpenAPI

Operations 4

GET /system_profile/operating_system get all operating system versions and counts on the account #
GET /system_profile/sap_sids get all sap sids values and counts on the account #
GET /system_profile/sap_system get all sap system values and counts on the account #
POST /system_profile/validate_schema validate system profile schema #

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-profile-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-profile-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: REST interface for the Insights Platform Host Inventory application.
  title: Insights Host Inventory REST Interface System Profile API
  version: 1.0.0
servers:
- description: API server
  url: /api/inventory/v1
tags:
- name: system_profile
paths:
  /system_profile/operating_system:
    get:
      description: 'Required permissions: inventory:hosts:read'
      operationId: api.system_profile.get_operating_system
      parameters:
      - $ref: '#/components/parameters/tagsParam'
      - $ref: '#/components/parameters/perPageParam'
      - $ref: '#/components/parameters/pageParam'
      - $ref: '#/components/parameters/stalenessParam'
      - $ref: '#/components/parameters/registered_with'
      - $ref: '#/components/parameters/filter_param'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SystemProfileOperatingSystemOut'
          description: operating system versions and counts on the account
        '400':
          description: Invalid request.
        '404':
          $ref: '#/components/responses/PageOutOfBounds'
      security:
      - ApiKeyAuth: []
      summary: get all operating system versions and counts on the account
      tags:
      - system_profile
  /system_profile/sap_sids:
    get:
      description: 'Required permissions: inventory:hosts:read'
      operationId: api.system_profile.get_sap_sids
      parameters:
      - $ref: '#/components/parameters/searchParam'
      - $ref: '#/components/parameters/tagsParam'
      - $ref: '#/components/parameters/perPageParam'
      - $ref: '#/components/parameters/pageParam'
      - $ref: '#/components/parameters/stalenessParam'
      - $ref: '#/components/parameters/registered_with'
      - $ref: '#/components/parameters/filter_param'
      responses:
        '200':
          content:
            application/json:
              example:
                count: 1
                page: 1
                per_page: 50
                results:
                - count: 1
                  value: H2O
                total: 1
              schema:
                $ref: '#/components/schemas/SystemProfileSapSystemOut'
          description: sap_system values and counts for the account
        '400':
          description: Invalid request.
        '404':
          $ref: '#/components/responses/PageOutOfBounds'
      security:
      - ApiKeyAuth: []
      summary: get all sap sids values and counts on the account
      tags:
      - system_profile
  /system_profile/sap_system:
    get:
      description: 'Required permissions: inventory:hosts:read'
      operationId: api.system_profile.get_sap_system
      parameters:
      - $ref: '#/components/parameters/tagsParam'
      - $ref: '#/components/parameters/perPageParam'
      - $ref: '#/components/parameters/pageParam'
      - $ref: '#/components/parameters/stalenessParam'
      - $ref: '#/components/parameters/registered_with'
      - $ref: '#/components/parameters/filter_param'
      responses:
        '200':
          content:
            application/json:
              example:
                count: 1
                page: 1
                per_page: 50
                results:
                - count: 1
                  value: true
                total: 1
              schema:
                $ref: '#/components/schemas/SystemProfileSapSystemOut'
          description: sap_system values and counts for the account
        '400':
          description: Invalid request.
        '404':
          $ref: '#/components/responses/PageOutOfBounds'
      security:
      - ApiKeyAuth: []
      summary: get all sap system values and counts on the account
      tags:
      - system_profile
  /system_profile/validate_schema:
    post:
      description: Validates System Profile data from recent Kafka messages against a given spec, and compares it with the current one. Only HBI Admins can access this endpoint.
      operationId: api.system_profile.validate_schema
      parameters:
      - description: The fork of the inventory-schemas repo to use
        in: query
        name: repo_fork
        schema:
          type: string
      - description: The branch of the inventory-schemas repo to use
        in: query
        name: repo_branch
        required: true
        schema:
          type: string
      - description: How many days worth of data to validate
        in: query
        name: days
        schema:
          minimum: 1
          type: integer
      - description: Stops polling when this number of messages has been collected
        in: query
        name: max_messages
        schema:
          default: 10000
          minimum: 1
          type: integer
      responses:
        '200':
          description: Host validation results
        '403':
          description: Forbidden
      security:
      - ApiKeyAuth: []
      summary: validate system profile schema
      tags:
      - system_profile
components:
  schemas:
    Page:
      description: The page number
      example: 1
      type: integer
    SystemProfileOperatingSystemOut:
      example:
        count: 1
        page: 1
        per_page: 50
        results:
        - count: 1
          value:
            major: 9
            minor: 5
            name: RHEL
        total: 1
      properties:
        count:
          $ref: '#/components/schemas/Count'
        page:
          $ref: '#/components/schemas/Page'
        per_page:
          $ref: '#/components/schemas/PerPage'
        results:
          description: The list of operating_system values on the account
          items:
            properties:
              count:
                type: integer
              value:
                properties:
                  major:
                    type:
                    - integer
                    - 'null'
                  minor:
                    type:
                    - integer
                    - 'null'
                  name:
                    type: string
                type: object
            type: object
          type: array
        total:
          $ref: '#/components/schemas/Total'
    SystemProfileSapSystemOut:
      properties:
        count:
          $ref: '#/components/schemas/Count'
        page:
          $ref: '#/components/schemas/Page'
        per_page:
          $ref: '#/components/schemas/PerPage'
        results:
          description: The list of sap_system values on the account
          items:
            properties:
              count:
                type: integer
              value:
                oneOf:
                - type: string
                - type: boolean
            type: object
          type: array
        total:
          $ref: '#/components/schemas/Total'
      type: object
    Count:
      description: The number of items on the current page
      example: 1
      type: integer
    Total:
      description: Total number of items
      example: 1
      type:
      - integer
      - 'null'
    PerPage:
      description: The number of items to return per page
      example: 50
      type: integer
    SystemProfileNestedObject:
      additionalProperties: true
      description: An arbitrary object that allows any additional properties.
      type: object
  parameters:
    stalenessParam:
      description: 'Culling states of the hosts. Default: fresh, stale and stale_warning'
      in: query
      name: staleness
      required: false
      schema:
        default:
        - fresh
        - stale
        - stale_warning
        items:
          enum:
          - fresh
          - stale
          - stale_warning
          - unknown
          type: string
        type: array
    tagsParam:
      description: Filters systems by tag(s). Specify multiple tags as a comma-separated list (e.g. insights-client/security=strict,env/type=prod). Tags with the same namespace and key (their identity) are OR'd (match any value); tags with different identities are AND'd (must match all).
      in: query
      name: tags
      required: false
      schema:
        items:
          pattern: ^([^=/]+/)?(?!.*/=)[^=]+(=[^=]+)?$
          type: string
        type: array
    searchParam:
      description: Used for searching tags and sap_sids that match the given search string. For searching tags, a tag's namespace, key, and/or value is used for matching.
      in: query
      name: search
      required: false
      schema:
        type: string
    filter_param:
      description: 'Filters hosts based on system_profile fields. For example: <br /><br /> &nbsp;&nbsp;&nbsp;&nbsp;{"system_profile": {"workloads": {"sap": {"sap_system": {"eq": "true"}}}}} <br /><br /> which equates to the URL param: <br /><br /> &nbsp;&nbsp;&nbsp;&nbsp;"?filter[system_profile][workloads][sap][sap_system][eq]=true" <br /><br /> To get "edge" hosts, use this explicit filter: <br /><br /> &nbsp;&nbsp;&nbsp;&nbsp;{"system_profile": {"host_type": {"eq": "edge"}}} <br /><br /> which equates to the URL param: <br /><br /> &nbsp;&nbsp;&nbsp;&nbsp;"?filter[system_profile][host_type][eq]=edge" <br /><br /> To get hosts with a specific operating system, use this explicit filter: <br /><br /> &nbsp;&nbsp;&nbsp;&nbsp;{"system_profile": {"operating_system": {"name": {"eq": "rhel"}}}} <br /><br /> which equates to the URL param: <br /><br /> &nbsp;&nbsp;&nbsp;&nbsp;"?filter[system_profile][operating_system][name][eq]=rhel" <br /><br /> To get hosts with a specific operating system version, use this explicit filter: <br /><br /> &nbsp;&nbsp;&nbsp;&nbsp;{"system_profile": {"operating_system": {"rhel": {"version": {"eq": "9"}}}}} <br /><br /> which equates to the URL param: <br /><br /> &nbsp;&nbsp;&nbsp;&nbsp;"?filter[system_profile][operating_system][rhel][version][eq]=9"'
      example: {}
      explode: true
      in: query
      name: filter
      required: false
      schema:
        $ref: '#/components/schemas/SystemProfileNestedObject'
      style: deepObject
    perPageParam:
      description: A number of items to return per page.
      in: query
      name: per_page
      required: false
      schema:
        default: 50
        maximum: 100
        minimum: 1
        type: integer
    registered_with:
      description: Filters out any host not registered by the specified reporters
      in: query
      name: registered_with
      required: false
      schema:
        items:
          enum:
          - insights
          - yupana
          - satellite
          - discovery
          - puptoo
          - rhsm-conduit
          - cloud-connector
          - '!yupana'
          - '!satellite'
          - '!discovery'
          - '!puptoo'
          - '!rhsm-conduit'
          - '!cloud-connector'
          type: string
        type: array
    pageParam:
      description: A page number of the items to return.
      in: query
      name: page
      required: false
      schema:
        default: 1
        maximum: 21474837
        minimum: 1
        type: integer
  responses:
    PageOutOfBounds:
      description: Requested page is outside of the range of available pages
  securitySchemes:
    ApiKeyAuth:
      description: 'Base64-encoded JSON identity header provided by 3Scale. Contains an org_id of the user issuing the request. Format of the JSON: {"identity": {"org_id": "12345678"}}'
      in: header
      name: x-rh-identity
      type: apiKey
      x-apikeyInfoFunc: app.auth.authentication_header_handler
    BearerAuth:
      scheme: bearer
      type: http
      x-bearerInfoFunc: app.auth.bearer_token_handler
externalDocs:
  description: Using APIs to configure Red Hat Lightspeed services
  url: https://docs.redhat.com/en/documentation/red_hat_lightspeed/1-latest/html-single/using_apis_to_configure_red_hat_lightspeed_services/index