Red Hat · Arazzo Workflow

Red Hat Insights Inspect a System

Version 1.0.0

Pull fleet statistics, find a system by display name, and retrieve its detail.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub CloudContainersEnterpriseHybrid CloudKubernetesLinuxOpen-SourceArazzoWorkflows

Provider

red-hat

Workflows

inspect-system
Read system statistics, locate a system by name, and get its detail.
Gets account system statistics, lists systems filtered by display name, and retrieves the first matching system's record.
3 steps inputs: displayName, sort, token outputs: systemDisplayName, systemUuid
1
getSystemStats
Retrieve account-wide system statistics to establish fleet context before drilling into an individual system.
2
findSystem
List registered systems filtered by display name and capture the uuid of the first match.
3
getSystem
Retrieve the full record of the matched system.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Red Hat Insights Inspect a System
  summary: Pull fleet statistics, find a system by display name, and retrieve its detail.
  description: >-
    A fleet inspection flow for Red Hat Insights. The workflow reads the
    account-wide system statistics for context, searches the registered systems
    for one matching a display name, and retrieves that system's full record.
    Each step inlines its bearer token, parameters, documented success criteria,
    and outputs so it can be executed directly against the Insights API.
  version: 1.0.0
sourceDescriptions:
- name: statsApi
  url: ../openapi/red-hat-stats-api-openapi.yml
  type: openapi
- name: systemsApi
  url: ../openapi/red-hat-systems-api-openapi.yml
  type: openapi
workflows:
- workflowId: inspect-system
  summary: Read system statistics, locate a system by name, and get its detail.
  description: >-
    Gets account system statistics, lists systems filtered by display name, and
    retrieves the first matching system's record.
  inputs:
    type: object
    required:
    - token
    - displayName
    properties:
      token:
        type: string
        description: Bearer token for the Insights API.
      displayName:
        type: string
        description: The display name (or fragment) used to locate the system.
      sort:
        type: string
        description: Sort expression for the system list (e.g. display_name).
  steps:
  - stepId: getSystemStats
    description: >-
      Retrieve account-wide system statistics to establish fleet context before
      drilling into an individual system.
    operationId: getSystemStats
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.token
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      stats: $response.body
  - stepId: findSystem
    description: >-
      List registered systems filtered by display name and capture the uuid of
      the first match.
    operationId: listSystems
    parameters:
    - name: display_name
      in: query
      value: $inputs.displayName
    - name: sort
      in: query
      value: $inputs.sort
    - name: Authorization
      in: header
      value: Bearer $inputs.token
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      systemUuid: $response.body#/results/0/system_uuid
    onSuccess:
    - name: matched
      type: goto
      stepId: getSystem
      criteria:
      - context: $response.body
        condition: $.results.length > 0
        type: jsonpath
    - name: noMatch
      type: end
      criteria:
      - context: $response.body
        condition: $.results.length == 0
        type: jsonpath
  - stepId: getSystem
    description: >-
      Retrieve the full record of the matched system.
    operationId: getSystem
    parameters:
    - name: system_id
      in: path
      value: $steps.findSystem.outputs.systemUuid
    - name: Authorization
      in: header
      value: Bearer $inputs.token
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      systemDisplayName: $response.body#/display_name
  outputs:
    systemUuid: $steps.findSystem.outputs.systemUuid
    systemDisplayName: $steps.getSystem.outputs.systemDisplayName

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • 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 workflow
curl "https://apis.io/api/v1/arazzo/red-hat-insights-inspect-system-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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