Apigee · Capability

Apigee API Management API — Operations

Apigee API Management API — Operations. 3 operations. Lead operation: Apigee List Operations. Self-contained Naftiko capability covering one Apigee business surface.

Run with Naftiko ApigeeOperations

What You Can Do

GET
Listoperations — Apigee List Operations
/v1/projects/{projectid}/locations/{locationid}/operations
GET
Getoperation — Apigee Get an Operation
/v1/projects/{projectid}/locations/{locationid}/operations/{operationid}
POST
Canceloperation — Apigee Cancel an Operation
/v1/projects/{projectid}/locations/{locationid}/operations/operationid-cancel

MCP Tools

apigee-list-operations

Apigee List Operations

read-only idempotent
apigee-get-operation

Apigee Get an Operation

read-only idempotent
apigee-cancel-operation

Apigee Cancel an Operation

Capability Spec

apim-operations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apigee API Management API — Operations
  description: 'Apigee API Management API — Operations. 3 operations. Lead operation: Apigee List Operations. Self-contained
    Naftiko capability covering one Apigee business surface.'
  tags:
  - Apigee
  - Operations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APIGEE_API_KEY: APIGEE_API_KEY
capability:
  consumes:
  - type: http
    namespace: apim-operations
    baseUri: https://apim.googleapis.com/v1alpha
    description: Apigee API Management API — Operations business capability. Self-contained, no shared references.
    resources:
    - name: projects-projectId-locations-locationId-operations
      path: /projects/{projectId}/locations/{locationId}/operations
      operations:
      - name: listoperations
        method: GET
        description: Apigee List Operations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filter
          in: query
          type: string
          description: Filter expression.
    - name: projects-projectId-locations-locationId-operations-operationId
      path: /projects/{projectId}/locations/{locationId}/operations/{operationId}
      operations:
      - name: getoperation
        method: GET
        description: Apigee Get an Operation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: operationId
          in: path
          type: string
          description: Operation identifier.
          required: true
    - name: projects-projectId-locations-locationId-operations-operationId}:cancel
      path: /projects/{projectId}/locations/{locationId}/operations/{operationId}:cancel
      operations:
      - name: canceloperation
        method: POST
        description: Apigee Cancel an Operation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: operationId
          in: path
          type: string
          description: Operation identifier.
          required: true
    authentication:
      type: bearer
      token: '{{env.APIGEE_API_KEY}}'
  exposes:
  - type: rest
    namespace: apim-operations-rest
    port: 8080
    description: REST adapter for Apigee API Management API — Operations. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/projects/{projectid}/locations/{locationid}/operations
      name: projects-projectid-locations-locationid-operations
      description: REST surface for projects-projectId-locations-locationId-operations.
      operations:
      - method: GET
        name: listoperations
        description: Apigee List Operations
        call: apim-operations.listoperations
        with:
          filter: rest.filter
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{projectid}/locations/{locationid}/operations/{operationid}
      name: projects-projectid-locations-locationid-operations-operationid
      description: REST surface for projects-projectId-locations-locationId-operations-operationId.
      operations:
      - method: GET
        name: getoperation
        description: Apigee Get an Operation
        call: apim-operations.getoperation
        with:
          operationId: rest.operationId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{projectid}/locations/{locationid}/operations/operationid-cancel
      name: projects-projectid-locations-locationid-operations-operationid-cancel
      description: REST surface for projects-projectId-locations-locationId-operations-operationId}:cancel.
      operations:
      - method: POST
        name: canceloperation
        description: Apigee Cancel an Operation
        call: apim-operations.canceloperation
        with:
          operationId: rest.operationId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: apim-operations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apigee API Management API — Operations. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: apigee-list-operations
      description: Apigee List Operations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apim-operations.listoperations
      with:
        filter: tools.filter
      outputParameters:
      - type: object
        mapping: $.
    - name: apigee-get-operation
      description: Apigee Get an Operation
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apim-operations.getoperation
      with:
        operationId: tools.operationId
      outputParameters:
      - type: object
        mapping: $.
    - name: apigee-cancel-operation
      description: Apigee Cancel an Operation
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: apim-operations.canceloperation
      with:
        operationId: tools.operationId
      outputParameters:
      - type: object
        mapping: $.