naftiko: 1.0.0-alpha2 info: label: elastic.io Platform REST API — Flow Versions description: 'elastic.io Platform REST API — Flow Versions. 1 operations. Lead operation: Elastic.io Get a flow version. Self-contained Naftiko capability covering one Elastic Io business surface.' tags: - Elastic Io - Flow Versions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ELASTIC_IO_API_KEY: ELASTIC_IO_API_KEY capability: consumes: - type: http namespace: platform-flow-versions baseUri: https://api.elastic.io/v2 description: elastic.io Platform REST API — Flow Versions business capability. Self-contained, no shared references. resources: - name: flow-versions-flow_version_id path: /flow-versions/{flow_version_id} operations: - name: getflowversion method: GET description: Elastic.io Get a flow version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: flow_version_id in: path type: string required: true authentication: type: bearer token: '{{env.ELASTIC_IO_API_KEY}}' exposes: - type: rest namespace: platform-flow-versions-rest port: 8080 description: REST adapter for elastic.io Platform REST API — Flow Versions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/flow-versions/{flow-version-id} name: flow-versions-flow-version-id description: REST surface for flow-versions-flow_version_id. operations: - method: GET name: getflowversion description: Elastic.io Get a flow version call: platform-flow-versions.getflowversion with: flow_version_id: rest.flow_version_id outputParameters: - type: object mapping: $. - type: mcp namespace: platform-flow-versions-mcp port: 9090 transport: http description: MCP adapter for elastic.io Platform REST API — Flow Versions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: elastic-io-get-flow-version description: Elastic.io Get a flow version hints: readOnly: true destructive: false idempotent: true call: platform-flow-versions.getflowversion with: flow_version_id: tools.flow_version_id outputParameters: - type: object mapping: $.