Thanos · Capability

Thanos Compact API — Health

Thanos Compact API — Health. 2 operations. Lead operation: Thanos Liveness Check. Self-contained Naftiko capability covering one Thanos business surface.

Run with Naftiko ThanosHealth

What You Can Do

GET
Getcompacthealthy — Thanos Liveness Check
/v1//healthy
GET
Getcompactready — Thanos Readiness Check
/v1//ready

MCP Tools

thanos-liveness-check

Thanos Liveness Check

read-only idempotent
thanos-readiness-check

Thanos Readiness Check

read-only idempotent

Capability Spec

compact-health.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Thanos Compact API — Health
  description: 'Thanos Compact API — Health. 2 operations. Lead operation: Thanos Liveness Check. Self-contained Naftiko capability
    covering one Thanos business surface.'
  tags:
  - Thanos
  - Health
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    THANOS_API_KEY: THANOS_API_KEY
capability:
  consumes:
  - type: http
    namespace: compact-health
    baseUri: http://localhost:10902
    description: Thanos Compact API — Health business capability. Self-contained, no shared references.
    resources:
    - name: --healthy
      path: /-/healthy
      operations:
      - name: getcompacthealthy
        method: GET
        description: Thanos Liveness Check
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: --ready
      path: /-/ready
      operations:
      - name: getcompactready
        method: GET
        description: Thanos Readiness Check
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: compact-health-rest
    port: 8080
    description: REST adapter for Thanos Compact API — Health. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1//healthy
      name: healthy
      description: REST surface for --healthy.
      operations:
      - method: GET
        name: getcompacthealthy
        description: Thanos Liveness Check
        call: compact-health.getcompacthealthy
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1//ready
      name: ready
      description: REST surface for --ready.
      operations:
      - method: GET
        name: getcompactready
        description: Thanos Readiness Check
        call: compact-health.getcompactready
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: compact-health-mcp
    port: 9090
    transport: http
    description: MCP adapter for Thanos Compact API — Health. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: thanos-liveness-check
      description: Thanos Liveness Check
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: compact-health.getcompacthealthy
      outputParameters:
      - type: object
        mapping: $.
    - name: thanos-readiness-check
      description: Thanos Readiness Check
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: compact-health.getcompactready
      outputParameters:
      - type: object
        mapping: $.