Kong · Capability

Konnect API - Go SDK — Custom Domains

Konnect API - Go SDK — Custom Domains. 5 operations. Lead operation: List Custom Domains. Self-contained Naftiko capability covering one Kong business surface.

Run with Naftiko KongCustom Domains

What You Can Do

GET
Listcustomdomains — List Custom Domains
/v1/v2/cloud-gateways/custom-domains
POST
Createcustomdomains — Create Custom Domain
/v1/v2/cloud-gateways/custom-domains
GET
Getcustomdomain — Get Custom Domain
/v1/v2/cloud-gateways/custom-domains/{customdomainid}
DELETE
Deletecustomdomain — Delete Custom Domain
/v1/v2/cloud-gateways/custom-domains/{customdomainid}
GET
Getcustomdomainonlinestatus — Get Custom Domain Online Status
/v1/v2/cloud-gateways/custom-domains/{customdomainid}/online-status

MCP Tools

list-custom-domains

List Custom Domains

read-only idempotent
create-custom-domain

Create Custom Domain

get-custom-domain

Get Custom Domain

read-only idempotent
delete-custom-domain

Delete Custom Domain

idempotent
get-custom-domain-online-status

Get Custom Domain Online Status

read-only idempotent

Capability Spec

konnect-platform-custom-domains.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Konnect API - Go SDK — Custom Domains
  description: 'Konnect API - Go SDK — Custom Domains. 5 operations. Lead operation: List Custom Domains. Self-contained Naftiko
    capability covering one Kong business surface.'
  tags:
  - Kong
  - Custom Domains
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    KONG_API_KEY: KONG_API_KEY
capability:
  consumes:
  - type: http
    namespace: konnect-platform-custom-domains
    baseUri: https://global.api.konghq.com
    description: Konnect API - Go SDK — Custom Domains business capability. Self-contained, no shared references.
    resources:
    - name: v2-cloud-gateways-custom-domains
      path: /v2/cloud-gateways/custom-domains
      operations:
      - name: listcustomdomains
        method: GET
        description: List Custom Domains
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createcustomdomains
        method: POST
        description: Create Custom Domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v2-cloud-gateways-custom-domains-customDomainId
      path: /v2/cloud-gateways/custom-domains/{customDomainId}
      operations:
      - name: getcustomdomain
        method: GET
        description: Get Custom Domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deletecustomdomain
        method: DELETE
        description: Delete Custom Domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v2-cloud-gateways-custom-domains-customDomainId-online-status
      path: /v2/cloud-gateways/custom-domains/{customDomainId}/online-status
      operations:
      - name: getcustomdomainonlinestatus
        method: GET
        description: Get Custom Domain Online Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.KONG_API_KEY}}'
  exposes:
  - type: rest
    namespace: konnect-platform-custom-domains-rest
    port: 8080
    description: REST adapter for Konnect API - Go SDK — Custom Domains. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v2/cloud-gateways/custom-domains
      name: v2-cloud-gateways-custom-domains
      description: REST surface for v2-cloud-gateways-custom-domains.
      operations:
      - method: GET
        name: listcustomdomains
        description: List Custom Domains
        call: konnect-platform-custom-domains.listcustomdomains
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createcustomdomains
        description: Create Custom Domain
        call: konnect-platform-custom-domains.createcustomdomains
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/cloud-gateways/custom-domains/{customdomainid}
      name: v2-cloud-gateways-custom-domains-customdomainid
      description: REST surface for v2-cloud-gateways-custom-domains-customDomainId.
      operations:
      - method: GET
        name: getcustomdomain
        description: Get Custom Domain
        call: konnect-platform-custom-domains.getcustomdomain
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletecustomdomain
        description: Delete Custom Domain
        call: konnect-platform-custom-domains.deletecustomdomain
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/cloud-gateways/custom-domains/{customdomainid}/online-status
      name: v2-cloud-gateways-custom-domains-customdomainid-online-status
      description: REST surface for v2-cloud-gateways-custom-domains-customDomainId-online-status.
      operations:
      - method: GET
        name: getcustomdomainonlinestatus
        description: Get Custom Domain Online Status
        call: konnect-platform-custom-domains.getcustomdomainonlinestatus
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: konnect-platform-custom-domains-mcp
    port: 9090
    transport: http
    description: MCP adapter for Konnect API - Go SDK — Custom Domains. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-custom-domains
      description: List Custom Domains
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-custom-domains.listcustomdomains
      outputParameters:
      - type: object
        mapping: $.
    - name: create-custom-domain
      description: Create Custom Domain
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: konnect-platform-custom-domains.createcustomdomains
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-custom-domain
      description: Get Custom Domain
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-custom-domains.getcustomdomain
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-custom-domain
      description: Delete Custom Domain
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: konnect-platform-custom-domains.deletecustomdomain
      outputParameters:
      - type: object
        mapping: $.
    - name: get-custom-domain-online-status
      description: Get Custom Domain Online Status
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-custom-domains.getcustomdomainonlinestatus
      outputParameters:
      - type: object
        mapping: $.