naftiko: 1.0.0-alpha2 info: label: Kibana APIs — Elastic Agent binary download sources description: 'Kibana APIs — Elastic Agent binary download sources. 5 operations. Lead operation: Get agent binary download sources. Self-contained Naftiko capability covering one Kibana business surface.' tags: - Kibana - Elastic Agent binary download sources created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: KIBANA_API_KEY: KIBANA_API_KEY capability: consumes: - type: http namespace: kibana-elastic-agent-binary-download-sources baseUri: https://{kibana_url} description: Kibana APIs — Elastic Agent binary download sources business capability. Self-contained, no shared references. resources: - name: api-fleet-agent_download_sources path: /api/fleet/agent_download_sources operations: - name: getfleetagentdownloadsources method: GET description: Get agent binary download sources outputRawFormat: json outputParameters: - name: result type: object value: $. - name: postfleetagentdownloadsources method: POST description: Create an agent binary download source 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-agent_download_sources-sourceId path: /api/fleet/agent_download_sources/{sourceId} operations: - name: deletefleetagentdownloadsourcessourceid method: DELETE description: Delete an agent binary download source 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: sourceId in: path type: string description: The ID of the download source required: true - name: getfleetagentdownloadsourcessourceid method: GET description: Get an agent binary download source outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: sourceId in: path type: string description: The ID of the download source required: true - name: putfleetagentdownloadsourcessourceid method: PUT description: Update an agent binary download source 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: sourceId in: path type: string description: The ID of the download source 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-elastic-agent-binary-download-sources-rest port: 8080 description: REST adapter for Kibana APIs — Elastic Agent binary download sources. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/fleet/agent-download-sources name: api-fleet-agent-download-sources description: REST surface for api-fleet-agent_download_sources. operations: - method: GET name: getfleetagentdownloadsources description: Get agent binary download sources call: kibana-elastic-agent-binary-download-sources.getfleetagentdownloadsources outputParameters: - type: object mapping: $. - method: POST name: postfleetagentdownloadsources description: Create an agent binary download source call: kibana-elastic-agent-binary-download-sources.postfleetagentdownloadsources with: kbn-xsrf: rest.kbn-xsrf body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/fleet/agent-download-sources/{sourceid} name: api-fleet-agent-download-sources-sourceid description: REST surface for api-fleet-agent_download_sources-sourceId. operations: - method: DELETE name: deletefleetagentdownloadsourcessourceid description: Delete an agent binary download source call: kibana-elastic-agent-binary-download-sources.deletefleetagentdownloadsourcessourceid with: kbn-xsrf: rest.kbn-xsrf sourceId: rest.sourceId outputParameters: - type: object mapping: $. - method: GET name: getfleetagentdownloadsourcessourceid description: Get an agent binary download source call: kibana-elastic-agent-binary-download-sources.getfleetagentdownloadsourcessourceid with: sourceId: rest.sourceId outputParameters: - type: object mapping: $. - method: PUT name: putfleetagentdownloadsourcessourceid description: Update an agent binary download source call: kibana-elastic-agent-binary-download-sources.putfleetagentdownloadsourcessourceid with: kbn-xsrf: rest.kbn-xsrf sourceId: rest.sourceId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: kibana-elastic-agent-binary-download-sources-mcp port: 9090 transport: http description: MCP adapter for Kibana APIs — Elastic Agent binary download sources. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-agent-binary-download-sources description: Get agent binary download sources hints: readOnly: true destructive: false idempotent: true call: kibana-elastic-agent-binary-download-sources.getfleetagentdownloadsources outputParameters: - type: object mapping: $. - name: create-agent-binary-download-source description: Create an agent binary download source hints: readOnly: false destructive: false idempotent: false call: kibana-elastic-agent-binary-download-sources.postfleetagentdownloadsources with: kbn-xsrf: tools.kbn-xsrf body: tools.body outputParameters: - type: object mapping: $. - name: delete-agent-binary-download-source description: Delete an agent binary download source hints: readOnly: false destructive: true idempotent: true call: kibana-elastic-agent-binary-download-sources.deletefleetagentdownloadsourcessourceid with: kbn-xsrf: tools.kbn-xsrf sourceId: tools.sourceId outputParameters: - type: object mapping: $. - name: get-agent-binary-download-source description: Get an agent binary download source hints: readOnly: true destructive: false idempotent: true call: kibana-elastic-agent-binary-download-sources.getfleetagentdownloadsourcessourceid with: sourceId: tools.sourceId outputParameters: - type: object mapping: $. - name: update-agent-binary-download-source description: Update an agent binary download source hints: readOnly: false destructive: false idempotent: true call: kibana-elastic-agent-binary-download-sources.putfleetagentdownloadsourcessourceid with: kbn-xsrf: tools.kbn-xsrf sourceId: tools.sourceId body: tools.body outputParameters: - type: object mapping: $.