Unleash · Capability

Unleash Admin API — Unleash Edge

Unleash Admin API — Unleash Edge. 3 operations. Lead operation: Send Metrics in Bulk. Self-contained Naftiko capability covering one Unleash business surface.

Run with Naftiko UnleashUnleash Edge

What You Can Do

POST
Clientbulkmetrics — Send Metrics in Bulk
/v1/api/client/metrics/bulk
POST
Registeredgeobservabilitymetrics — Register Edge Observability Metrics.
/v1/api/client/metrics/edge
POST
Getvalidtokens — Check Which Tokens Are Valid
/v1/edge/validate

MCP Tools

send-metrics-bulk

Send Metrics in Bulk

register-edge-observability-metrics

Register Edge Observability Metrics.

check-which-tokens-are-valid

Check Which Tokens Are Valid

read-only

Capability Spec

admin-unleash-edge.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Unleash Admin API — Unleash Edge
  description: 'Unleash Admin API — Unleash Edge. 3 operations. Lead operation: Send Metrics in Bulk. Self-contained Naftiko
    capability covering one Unleash business surface.'
  tags:
  - Unleash
  - Unleash Edge
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    UNLEASH_API_KEY: UNLEASH_API_KEY
capability:
  consumes:
  - type: http
    namespace: admin-unleash-edge
    baseUri: https://app.unleash-instance.example.com
    description: Unleash Admin API — Unleash Edge business capability. Self-contained, no shared references.
    resources:
    - name: api-client-metrics-bulk
      path: /api/client/metrics/bulk
      operations:
      - name: clientbulkmetrics
        method: POST
        description: Send Metrics in Bulk
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-client-metrics-edge
      path: /api/client/metrics/edge
      operations:
      - name: registeredgeobservabilitymetrics
        method: POST
        description: Register Edge Observability Metrics.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: edge-validate
      path: /edge/validate
      operations:
      - name: getvalidtokens
        method: POST
        description: Check Which Tokens Are Valid
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.UNLEASH_API_KEY}}'
  exposes:
  - type: rest
    namespace: admin-unleash-edge-rest
    port: 8080
    description: REST adapter for Unleash Admin API — Unleash Edge. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/client/metrics/bulk
      name: api-client-metrics-bulk
      description: REST surface for api-client-metrics-bulk.
      operations:
      - method: POST
        name: clientbulkmetrics
        description: Send Metrics in Bulk
        call: admin-unleash-edge.clientbulkmetrics
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/client/metrics/edge
      name: api-client-metrics-edge
      description: REST surface for api-client-metrics-edge.
      operations:
      - method: POST
        name: registeredgeobservabilitymetrics
        description: Register Edge Observability Metrics.
        call: admin-unleash-edge.registeredgeobservabilitymetrics
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/edge/validate
      name: edge-validate
      description: REST surface for edge-validate.
      operations:
      - method: POST
        name: getvalidtokens
        description: Check Which Tokens Are Valid
        call: admin-unleash-edge.getvalidtokens
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: admin-unleash-edge-mcp
    port: 9090
    transport: http
    description: MCP adapter for Unleash Admin API — Unleash Edge. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: send-metrics-bulk
      description: Send Metrics in Bulk
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: admin-unleash-edge.clientbulkmetrics
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: register-edge-observability-metrics
      description: Register Edge Observability Metrics.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: admin-unleash-edge.registeredgeobservabilitymetrics
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: check-which-tokens-are-valid
      description: Check Which Tokens Are Valid
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: admin-unleash-edge.getvalidtokens
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.