naftiko: 1.0.0-alpha2 info: label: Orion Health Rhapsody Integration API — Monitoring description: 'Orion Health Rhapsody Integration API — Monitoring. 5 operations. Lead operation: Orion Health List monitoring alerts. Self-contained Naftiko capability covering one Orion business surface.' tags: - Orion - Monitoring created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ORION_API_KEY: ORION_API_KEY capability: consumes: - type: http namespace: rhapsody-monitoring baseUri: https://api.orionhealth.com/rhapsody description: Orion Health Rhapsody Integration API — Monitoring business capability. Self-contained, no shared references. resources: - name: monitoring-alerts path: /monitoring/alerts operations: - name: listmonitoringalerts method: GET description: Orion Health List monitoring alerts outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: severity in: query type: string - name: acknowledged in: query type: boolean - name: monitoring-alerts-alertId-acknowledge path: /monitoring/alerts/{alertId}/acknowledge operations: - name: acknowledgealert method: POST description: Orion Health Acknowledge a monitoring alert outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: alertId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: monitoring-dashboard path: /monitoring/dashboard operations: - name: getmonitoringdashboard method: GET description: Orion Health Get monitoring dashboard outputRawFormat: json outputParameters: - name: result type: object value: $. - name: monitoring-health path: /monitoring/health operations: - name: gethealthstatus method: GET description: Orion Health Get system health status outputRawFormat: json outputParameters: - name: result type: object value: $. - name: routes-routeId-statistics path: /routes/{routeId}/statistics operations: - name: getroutestatistics method: GET description: Orion Health Get route processing statistics outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: routeId in: path type: integer required: true - name: periodStart in: query type: string - name: periodEnd in: query type: string - name: interval in: query type: string description: Statistics aggregation interval authentication: type: bearer token: '{{env.ORION_API_KEY}}' exposes: - type: rest namespace: rhapsody-monitoring-rest port: 8080 description: REST adapter for Orion Health Rhapsody Integration API — Monitoring. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/monitoring/alerts name: monitoring-alerts description: REST surface for monitoring-alerts. operations: - method: GET name: listmonitoringalerts description: Orion Health List monitoring alerts call: rhapsody-monitoring.listmonitoringalerts with: severity: rest.severity acknowledged: rest.acknowledged outputParameters: - type: object mapping: $. - path: /v1/monitoring/alerts/{alertid}/acknowledge name: monitoring-alerts-alertid-acknowledge description: REST surface for monitoring-alerts-alertId-acknowledge. operations: - method: POST name: acknowledgealert description: Orion Health Acknowledge a monitoring alert call: rhapsody-monitoring.acknowledgealert with: alertId: rest.alertId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/monitoring/dashboard name: monitoring-dashboard description: REST surface for monitoring-dashboard. operations: - method: GET name: getmonitoringdashboard description: Orion Health Get monitoring dashboard call: rhapsody-monitoring.getmonitoringdashboard outputParameters: - type: object mapping: $. - path: /v1/monitoring/health name: monitoring-health description: REST surface for monitoring-health. operations: - method: GET name: gethealthstatus description: Orion Health Get system health status call: rhapsody-monitoring.gethealthstatus outputParameters: - type: object mapping: $. - path: /v1/routes/{routeid}/statistics name: routes-routeid-statistics description: REST surface for routes-routeId-statistics. operations: - method: GET name: getroutestatistics description: Orion Health Get route processing statistics call: rhapsody-monitoring.getroutestatistics with: routeId: rest.routeId periodStart: rest.periodStart periodEnd: rest.periodEnd interval: rest.interval outputParameters: - type: object mapping: $. - type: mcp namespace: rhapsody-monitoring-mcp port: 9090 transport: http description: MCP adapter for Orion Health Rhapsody Integration API — Monitoring. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: orion-health-list-monitoring-alerts description: Orion Health List monitoring alerts hints: readOnly: true destructive: false idempotent: true call: rhapsody-monitoring.listmonitoringalerts with: severity: tools.severity acknowledged: tools.acknowledged outputParameters: - type: object mapping: $. - name: orion-health-acknowledge-monitoring-alert description: Orion Health Acknowledge a monitoring alert hints: readOnly: false destructive: false idempotent: false call: rhapsody-monitoring.acknowledgealert with: alertId: tools.alertId body: tools.body outputParameters: - type: object mapping: $. - name: orion-health-get-monitoring-dashboard description: Orion Health Get monitoring dashboard hints: readOnly: true destructive: false idempotent: true call: rhapsody-monitoring.getmonitoringdashboard outputParameters: - type: object mapping: $. - name: orion-health-get-system-health description: Orion Health Get system health status hints: readOnly: true destructive: false idempotent: true call: rhapsody-monitoring.gethealthstatus outputParameters: - type: object mapping: $. - name: orion-health-get-route-processing description: Orion Health Get route processing statistics hints: readOnly: true destructive: false idempotent: true call: rhapsody-monitoring.getroutestatistics with: routeId: tools.routeId periodStart: tools.periodStart periodEnd: tools.periodEnd interval: tools.interval outputParameters: - type: object mapping: $.