Open Liberty Metrics API

MicroProfile Metrics endpoints.

Operations 4

GET /metrics Get all metrics #
GET /metrics/base Get base metrics #
GET /metrics/vendor Get vendor metrics #
GET /metrics/application Get application metrics #

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/open-liberty-metrics-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

open-liberty-metrics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Open Liberty Admin REST Configuration Metrics API
  description: REST management API provided by Open Liberty for managing the server, deploying applications, querying MicroProfile Health and Metrics, and managing server configuration through the REST connector.
  version: 24.0.0
  contact:
    name: Open Liberty
    url: https://openliberty.io/
  license:
    name: Eclipse Public License 1.0
    url: https://www.eclipse.org/legal/epl-v10.html
servers:
- url: https://localhost:9443
  description: Default Open Liberty HTTPS admin endpoint
tags:
- name: Metrics
  description: MicroProfile Metrics endpoints.
paths:
  /metrics:
    get:
      operationId: getAllMetrics
      summary: Get all metrics
      description: Returns all MicroProfile Metrics in Prometheus or JSON format.
      tags:
      - Metrics
      parameters:
      - name: Accept
        in: header
        description: Response format.
        schema:
          type: string
          enum:
          - application/json
          - text/plain
          default: text/plain
      responses:
        '200':
          description: All metrics.
          content:
            text/plain:
              schema:
                type: string
                description: Prometheus format metrics.
            application/json:
              schema:
                type: object
                additionalProperties: true
  /metrics/base:
    get:
      operationId: getBaseMetrics
      summary: Get base metrics
      description: Returns base JVM and runtime metrics.
      tags:
      - Metrics
      responses:
        '200':
          description: Base metrics.
  /metrics/vendor:
    get:
      operationId: getVendorMetrics
      summary: Get vendor metrics
      description: Returns Liberty-specific vendor metrics.
      tags:
      - Metrics
      responses:
        '200':
          description: Vendor metrics.
  /metrics/application:
    get:
      operationId: getApplicationMetrics
      summary: Get application metrics
      description: Returns application-defined metrics.
      tags:
      - Metrics
      responses:
        '200':
          description: Application metrics.
components:
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: Admin user credentials configured in server.xml.