Red Hat Enterprise Linux 8 Status API

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

GitHub OpenAPI

Operations 5

GET /status status #
PATCH /status Set status for system vulnerabilities #
GET /api/insights/v1/status/ Status retrieve #
GET /api/insights/v1/status/live/ Status live retrieve #
GET /api/insights/v1/status/ready/ Status ready 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-status-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-status-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloud Services for RHEL Compliance API v2 Status API
  version: v2
  description: This is the API for Cloud Services for RHEL Compliance. You can find out more about Red Hat Cloud Services for RHEL at https://console.redhat.com/
servers:
- url: https://{defaultHost}/api/compliance/v2
  variables:
    defaultHost:
      default: console.redhat.com
tags:
- name: Status
paths:
  /status:
    get:
      summary: status
      tags:
      - Status
      description: Display Compliance status
      operationId: Status
      responses:
        '200':
          description: successful status
          content:
            application/vnd.api+json:
              examples:
                Response example:
                  value:
                    data:
                      api: true
                  summary: ''
                  description: ''
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/status'
        '500':
          description: unsuccessful status
          content:
            application/vnd.api+json:
              examples:
                Response example:
                  value:
                    data:
                      api: false
                  summary: ''
                  description: ''
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/status'
    patch:
      summary: Set status for system vulnerabilities
      description: This endpoint sets status for given systems and CVEs. Use this endpoint when you need to set a status value for system-CVE pairs.
      operationId: manager.status_handler.PatchStatus.patch
      x-methodName: setStatus
      security:
      - ApiKeyAuth: []
      - BasicAuth: []
      requestBody:
        description: Values to be set.
        required: true
        content:
          application/vnd.api+json:
            schema:
              $ref: '#/components/schemas/StatusIn'
              x-body-name: data
      responses:
        '200':
          description: Status successfully updated.
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/StatusOut'
        '404':
          description: Given host/CVE does not exist.
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/Errors'
        '503':
          description: Service is running in read-only mode.
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/Errors'
      tags:
      - Status
  /api/insights/v1/status/:
    get:
      operationId: status_retrieve
      description: 'Provide a simple list of URLs contained here.


        A list of statistics views.'
      tags:
      - Status
      responses:
        '200':
          description: No response body
      summary: Status retrieve
      x-summary-source: derived
  /api/insights/v1/status/live/:
    get:
      operationId: status_live_retrieve
      description: 'Is the Advisor API live and serving requests?


        This returns a dictionary with properties defining the status of the

        components Advisor relies on.


        At the moment this is the same as the Readiness check (see `/ready/`).

        In the future it may include other checks if we need to, but the

        properties of `/ready/` will always be included.'
      tags:
      - Status
      responses:
        '200':
          description: No response body
      summary: Status live retrieve
      x-summary-source: derived
  /api/insights/v1/status/ready/:
    get:
      operationId: status_ready_retrieve
      description: 'Is the Advisor API ready to serve requests?


        This returns a dictionary with properties defining the status of the

        components Advisor relies on.


        * ''django'' should always be True. If Django isn''t ready, you can''t

        get this information :-)

        * ''database'' is True when a database access returns successfully with

        valid information.

        * ''rbac'' is True when we can make a request to the RBAC API and get

        a valid response.

        * ''advisor'' is True if all of the above are True.'
      tags:
      - Status
      responses:
        '200':
          description: No response body
      summary: Status ready retrieve
      x-summary-source: derived
components:
  schemas:
    status:
      type: object
      properties:
        data:
          type: object
          properties:
            api:
              type: boolean
              example: true
    CveOrList:
      oneOf:
      - type: string
        description: CVE name.
        example: CVE-2016-0800
      - type: array
        items:
          type: string
          example: CVE-2016-0800
        description: List of CVEs for a bulk change.
      example: CVE-2016-0800
    MetaPermissions:
      type: object
      properties:
        permissions:
          type: array
          description: Fetched permissions from RBAC for given user
          items:
            type: string
            example: vulnerability:vulnerability_results:read
      required:
      - permissions
    StatusListOut:
      type: object
      properties:
        data:
          type: array
          description: List of available status/status_id pairs.
          items:
            type: object
            properties:
              id:
                type: integer
                description: Internal status_id.
                example: 3
              name:
                type: string
                description: Represenation of internal status_id.
                example: Scheduled for Patch
            required:
            - id
            - name
        meta:
          type: object
          properties:
            total_items:
              type: integer
              description: Total number of available status/status_id pairs.
              example: 1
          required:
          - total_items
      required:
      - data
      - meta
    StatusOut:
      type: object
      properties:
        updated:
          type: array
          items:
            type: object
            properties:
              inventory_id:
                type: string
                example: f35b1e1d-d231-43f2-8e4f-8f9cb01e3aa2
              cve:
                type: string
                example: CVE-2016-0800
            required:
            - inventory_id
            - cve
          description: List of updated objects/updated object IDs.
        meta:
          $ref: '#/components/schemas/MetaPermissions'
      required:
      - updated
    Errors:
      type: object
      properties:
        errors:
          type: array
          items:
            type: object
            properties:
              detail:
                oneOf:
                - type: string
                  description: Error detail.
                  example: Record not found.
                - type: object
                  description: Returned with RBAC (user permissions) related issue
                  properties:
                    msg:
                      type: string
                      description: Error detail related to RBAC problem
                    permissions:
                      type: array
                      items:
                        type: string
                      description: Array with RBAC permissions of user
              status:
                type: string
                description: String representation of HTTP status code.
                example: 404
            required:
            - detail
            - status
          minItems: 1
      required:
      - errors
    StatusIn:
      type: object
      properties:
        inventory_id:
          $ref: '#/components/schemas/InventoryIdOrList'
        cve:
          $ref: '#/components/schemas/CveOrList'
        status_id:
          type: integer
          description: Status ID to be set, obtained by GET method. If not specified, global CVE status is set.
          example: 3
        status_text:
          type:
          - string
          - 'null'
          description: Complementary text to the status.
          example: Not relevant
      required:
      - cve
    InventoryIdOrList:
      oneOf:
      - type: string
        description: Inventory ID.
        example: f35b1e1d-d231-43f2-8e4f-8f9cb01e3aa2
      - type: array
        items:
          type: string
          example: f35b1e1d-d231-43f2-8e4f-8f9cb01e3aa2
        description: List of inventory IDs for a bulk change.
      example: f35b1e1d-d231-43f2-8e4f-8f9cb01e3aa2
  securitySchemes:
    x-rh-identity:
      type: apiKey
      in: header
      name: x-rh-identity
    BasicAuth:
      type: http
      scheme: basic
      description: Username and password login.
      x-basicInfoFunc: manager.base.basic_auth
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-rh-identity
      description: Identity header provided by 3scale (for non-prod testing only).
      x-apikeyInfoFunc: manager.base.auth