New Relic · Arazzo Workflow

New Relic Application Health Triage

Version 1.0.0

Resolve an app, branch on health status, and pull recent metric data.

1 workflow 1 source API 1 provider
View Spec View on GitHub AnalysisAnalyticsAPMDevOpsInfrastructureMonitoringObservabilityPerformancePlatformArazzoWorkflows

Provider

new-relic

Workflows

application-health-triage
Resolve an app and branch on whether it is reporting.
Looks up the application by name, captures its id and reporting state, and either retrieves metric data when reporting or enumerates hosts when not reporting.
3 steps inputs: applicationName, metricNames outputs: applicationId, hosts, metricData
1
resolveApplication
Resolve the application by exact name to obtain its id and reporting status for branching.
2
getMetricData
Retrieve recent metric data for the reporting application to assess current performance.
3
listHosts
List the application's hosts to diagnose why the application is not reporting any data.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: New Relic Application Health Triage
  summary: Resolve an app, branch on health status, and pull recent metric data.
  description: >-
    A triage pattern for investigating an application's state. The workflow
    resolves an application by name, reads its health status, and branches: when
    the application is reporting it pulls recent metric data, and when it is not
    reporting it lists the application's hosts to diagnose the gap. Every step
    spells out its request inline so the flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-4220.20
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-4220.20
      capability_name: Observability Management
      spec: new-relic-applications-api-openapi.yml
      confidence: 0.7
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: applicationsApi
  url: ../openapi/new-relic-applications-api-openapi.yml
  type: openapi
workflows:
- workflowId: application-health-triage
  summary: Resolve an app and branch on whether it is reporting.
  description: >-
    Looks up the application by name, captures its id and reporting state, and
    either retrieves metric data when reporting or enumerates hosts when not
    reporting.
  inputs:
    type: object
    required:
    - applicationName
    - metricNames
    properties:
      applicationName:
        type: string
        description: The exact name of the application to triage.
      metricNames:
        type: array
        items:
          type: string
        description: The metric names to retrieve when the application is reporting.
  steps:
  - stepId: resolveApplication
    description: >-
      Resolve the application by exact name to obtain its id and reporting
      status for branching.
    operationId: getApplications
    parameters:
    - name: filter[name]
      in: query
      value: $inputs.applicationName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      applicationId: $response.body#/application/id
      reporting: $response.body#/application/reporting
    onSuccess:
    - name: isReporting
      type: goto
      stepId: getMetricData
      criteria:
      - context: $response.body
        condition: $.application.reporting == true
        type: jsonpath
    - name: notReporting
      type: goto
      stepId: listHosts
      criteria:
      - context: $response.body
        condition: $.application.reporting == false
        type: jsonpath
  - stepId: getMetricData
    description: >-
      Retrieve recent metric data for the reporting application to assess
      current performance.
    operationId: getApplicationsIdMetricsData
    parameters:
    - name: application_id
      in: path
      value: $steps.resolveApplication.outputs.applicationId
    - name: names
      in: query
      value: $inputs.metricNames
    - name: summarize
      in: query
      value: true
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      metricData: $response.body#/metric_data
    onSuccess:
    - name: done
      type: end
  - stepId: listHosts
    description: >-
      List the application's hosts to diagnose why the application is not
      reporting any data.
    operationId: getApplicationsIdHosts
    parameters:
    - name: application_id
      in: path
      value: $steps.resolveApplication.outputs.applicationId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      hosts: $response.body#/application_hosts
  outputs:
    applicationId: $steps.resolveApplication.outputs.applicationId
    metricData: $steps.getMetricData.outputs.metricData
    hosts: $steps.listHosts.outputs.hosts

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/new-relic-application-health-triage-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.