Restate · Capability

Admin API — service_handler

Admin API — service_handler. 2 operations. Lead operation: List Service Handlers. Self-contained Naftiko capability covering one Restate business surface.

Run with Naftiko Restateservice_handler

What You Can Do

GET
Listservicehandlers — List Service Handlers
/v1/services/{service}/handlers
GET
Getservicehandler — Get Service Handler
/v1/services/{service}/handlers/{handler}

MCP Tools

list-service-handlers

List Service Handlers

read-only idempotent
get-service-handler

Get Service Handler

read-only idempotent

Capability Spec

admin-service-handler.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Admin API — service_handler
  description: 'Admin API — service_handler. 2 operations. Lead operation: List Service Handlers. Self-contained Naftiko capability
    covering one Restate business surface.'
  tags:
  - Restate
  - service_handler
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    RESTATE_API_KEY: RESTATE_API_KEY
capability:
  consumes:
  - type: http
    namespace: admin-service-handler
    baseUri: ''
    description: Admin API — service_handler business capability. Self-contained, no shared references.
    resources:
    - name: services-service-handlers
      path: /services/{service}/handlers
      operations:
      - name: listservicehandlers
        method: GET
        description: List Service Handlers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: service
          in: path
          type: string
          description: Fully qualified service name.
          required: true
    - name: services-service-handlers-handler
      path: /services/{service}/handlers/{handler}
      operations:
      - name: getservicehandler
        method: GET
        description: Get Service Handler
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: service
          in: path
          type: string
          description: Fully qualified service name.
          required: true
        - name: handler
          in: path
          type: string
          description: Handler name.
          required: true
  exposes:
  - type: rest
    namespace: admin-service-handler-rest
    port: 8080
    description: REST adapter for Admin API — service_handler. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/services/{service}/handlers
      name: services-service-handlers
      description: REST surface for services-service-handlers.
      operations:
      - method: GET
        name: listservicehandlers
        description: List Service Handlers
        call: admin-service-handler.listservicehandlers
        with:
          service: rest.service
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/services/{service}/handlers/{handler}
      name: services-service-handlers-handler
      description: REST surface for services-service-handlers-handler.
      operations:
      - method: GET
        name: getservicehandler
        description: Get Service Handler
        call: admin-service-handler.getservicehandler
        with:
          service: rest.service
          handler: rest.handler
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: admin-service-handler-mcp
    port: 9090
    transport: http
    description: MCP adapter for Admin API — service_handler. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-service-handlers
      description: List Service Handlers
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-service-handler.listservicehandlers
      with:
        service: tools.service
      outputParameters:
      - type: object
        mapping: $.
    - name: get-service-handler
      description: Get Service Handler
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-service-handler.getservicehandler
      with:
        service: tools.service
        handler: tools.handler
      outputParameters:
      - type: object
        mapping: $.