naftiko: 1.0.0-alpha2 info: label: Kibana APIs — Fleet proxies description: 'Kibana APIs — Fleet proxies. 5 operations. Lead operation: Get proxies. Self-contained Naftiko capability covering one Kibana business surface.' tags: - Kibana - Fleet proxies created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: KIBANA_API_KEY: KIBANA_API_KEY capability: consumes: - type: http namespace: kibana-fleet-proxies baseUri: https://{kibana_url} description: Kibana APIs — Fleet proxies business capability. Self-contained, no shared references. resources: - name: api-fleet-proxies path: /api/fleet/proxies operations: - name: getfleetproxies method: GET description: Get proxies outputRawFormat: json outputParameters: - name: result type: object value: $. - name: postfleetproxies method: POST description: Create a proxy outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: kbn-xsrf in: header type: string description: A required header to protect against CSRF attacks required: true - name: body in: body type: object description: Request body (JSON). required: false - name: api-fleet-proxies-itemId path: /api/fleet/proxies/{itemId} operations: - name: deletefleetproxiesitemid method: DELETE description: Delete a proxy outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: kbn-xsrf in: header type: string description: A required header to protect against CSRF attacks required: true - name: itemId in: path type: string description: The ID of the proxy required: true - name: getfleetproxiesitemid method: GET description: Get a proxy outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: itemId in: path type: string description: The ID of the proxy required: true - name: putfleetproxiesitemid method: PUT description: Update a proxy outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: kbn-xsrf in: header type: string description: A required header to protect against CSRF attacks required: true - name: itemId in: path type: string description: The ID of the proxy required: true - name: body in: body type: object description: Request body (JSON). required: false authentication: type: apikey key: Authorization value: '{{env.KIBANA_API_KEY}}' placement: header exposes: - type: rest namespace: kibana-fleet-proxies-rest port: 8080 description: REST adapter for Kibana APIs — Fleet proxies. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/fleet/proxies name: api-fleet-proxies description: REST surface for api-fleet-proxies. operations: - method: GET name: getfleetproxies description: Get proxies call: kibana-fleet-proxies.getfleetproxies outputParameters: - type: object mapping: $. - method: POST name: postfleetproxies description: Create a proxy call: kibana-fleet-proxies.postfleetproxies with: kbn-xsrf: rest.kbn-xsrf body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/fleet/proxies/{itemid} name: api-fleet-proxies-itemid description: REST surface for api-fleet-proxies-itemId. operations: - method: DELETE name: deletefleetproxiesitemid description: Delete a proxy call: kibana-fleet-proxies.deletefleetproxiesitemid with: kbn-xsrf: rest.kbn-xsrf itemId: rest.itemId outputParameters: - type: object mapping: $. - method: GET name: getfleetproxiesitemid description: Get a proxy call: kibana-fleet-proxies.getfleetproxiesitemid with: itemId: rest.itemId outputParameters: - type: object mapping: $. - method: PUT name: putfleetproxiesitemid description: Update a proxy call: kibana-fleet-proxies.putfleetproxiesitemid with: kbn-xsrf: rest.kbn-xsrf itemId: rest.itemId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: kibana-fleet-proxies-mcp port: 9090 transport: http description: MCP adapter for Kibana APIs — Fleet proxies. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-proxies description: Get proxies hints: readOnly: true destructive: false idempotent: true call: kibana-fleet-proxies.getfleetproxies outputParameters: - type: object mapping: $. - name: create-proxy description: Create a proxy hints: readOnly: false destructive: false idempotent: false call: kibana-fleet-proxies.postfleetproxies with: kbn-xsrf: tools.kbn-xsrf body: tools.body outputParameters: - type: object mapping: $. - name: delete-proxy description: Delete a proxy hints: readOnly: false destructive: true idempotent: true call: kibana-fleet-proxies.deletefleetproxiesitemid with: kbn-xsrf: tools.kbn-xsrf itemId: tools.itemId outputParameters: - type: object mapping: $. - name: get-proxy description: Get a proxy hints: readOnly: true destructive: false idempotent: true call: kibana-fleet-proxies.getfleetproxiesitemid with: itemId: tools.itemId outputParameters: - type: object mapping: $. - name: update-proxy description: Update a proxy hints: readOnly: false destructive: false idempotent: true call: kibana-fleet-proxies.putfleetproxiesitemid with: kbn-xsrf: tools.kbn-xsrf itemId: tools.itemId body: tools.body outputParameters: - type: object mapping: $.