Kong · Capability

Kong Enterprise Admin API — Partials

Kong Enterprise Admin API — Partials. 4 operations. Lead operation: Create a new Partial. Self-contained Naftiko capability covering one Kong business surface.

Run with Naftiko KongPartials

What You Can Do

POST
Createpartial — Create a new Partial
/v1/{workspace}/partials
DELETE
Deletepartial — Delete a Partial
/v1/{workspace}/partials/{partialid}
GET
Getpartial — Get a Partial
/v1/{workspace}/partials/{partialid}
PUT
Upsertpartial — Upsert a Partial
/v1/{workspace}/partials/{partialid}

MCP Tools

create-new-partial

Create a new Partial

delete-partial

Delete a Partial

idempotent
get-partial

Get a Partial

read-only idempotent
upsert-partial

Upsert a Partial

idempotent

Capability Spec

gateway-admin-partials.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Kong Enterprise Admin API — Partials
  description: 'Kong Enterprise Admin API — Partials. 4 operations. Lead operation: Create a new Partial. Self-contained Naftiko
    capability covering one Kong business surface.'
  tags:
  - Kong
  - Partials
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    KONG_API_KEY: KONG_API_KEY
capability:
  consumes:
  - type: http
    namespace: gateway-admin-partials
    baseUri: ''
    description: Kong Enterprise Admin API — Partials business capability. Self-contained, no shared references.
    resources:
    - name: workspace-partials
      path: /{workspace}/partials
      operations:
      - name: createpartial
        method: POST
        description: Create a new Partial
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: workspace-partials-PartialId
      path: /{workspace}/partials/{PartialId}
      operations:
      - name: deletepartial
        method: DELETE
        description: Delete a Partial
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: getpartial
        method: GET
        description: Get a Partial
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: upsertpartial
        method: PUT
        description: Upsert a Partial
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Kong-Admin-Token
      value: '{{env.KONG_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: gateway-admin-partials-rest
    port: 8080
    description: REST adapter for Kong Enterprise Admin API — Partials. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/{workspace}/partials
      name: workspace-partials
      description: REST surface for workspace-partials.
      operations:
      - method: POST
        name: createpartial
        description: Create a new Partial
        call: gateway-admin-partials.createpartial
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/{workspace}/partials/{partialid}
      name: workspace-partials-partialid
      description: REST surface for workspace-partials-PartialId.
      operations:
      - method: DELETE
        name: deletepartial
        description: Delete a Partial
        call: gateway-admin-partials.deletepartial
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getpartial
        description: Get a Partial
        call: gateway-admin-partials.getpartial
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: upsertpartial
        description: Upsert a Partial
        call: gateway-admin-partials.upsertpartial
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: gateway-admin-partials-mcp
    port: 9090
    transport: http
    description: MCP adapter for Kong Enterprise Admin API — Partials. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: create-new-partial
      description: Create a new Partial
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: gateway-admin-partials.createpartial
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-partial
      description: Delete a Partial
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: gateway-admin-partials.deletepartial
      outputParameters:
      - type: object
        mapping: $.
    - name: get-partial
      description: Get a Partial
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gateway-admin-partials.getpartial
      outputParameters:
      - type: object
        mapping: $.
    - name: upsert-partial
      description: Upsert a Partial
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: gateway-admin-partials.upsertpartial
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.