Kong · Capability

Konnect API - Go SDK — GraphQL Cost Decorations

Konnect API - Go SDK — GraphQL Cost Decorations. 7 operations. Lead operation: List all GraphQL Cost Decorations. Self-contained Naftiko capability covering one Kong business surface.

Run with Naftiko KongGraphQL Cost Decorations

What You Can Do

GET
Listgraphqlratelimitingadvancedcost — List all GraphQL Cost Decorations
/v1/v2/control-planes/{controlplaneid}/core-entities/graphql-rate-limiting-advanced/costs
GET
Getgraphqlratelimitingadvancedcost — Get a GraphQL Cost Decoration
/v1/v2/control-planes/{controlplaneid}/core-entities/graphql-rate-limiting-advanced/costs/{graphqlcostdecorationid}
GET
Listgraphqlratelimitingadvancedcostwithservice — List all GraphQL Cost Decorations associated with a Service
/v1/v2/control-planes/{controlplaneid}/core-entities/services/{serviceid}/graphql-rate-limiting-advanced/costs
POST
Creategraphqlratelimitingadvancedcostwithservice — Create a new GraphQL Cost Decoration associated with a Service
/v1/v2/control-planes/{controlplaneid}/core-entities/services/{serviceid}/graphql-rate-limiting-advanced/costs
DELETE
Deletegraphqlratelimitingadvancedcostwithservice — Delete a a GraphQL Cost Decoration associated with a Service
/v1/v2/control-planes/{controlplaneid}/core-entities/services/{serviceid}/graphql-rate-limiting-advanced/costs/{graphqlcostdecorationid}
GET
Getgraphqlratelimitingadvancedcostwithservice — Get a GraphQL Cost Decoration associated with a Service
/v1/v2/control-planes/{controlplaneid}/core-entities/services/{serviceid}/graphql-rate-limiting-advanced/costs/{graphqlcostdecorationid}
PUT
Upsertgraphqlratelimitingadvancedcostwithservice — Upsert a GraphQL Cost Decoration associated with a Service
/v1/v2/control-planes/{controlplaneid}/core-entities/services/{serviceid}/graphql-rate-limiting-advanced/costs/{graphqlcostdecorationid}

MCP Tools

list-all-graphql-cost-decorations

List all GraphQL Cost Decorations

read-only idempotent
get-graphql-cost-decoration

Get a GraphQL Cost Decoration

read-only idempotent
list-all-graphql-cost-decorations-2

List all GraphQL Cost Decorations associated with a Service

read-only idempotent
create-new-graphql-cost-decoration

Create a new GraphQL Cost Decoration associated with a Service

delete-graphql-cost-decoration-associated

Delete a a GraphQL Cost Decoration associated with a Service

idempotent
get-graphql-cost-decoration-associated

Get a GraphQL Cost Decoration associated with a Service

read-only idempotent
upsert-graphql-cost-decoration-associated

Upsert a GraphQL Cost Decoration associated with a Service

idempotent

Capability Spec

