Apigee · Capability

Apigee API Hub API

Apigee API Hub API. 5 operations. Lead operation: Apigee List APIs. Self-contained Naftiko capability covering one Apigee business surface.

Run with Naftiko Apigee

What You Can Do

GET
Listapis — Apigee List APIs
/v1/projects/{projectid}/locations/{locationid}/apis
POST
Createapi — Apigee Create an API
/v1/projects/{projectid}/locations/{locationid}/apis
GET
Getapi — Apigee Get an API
/v1/projects/{projectid}/locations/{locationid}/apis/{apiid}
PATCH
Updateapi — Apigee Update an API
/v1/projects/{projectid}/locations/{locationid}/apis/{apiid}
DELETE
Deleteapi — Apigee Delete an API
/v1/projects/{projectid}/locations/{locationid}/apis/{apiid}

MCP Tools

apigee-list-apis

Apigee List APIs

read-only idempotent
apigee-create-api

Apigee Create an API

apigee-get-api

Apigee Get an API

read-only idempotent
apigee-update-api

Apigee Update an API

idempotent
apigee-delete-api

Apigee Delete an API

idempotent

Capability Spec

api-hub-general.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apigee API Hub API
  description: 'Apigee API Hub API. 5 operations. Lead operation: Apigee List APIs. Self-contained Naftiko capability covering
    one Apigee business surface.'
  tags:
  - Apigee
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APIGEE_API_KEY: APIGEE_API_KEY
capability:
  consumes:
  - type: http
    namespace: api-hub-general
    baseUri: https://apihub.googleapis.com/v1
    description: Apigee API Hub API business capability. Self-contained, no shared references.
    resources:
    - name: projects-projectId-locations-locationId-apis
      path: /projects/{projectId}/locations/{locationId}/apis
      operations:
      - name: listapis
        method: GET
        description: Apigee List APIs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filter
          in: query
          type: string
          description: Filter expression to narrow the results.
      - name: createapi
        method: POST
        description: Apigee Create an API
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: apiId
          in: query
          type: string
          description: Required. The ID to use for the API resource, which will become the final component of the API's resource
            name.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: projects-projectId-locations-locationId-apis-apiId
      path: /projects/{projectId}/locations/{locationId}/apis/{apiId}
      operations:
      - name: getapi
        method: GET
        description: Apigee Get an API
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateapi
        method: PATCH
        description: Apigee Update an API
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: updateMask
          in: query
          type: string
          description: Required. The list of fields to update. Use comma-separated field names.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteapi
        method: DELETE
        description: Apigee Delete an API
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.APIGEE_API_KEY}}'
  exposes:
  - type: rest
    namespace: api-hub-general-rest
    port: 8080
    description: REST adapter for Apigee API Hub API. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/projects/{projectid}/locations/{locationid}/apis
      name: projects-projectid-locations-locationid-apis
      description: REST surface for projects-projectId-locations-locationId-apis.
      operations:
      - method: GET
        name: listapis
        description: Apigee List APIs
        call: api-hub-general.listapis
        with:
          filter: rest.filter
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createapi
        description: Apigee Create an API
        call: api-hub-general.createapi
        with:
          apiId: rest.apiId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{projectid}/locations/{locationid}/apis/{apiid}
      name: projects-projectid-locations-locationid-apis-apiid
      description: REST surface for projects-projectId-locations-locationId-apis-apiId.
      operations:
      - method: GET
        name: getapi
        description: Apigee Get an API
        call: api-hub-general.getapi
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updateapi
        description: Apigee Update an API
        call: api-hub-general.updateapi
        with:
          updateMask: rest.updateMask
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteapi
        description: Apigee Delete an API
        call: api-hub-general.deleteapi
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: api-hub-general-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apigee API Hub API. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: apigee-list-apis
      description: Apigee List APIs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: api-hub-general.listapis
      with:
        filter: tools.filter
      outputParameters:
      - type: object
        mapping: $.
    - name: apigee-create-api
      description: Apigee Create an API
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: api-hub-general.createapi
      with:
        apiId: tools.apiId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apigee-get-api
      description: Apigee Get an API
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: api-hub-general.getapi
      outputParameters:
      - type: object
        mapping: $.
    - name: apigee-update-api
      description: Apigee Update an API
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: api-hub-general.updateapi
      with:
        updateMask: tools.updateMask
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apigee-delete-api
      description: Apigee Delete an API
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: api-hub-general.deleteapi
      outputParameters:
      - type: object
        mapping: $.