Couchbase · Capability

Couchbase Capella Management API — API Keys

Couchbase Capella Management API — API Keys. 2 operations. Lead operation: List API keys. Self-contained Naftiko capability covering one Couchbase business surface.

Run with Naftiko CouchbaseAPI Keys

What You Can Do

GET
Listapikeys — List API keys
/v1/v4/organizations/{organizationid}/apikeys
POST
Createapikey — Create an API key
/v1/v4/organizations/{organizationid}/apikeys

MCP Tools

list-api-keys

List API keys

read-only idempotent
create-api-key

Create an API key

Capability Spec

capella-management-api-keys.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Couchbase Capella Management API — API Keys
  description: 'Couchbase Capella Management API — API Keys. 2 operations. Lead operation: List API keys. Self-contained Naftiko
    capability covering one Couchbase business surface.'
  tags:
  - Couchbase
  - API Keys
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    COUCHBASE_API_KEY: COUCHBASE_API_KEY
capability:
  consumes:
  - type: http
    namespace: capella-management-api-keys
    baseUri: https://cloudapi.cloud.couchbase.com
    description: Couchbase Capella Management API — API Keys business capability. Self-contained, no shared references.
    resources:
    - name: v4-organizations-organizationId-apikeys
      path: /v4/organizations/{organizationId}/apikeys
      operations:
      - name: listapikeys
        method: GET
        description: List API keys
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createapikey
        method: POST
        description: Create an API key
        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.COUCHBASE_API_KEY}}'
  exposes:
  - type: rest
    namespace: capella-management-api-keys-rest
    port: 8080
    description: REST adapter for Couchbase Capella Management API — API Keys. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/v4/organizations/{organizationid}/apikeys
      name: v4-organizations-organizationid-apikeys
      description: REST surface for v4-organizations-organizationId-apikeys.
      operations:
      - method: GET
        name: listapikeys
        description: List API keys
        call: capella-management-api-keys.listapikeys
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createapikey
        description: Create an API key
        call: capella-management-api-keys.createapikey
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: capella-management-api-keys-mcp
    port: 9090
    transport: http
    description: MCP adapter for Couchbase Capella Management API — API Keys. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-api-keys
      description: List API keys
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: capella-management-api-keys.listapikeys
      outputParameters:
      - type: object
        mapping: $.
    - name: create-api-key
      description: Create an API key
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: capella-management-api-keys.createapikey
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.