konnect-platform-graphql-cost-decorations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Konnect API - Go SDK — GraphQL Cost Decorations
  description: 'Konnect API - Go SDK — GraphQL Cost Decorations. 7 operations. Lead operation: List all GraphQL Cost Decorations.
    Self-contained Naftiko capability covering one Kong business surface.'
  tags:
  - Kong
  - GraphQL Cost Decorations
  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-graphql-cost-decorations
    baseUri: https://global.api.konghq.com
    description: Konnect API - Go SDK — GraphQL Cost Decorations business capability. Self-contained, no shared references.
    resources:
    - name: v2-control-planes-controlPlaneId-core-entities-graphql-rate-limiting-advanced-co
      path: /v2/control-planes/{controlPlaneId}/core-entities/graphql-rate-limiting-advanced/costs
      operations:
      - name: listgraphqlratelimitingadvancedcost
        method: GET
        description: List all GraphQL Cost Decorations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v2-control-planes-controlPlaneId-core-entities-graphql-rate-limiting-advanced-co
      path: /v2/control-planes/{controlPlaneId}/core-entities/graphql-rate-limiting-advanced/costs/{GraphQLCostDecorationId}
      operations:
      - name: getgraphqlratelimitingadvancedcost
        method: GET
        description: Get a GraphQL Cost Decoration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v2-control-planes-controlPlaneId-core-entities-services-ServiceId-graphql-rate-l
      path: /v2/control-planes/{controlPlaneId}/core-entities/services/{ServiceId}/graphql-rate-limiting-advanced/costs
      operations:
      - name: listgraphqlratelimitingadvancedcostwithservice
        method: GET
        description: List all GraphQL Cost Decorations associated with a Service
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: creategraphqlratelimitingadvancedcostwithservice
        method: POST
        description: Create a new GraphQL Cost Decoration associated with a Service
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v2-control-planes-controlPlaneId-core-entities-services-ServiceId-graphql-rate-l
      path: /v2/control-planes/{controlPlaneId}/core-entities/services/{ServiceId}/graphql-rate-limiting-advanced/costs/{GraphQLCostDecorationId}
      operations:
      - name: deletegraphqlratelimitingadvancedcostwithservice
        method: DELETE
        description: Delete a a GraphQL Cost Decoration associated with a Service
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: getgraphqlratelimitingadvancedcostwithservice
        method: GET
        description: Get a GraphQL Cost Decoration associated with a Service
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: upsertgraphqlratelimitingadvancedcostwithservice
        method: PUT
        description: Upsert a GraphQL Cost Decoration associated with a Service
        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.KONG_API_KEY}}'
  exposes:
  - type: rest
    namespace: konnect-platform-graphql-cost-decorations-rest
    port: 8080
    description: REST adapter for Konnect API - Go SDK — GraphQL Cost Decorations. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/v2/control-planes/{controlplaneid}/core-entities/graphql-rate-limiting-advanced/costs
      name: v2-control-planes-controlplaneid-core-entities-graphql-rate-limiting-advanced-co
      description: REST surface for v2-control-planes-controlPlaneId-core-entities-graphql-rate-limiting-advanced-co.
      operations:
      - method: GET
        name: listgraphqlratelimitingadvancedcost
        description: List all GraphQL Cost Decorations
        call: konnect-platform-graphql-cost-decorations.listgraphqlratelimitingadvancedcost
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/control-planes/{controlplaneid}/core-entities/graphql-rate-limiting-advanced/costs/{graphqlcostdecorationid}
      name: v2-control-planes-controlplaneid-core-entities-graphql-rate-limiting-advanced-co
      description: REST surface for v2-control-planes-controlPlaneId-core-entities-graphql-rate-limiting-advanced-co.
      operations:
      - method: GET
        name: getgraphqlratelimitingadvancedcost
        description: Get a GraphQL Cost Decoration
        call: konnect-platform-graphql-cost-decorations.getgraphqlratelimitingadvancedcost
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/control-planes/{controlplaneid}/core-entities/services/{serviceid}/graphql-rate-limiting-advanced/costs
      name: v2-control-planes-controlplaneid-core-entities-services-serviceid-graphql-rate-l
      description: REST surface for v2-control-planes-controlPlaneId-core-entities-services-ServiceId-graphql-rate-l.
      operations:
      - method: GET
        name: listgraphqlratelimitingadvancedcostwithservice
        description: List all GraphQL Cost Decorations associated with a Service
        call: konnect-platform-graphql-cost-decorations.listgraphqlratelimitingadvancedcostwithservice
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: creategraphqlratelimitingadvancedcostwithservice
        description: Create a new GraphQL Cost Decoration associated with a Service
        call: konnect-platform-graphql-cost-decorations.creategraphqlratelimitingadvancedcostwithservice
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/control-planes/{controlplaneid}/core-entities/services/{serviceid}/graphql-rate-limiting-advanced/costs/{graphqlcostdecorationid}
      name: v2-control-planes-controlplaneid-core-entities-services-serviceid-graphql-rate-l
      description: REST surface for v2-control-planes-controlPlaneId-core-entities-services-ServiceId-graphql-rate-l.
      operations:
      - method: DELETE
        name: deletegraphqlratelimitingadvancedcostwithservice
        description: Delete a a GraphQL Cost Decoration associated with a Service
        call: konnect-platform-graphql-cost-decorations.deletegraphqlratelimitingadvancedcostwithservice
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getgraphqlratelimitingadvancedcostwithservice
        description: Get a GraphQL Cost Decoration associated with a Service
        call: konnect-platform-graphql-cost-decorations.getgraphqlratelimitingadvancedcostwithservice
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: upsertgraphqlratelimitingadvancedcostwithservice
        description: Upsert a GraphQL Cost Decoration associated with a Service
        call: konnect-platform-graphql-cost-decorations.upsertgraphqlratelimitingadvancedcostwithservice
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: konnect-platform-graphql-cost-decorations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Konnect API - Go SDK — GraphQL Cost Decorations. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: list-all-graphql-cost-decorations
      description: List all GraphQL Cost Decorations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-graphql-cost-decorations.listgraphqlratelimitingadvancedcost
      outputParameters:
      - type: object
        mapping: $.
    - name: get-graphql-cost-decoration
      description: Get a GraphQL Cost Decoration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-graphql-cost-decorations.getgraphqlratelimitingadvancedcost
      outputParameters:
      - type: object
        mapping: $.
    - name: list-all-graphql-cost-decorations-2
      description: List all GraphQL Cost Decorations associated with a Service
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-graphql-cost-decorations.listgraphqlratelimitingadvancedcostwithservice
      outputParameters:
      - type: object
        mapping: $.
    - name: create-new-graphql-cost-decoration
      description: Create a new GraphQL Cost Decoration associated with a Service
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: konnect-platform-graphql-cost-decorations.creategraphqlratelimitingadvancedcostwithservice
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-graphql-cost-decoration-associated
      description: Delete a a GraphQL Cost Decoration associated with a Service
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: konnect-platform-graphql-cost-decorations.deletegraphqlratelimitingadvancedcostwithservice
      outputParameters:
      - type: object
        mapping: $.
    - name: get-graphql-cost-decoration-associated
      description: Get a GraphQL Cost Decoration associated with a Service
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-graphql-cost-decorations.getgraphqlratelimitingadvancedcostwithservice
      outputParameters:
      - type: object
        mapping: $.
    - name: upsert-graphql-cost-decoration-associated
      description: Upsert a GraphQL Cost Decoration associated with a Service
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: konnect-platform-graphql-cost-decorations.upsertgraphqlratelimitingadvancedcostwithservice
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.