Gravitee · Capability

Gravitee.io APIM Management API — API Products

Gravitee.io APIM Management API — API Products. 5 operations. Lead operation: List API Products. Self-contained Naftiko capability covering one Gravitee business surface.

Run with Naftiko GraviteeAPI Products

What You Can Do

GET
Getapiproducts — List API Products
/v1/environments/{envid}/api-products
POST
Createapiproduct — Create an API Product
/v1/environments/{envid}/api-products
POST
Searchapiproducts — Search API Products
/v1/environments/{envid}/api-products/search
PUT
Updateapiproduct — Update an API Product
/v1/environments/{envid}/api-products/{apiproductid}
DELETE
Deleteapiproduct — Delete an API Product
/v1/environments/{envid}/api-products/{apiproductid}

MCP Tools

list-api-products

List API Products

read-only idempotent
create-api-product

Create an API Product

search-api-products

Search API Products

read-only
update-api-product

Update an API Product

idempotent
delete-api-product

Delete an API Product

idempotent

Capability Spec

apim-api-products.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Gravitee.io APIM Management API — API Products
  description: 'Gravitee.io APIM Management API — API Products. 5 operations. Lead operation: List API Products. Self-contained
    Naftiko capability covering one Gravitee business surface.'
  tags:
  - Gravitee
  - API Products
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GRAVITEE_API_KEY: GRAVITEE_API_KEY
capability:
  consumes:
  - type: http
    namespace: apim-api-products
    baseUri: https://{host}/management/v2
    description: Gravitee.io APIM Management API — API Products business capability. Self-contained, no shared references.
    resources:
    - name: environments-envId-api-products
      path: /environments/{envId}/api-products
      operations:
      - name: getapiproducts
        method: GET
        description: List API Products
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createapiproduct
        method: POST
        description: Create an API Product
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: environments-envId-api-products-_search
      path: /environments/{envId}/api-products/_search
      operations:
      - name: searchapiproducts
        method: POST
        description: Search API Products
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: environments-envId-api-products-apiProductId
      path: /environments/{envId}/api-products/{apiProductId}
      operations:
      - name: updateapiproduct
        method: PUT
        description: Update an API Product
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: apiProductId
          in: path
          type: string
          required: true
      - name: deleteapiproduct
        method: DELETE
        description: Delete an API Product
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: apiProductId
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.GRAVITEE_API_KEY}}'
  exposes:
  - type: rest
    namespace: apim-api-products-rest
    port: 8080
    description: REST adapter for Gravitee.io APIM Management API — API Products. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/environments/{envid}/api-products
      name: environments-envid-api-products
      description: REST surface for environments-envId-api-products.
      operations:
      - method: GET
        name: getapiproducts
        description: List API Products
        call: apim-api-products.getapiproducts
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createapiproduct
        description: Create an API Product
        call: apim-api-products.createapiproduct
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/environments/{envid}/api-products/search
      name: environments-envid-api-products-search
      description: REST surface for environments-envId-api-products-_search.
      operations:
      - method: POST
        name: searchapiproducts
        description: Search API Products
        call: apim-api-products.searchapiproducts
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/environments/{envid}/api-products/{apiproductid}
      name: environments-envid-api-products-apiproductid
      description: REST surface for environments-envId-api-products-apiProductId.
      operations:
      - method: PUT
        name: updateapiproduct
        description: Update an API Product
        call: apim-api-products.updateapiproduct
        with:
          apiProductId: rest.apiProductId
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteapiproduct
        description: Delete an API Product
        call: apim-api-products.deleteapiproduct
        with:
          apiProductId: rest.apiProductId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: apim-api-products-mcp
    port: 9090
    transport: http
    description: MCP adapter for Gravitee.io APIM Management API — API Products. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-api-products
      description: List API Products
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apim-api-products.getapiproducts
      outputParameters:
      - type: object
        mapping: $.
    - name: create-api-product
      description: Create an API Product
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: apim-api-products.createapiproduct
      outputParameters:
      - type: object
        mapping: $.
    - name: search-api-products
      description: Search API Products
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: apim-api-products.searchapiproducts
      outputParameters:
      - type: object
        mapping: $.
    - name: update-api-product
      description: Update an API Product
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: apim-api-products.updateapiproduct
      with:
        apiProductId: tools.apiProductId
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-api-product
      description: Delete an API Product
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: apim-api-products.deleteapiproduct
      with:
        apiProductId: tools.apiProductId
      outputParameters:
      - type: object
        mapping: $.