Apigee · Capability

Apigee API Management API — Observation Sources

Apigee API Management API — Observation Sources. 4 operations. Lead operation: Apigee List Observation Sources. Self-contained Naftiko capability covering one Apigee business surface.

Run with Naftiko ApigeeObservation Sources

What You Can Do

GET
Listobservationsources — Apigee List Observation Sources
/v1/projects/{projectid}/locations/{locationid}/observationsources
POST
Createobservationsource — Apigee Create an Observation Source
/v1/projects/{projectid}/locations/{locationid}/observationsources
GET
Getobservationsource — Apigee Get an Observation Source
/v1/projects/{projectid}/locations/{locationid}/observationsources/{observationsourceid}
DELETE
Deleteobservationsource — Apigee Delete an Observation Source
/v1/projects/{projectid}/locations/{locationid}/observationsources/{observationsourceid}

MCP Tools

apigee-list-observation-sources

Apigee List Observation Sources

read-only idempotent
apigee-create-observation-source

Apigee Create an Observation Source

apigee-get-observation-source

Apigee Get an Observation Source

read-only idempotent
apigee-delete-observation-source

Apigee Delete an Observation Source

idempotent

Capability Spec

apim-observation-sources.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apigee API Management API — Observation Sources
  description: 'Apigee API Management API — Observation Sources. 4 operations. Lead operation: Apigee List Observation Sources.
    Self-contained Naftiko capability covering one Apigee business surface.'
  tags:
  - Apigee
  - Observation Sources
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APIGEE_API_KEY: APIGEE_API_KEY
capability:
  consumes:
  - type: http
    namespace: apim-observation-sources
    baseUri: https://apim.googleapis.com/v1alpha
    description: Apigee API Management API — Observation Sources business capability. Self-contained, no shared references.
    resources:
    - name: projects-projectId-locations-locationId-observationSources
      path: /projects/{projectId}/locations/{locationId}/observationSources
      operations:
      - name: listobservationsources
        method: GET
        description: Apigee List Observation Sources
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createobservationsource
        method: POST
        description: Apigee Create an Observation Source
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: observationSourceId
          in: query
          type: string
          description: Required. The ID to use for the observation source.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: projects-projectId-locations-locationId-observationSources-observationSourceId
      path: /projects/{projectId}/locations/{locationId}/observationSources/{observationSourceId}
      operations:
      - name: getobservationsource
        method: GET
        description: Apigee Get an Observation Source
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: observationSourceId
          in: path
          type: string
          description: ID of the observation source.
          required: true
      - name: deleteobservationsource
        method: DELETE
        description: Apigee Delete an Observation Source
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: observationSourceId
          in: path
          type: string
          description: ID of the observation source.
          required: true
    authentication:
      type: bearer
      token: '{{env.APIGEE_API_KEY}}'
  exposes:
  - type: rest
    namespace: apim-observation-sources-rest
    port: 8080
    description: REST adapter for Apigee API Management API — Observation Sources. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/projects/{projectid}/locations/{locationid}/observationsources
      name: projects-projectid-locations-locationid-observationsources
      description: REST surface for projects-projectId-locations-locationId-observationSources.
      operations:
      - method: GET
        name: listobservationsources
        description: Apigee List Observation Sources
        call: apim-observation-sources.listobservationsources
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createobservationsource
        description: Apigee Create an Observation Source
        call: apim-observation-sources.createobservationsource
        with:
          observationSourceId: rest.observationSourceId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{projectid}/locations/{locationid}/observationsources/{observationsourceid}
      name: projects-projectid-locations-locationid-observationsources-observationsourceid
      description: REST surface for projects-projectId-locations-locationId-observationSources-observationSourceId.
      operations:
      - method: GET
        name: getobservationsource
        description: Apigee Get an Observation Source
        call: apim-observation-sources.getobservationsource
        with:
          observationSourceId: rest.observationSourceId
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteobservationsource
        description: Apigee Delete an Observation Source
        call: apim-observation-sources.deleteobservationsource
        with:
          observationSourceId: rest.observationSourceId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: apim-observation-sources-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apigee API Management API — Observation Sources. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: apigee-list-observation-sources
      description: Apigee List Observation Sources
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apim-observation-sources.listobservationsources
      outputParameters:
      - type: object
        mapping: $.
    - name: apigee-create-observation-source
      description: Apigee Create an Observation Source
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: apim-observation-sources.createobservationsource
      with:
        observationSourceId: tools.observationSourceId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apigee-get-observation-source
      description: Apigee Get an Observation Source
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apim-observation-sources.getobservationsource
      with:
        observationSourceId: tools.observationSourceId
      outputParameters:
      - type: object
        mapping: $.
    - name: apigee-delete-observation-source
      description: Apigee Delete an Observation Source
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: apim-observation-sources.deleteobservationsource
      with:
        observationSourceId: tools.observationSourceId
      outputParameters:
      - type: object
        mapping: $.