Restack · Capability

Restack API — System

Restack API — System. 1 operations. Lead operation: Health Check. Self-contained Naftiko capability covering one Restack business surface.

Run with Naftiko RestackSystem

What You Can Do

GET
Healthcheck — Health Check
/v1/health

MCP Tools

health-check

Health Check

read-only idempotent

Capability Spec

restack-system.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Restack API — System
  description: 'Restack API — System. 1 operations. Lead operation: Health Check. Self-contained Naftiko capability covering
    one Restack business surface.'
  tags:
  - Restack
  - System
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    RESTACK_API_KEY: RESTACK_API_KEY
capability:
  consumes:
  - type: http
    namespace: restack-system
    baseUri: http://localhost:6233
    description: Restack API — System business capability. Self-contained, no shared references.
    resources:
    - name: health
      path: /health
      operations:
      - name: healthcheck
        method: GET
        description: Health Check
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.RESTACK_API_KEY}}'
  exposes:
  - type: rest
    namespace: restack-system-rest
    port: 8080
    description: REST adapter for Restack API — System. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/health
      name: health
      description: REST surface for health.
      operations:
      - method: GET
        name: healthcheck
        description: Health Check
        call: restack-system.healthcheck
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: restack-system-mcp
    port: 9090
    transport: http
    description: MCP adapter for Restack API — System. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: health-check
      description: Health Check
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: restack-system.healthcheck
      outputParameters:
      - type: object
        mapping: $.