Prometheus · Capability

Prometheus Server — Rules and Alerts

Prometheus Server HTTP API — alerting and recording rule introspection plus currently active alerts. Read-only; alert routing and silencing live in Alertmanager.

Prometheus Server — Rules and Alerts is a Naftiko capability published by Prometheus, one of 7 capabilities the APIs.io network indexes for this provider.

Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Prometheus, Rules, Alerts, and Alerting.

Run with Naftiko PrometheusRulesAlertsAlerting

Capability Spec

prometheus-rules-alerts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Prometheus Server — Rules and Alerts
  description: 'Prometheus Server HTTP API — alerting and recording rule introspection
    plus currently active alerts. Read-only; alert routing and silencing live in
    Alertmanager.'
  tags:
  - Prometheus
  - Rules
  - Alerts
  - Alerting
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    PROMETHEUS_BASE_URL: PROMETHEUS_BASE_URL
capability:
  consumes:
  - type: http
    namespace: prometheus-rules-alerts
    baseUri: '{{env.PROMETHEUS_BASE_URL}}'
    description: Rules and active alerts.
    resources:
    - name: rules
      path: /api/v1/rules
      operations:
      - name: list-rules
        method: GET
        description: Return all configured alerting and recording rules plus the active alerts produced by them.
        outputRawFormat: json
    - name: alerts
      path: /api/v1/alerts
      operations:
      - name: list-alerts
        method: GET
        description: Return the currently active alerts on the server.
        outputRawFormat: json
    - name: alertmanagers
      path: /api/v1/alertmanagers
      operations:
      - name: list-alertmanagers
        method: GET
        description: Return the Alertmanager instances the server is configured to dispatch alerts to.
        outputRawFormat: json
    authentication:
      type: none