IBM WebSphere · Capability

WebSphere Liberty Admin REST API — Monitoring

WebSphere Liberty Admin REST API — Monitoring. 2 operations. Lead operation: Get Health Check Status. Self-contained Naftiko capability covering one Websphere business surface.

Run with Naftiko WebsphereMonitoring

What You Can Do

GET
Gethealth — Get Health Check Status
/v1/monitoring/health
GET
Getmetrics — Get Server Metrics
/v1/monitoring/metrics

MCP Tools

get-health-check-status

Get Health Check Status

read-only idempotent
get-server-metrics

Get Server Metrics

read-only idempotent

Capability Spec

liberty-admin-rest-monitoring.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: WebSphere Liberty Admin REST API — Monitoring
  description: 'WebSphere Liberty Admin REST API — Monitoring. 2 operations. Lead operation: Get Health Check Status. Self-contained
    Naftiko capability covering one Websphere business surface.'
  tags:
  - Websphere
  - Monitoring
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WEBSPHERE_API_KEY: WEBSPHERE_API_KEY
capability:
  consumes:
  - type: http
    namespace: liberty-admin-rest-monitoring
    baseUri: https://localhost:9443/ibm/api
    description: WebSphere Liberty Admin REST API — Monitoring business capability. Self-contained, no shared references.
    resources:
    - name: monitoring-health
      path: /monitoring/health
      operations:
      - name: gethealth
        method: GET
        description: Get Health Check Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: monitoring-metrics
      path: /monitoring/metrics
      operations:
      - name: getmetrics
        method: GET
        description: Get Server Metrics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: scope
          in: query
          type: string
          description: Metrics scope
    authentication:
      type: apikey
      key: LtpaToken2
      value: '{{env.WEBSPHERE_API_KEY}}'
      placement: cookie
  exposes:
  - type: rest
    namespace: liberty-admin-rest-monitoring-rest
    port: 8080
    description: REST adapter for WebSphere Liberty Admin REST API — Monitoring. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/monitoring/health
      name: monitoring-health
      description: REST surface for monitoring-health.
      operations:
      - method: GET
        name: gethealth
        description: Get Health Check Status
        call: liberty-admin-rest-monitoring.gethealth
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/monitoring/metrics
      name: monitoring-metrics
      description: REST surface for monitoring-metrics.
      operations:
      - method: GET
        name: getmetrics
        description: Get Server Metrics
        call: liberty-admin-rest-monitoring.getmetrics
        with:
          scope: rest.scope
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: liberty-admin-rest-monitoring-mcp
    port: 9090
    transport: http
    description: MCP adapter for WebSphere Liberty Admin REST API — Monitoring. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-health-check-status
      description: Get Health Check Status
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: liberty-admin-rest-monitoring.gethealth
      outputParameters:
      - type: object
        mapping: $.
    - name: get-server-metrics
      description: Get Server Metrics
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: liberty-admin-rest-monitoring.getmetrics
      with:
        scope: tools.scope
      outputParameters:
      - type: object
        mapping: $.