Couchbase · Capability

Couchbase Eventing Service REST API — Logging

Couchbase Eventing Service REST API — Logging. 1 operations. Lead operation: Get Eventing Function application log. Self-contained Naftiko capability covering one Couchbase business surface.

Run with Naftiko CouchbaseLogging

What You Can Do

GET
Geteventingfunctionlog — Get Eventing Function application log
/v1/api/v1/functions/{functionname}/applog

MCP Tools

get-eventing-function-application-log

Get Eventing Function application log

read-only idempotent

Capability Spec

eventing-service-rest-logging.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Couchbase Eventing Service REST API — Logging
  description: 'Couchbase Eventing Service REST API — Logging. 1 operations. Lead operation: Get Eventing Function application
    log. Self-contained Naftiko capability covering one Couchbase business surface.'
  tags:
  - Couchbase
  - Logging
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    COUCHBASE_API_KEY: COUCHBASE_API_KEY
capability:
  consumes:
  - type: http
    namespace: eventing-service-rest-logging
    baseUri: https://localhost:8096
    description: Couchbase Eventing Service REST API — Logging business capability. Self-contained, no shared references.
    resources:
    - name: api-v1-functions-functionName-applog
      path: /api/v1/functions/{functionName}/applog
      operations:
      - name: geteventingfunctionlog
        method: GET
        description: Get Eventing Function application log
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: aggregate
          in: query
          type: boolean
          description: Whether to aggregate logs from all nodes
    authentication:
      type: basic
      username: '{{env.COUCHBASE_USER}}'
      password: '{{env.COUCHBASE_PASS}}'
  exposes:
  - type: rest
    namespace: eventing-service-rest-logging-rest
    port: 8080
    description: REST adapter for Couchbase Eventing Service REST API — Logging. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/api/v1/functions/{functionname}/applog
      name: api-v1-functions-functionname-applog
      description: REST surface for api-v1-functions-functionName-applog.
      operations:
      - method: GET
        name: geteventingfunctionlog
        description: Get Eventing Function application log
        call: eventing-service-rest-logging.geteventingfunctionlog
        with:
          aggregate: rest.aggregate
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: eventing-service-rest-logging-mcp
    port: 9090
    transport: http
    description: MCP adapter for Couchbase Eventing Service REST API — Logging. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-eventing-function-application-log
      description: Get Eventing Function application log
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: eventing-service-rest-logging.geteventingfunctionlog
      with:
        aggregate: tools.aggregate
      outputParameters:
      - type: object
        mapping: $.