naftiko: 1.0.0-alpha2 info: label: Kibana APIs — Data streams description: 'Kibana APIs — Data streams. 2 operations. Lead operation: Get data streams. Self-contained Naftiko capability covering one Kibana business surface.' tags: - Kibana - Data streams created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: KIBANA_API_KEY: KIBANA_API_KEY capability: consumes: - type: http namespace: kibana-data-streams baseUri: https://{kibana_url} description: Kibana APIs — Data streams business capability. Self-contained, no shared references. resources: - name: api-fleet-data_streams path: /api/fleet/data_streams operations: - name: getfleetdatastreams method: GET description: Get data streams outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-fleet-epm-data_streams path: /api/fleet/epm/data_streams operations: - name: getfleetepmdatastreams method: GET description: Get data streams outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: type in: query type: string description: Filter by data stream type - name: datasetQuery in: query type: string description: Filter data streams by dataset name - name: sortOrder in: query type: string description: Sort order, ascending or descending - name: uncategorisedOnly in: query type: boolean description: When true, only return data streams that are not associated with a package authentication: type: apikey key: Authorization value: '{{env.KIBANA_API_KEY}}' placement: header exposes: - type: rest namespace: kibana-data-streams-rest port: 8080 description: REST adapter for Kibana APIs — Data streams. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/fleet/data-streams name: api-fleet-data-streams description: REST surface for api-fleet-data_streams. operations: - method: GET name: getfleetdatastreams description: Get data streams call: kibana-data-streams.getfleetdatastreams outputParameters: - type: object mapping: $. - path: /v1/api/fleet/epm/data-streams name: api-fleet-epm-data-streams description: REST surface for api-fleet-epm-data_streams. operations: - method: GET name: getfleetepmdatastreams description: Get data streams call: kibana-data-streams.getfleetepmdatastreams with: type: rest.type datasetQuery: rest.datasetQuery sortOrder: rest.sortOrder uncategorisedOnly: rest.uncategorisedOnly outputParameters: - type: object mapping: $. - type: mcp namespace: kibana-data-streams-mcp port: 9090 transport: http description: MCP adapter for Kibana APIs — Data streams. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-data-streams description: Get data streams hints: readOnly: true destructive: false idempotent: true call: kibana-data-streams.getfleetdatastreams outputParameters: - type: object mapping: $. - name: get-data-streams-2 description: Get data streams hints: readOnly: true destructive: false idempotent: true call: kibana-data-streams.getfleetepmdatastreams with: type: tools.type datasetQuery: tools.datasetQuery sortOrder: tools.sortOrder uncategorisedOnly: tools.uncategorisedOnly outputParameters: - type: object mapping: $.