naftiko: 1.0.0-alpha2 info: label: openobserve — Service Streams description: 'openobserve — Service Streams. 5 operations. Lead operation: GET /api/{org_id}/service_streams/_analytics. Self-contained Naftiko capability covering one Openobserve business surface.' tags: - Openobserve - Service Streams created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: OPENOBSERVE_API_KEY: OPENOBSERVE_API_KEY capability: consumes: - type: http namespace: openobserve-service-streams baseUri: '' description: openobserve — Service Streams business capability. Self-contained, no shared references. resources: - name: org_id-service_streams path: /{org_id}/service_streams operations: - name: listservicestreams method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: org_id in: path type: string description: Organization ID required: true - name: org_id-service_streams-_analytics path: /{org_id}/service_streams/_analytics operations: - name: getservicestreamanalytics method: GET description: GET /api/{org_id}/service_streams/_analytics outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: org_id in: path type: string description: Organization ID required: true - name: org_id-service_streams-_correlate path: /{org_id}/service_streams/_correlate operations: - name: correlateservicestreams method: POST description: POST /api/{org_id}/service_streams/_correlate outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: org_id in: path type: string description: Organization ID required: true - name: body in: body type: object description: Request body (JSON). required: true - name: org_id-service_streams-config-identity path: /{org_id}/service_streams/config/identity operations: - name: getserviceidentityconfig method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: org_id in: path type: string description: Organization ID required: true - name: saveserviceidentityconfig method: PUT description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: org_id in: path type: string description: Organization ID required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: Authorization value: '{{env.OPENOBSERVE_API_KEY}}' placement: header exposes: - type: rest namespace: openobserve-service-streams-rest port: 8080 description: REST adapter for openobserve — Service Streams. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/{org-id}/service-streams name: org-id-service-streams description: REST surface for org_id-service_streams. operations: - method: GET name: listservicestreams description: listservicestreams call: openobserve-service-streams.listservicestreams with: org_id: rest.org_id outputParameters: - type: object mapping: $. - path: /v1/{org-id}/service-streams/analytics name: org-id-service-streams-analytics description: REST surface for org_id-service_streams-_analytics. operations: - method: GET name: getservicestreamanalytics description: GET /api/{org_id}/service_streams/_analytics call: openobserve-service-streams.getservicestreamanalytics with: org_id: rest.org_id outputParameters: - type: object mapping: $. - path: /v1/{org-id}/service-streams/correlate name: org-id-service-streams-correlate description: REST surface for org_id-service_streams-_correlate. operations: - method: POST name: correlateservicestreams description: POST /api/{org_id}/service_streams/_correlate call: openobserve-service-streams.correlateservicestreams with: org_id: rest.org_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/{org-id}/service-streams/config/identity name: org-id-service-streams-config-identity description: REST surface for org_id-service_streams-config-identity. operations: - method: GET name: getserviceidentityconfig description: getserviceidentityconfig call: openobserve-service-streams.getserviceidentityconfig with: org_id: rest.org_id outputParameters: - type: object mapping: $. - method: PUT name: saveserviceidentityconfig description: saveserviceidentityconfig call: openobserve-service-streams.saveserviceidentityconfig with: org_id: rest.org_id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: openobserve-service-streams-mcp port: 9090 transport: http description: MCP adapter for openobserve — Service Streams. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: listservicestreams description: listservicestreams hints: readOnly: true destructive: false idempotent: true call: openobserve-service-streams.listservicestreams with: org_id: tools.org_id outputParameters: - type: object mapping: $. - name: get-api-org-id-service description: GET /api/{org_id}/service_streams/_analytics hints: readOnly: true destructive: false idempotent: true call: openobserve-service-streams.getservicestreamanalytics with: org_id: tools.org_id outputParameters: - type: object mapping: $. - name: post-api-org-id-service description: POST /api/{org_id}/service_streams/_correlate hints: readOnly: false destructive: false idempotent: false call: openobserve-service-streams.correlateservicestreams with: org_id: tools.org_id body: tools.body outputParameters: - type: object mapping: $. - name: getserviceidentityconfig description: getserviceidentityconfig hints: readOnly: true destructive: false idempotent: true call: openobserve-service-streams.getserviceidentityconfig with: org_id: tools.org_id outputParameters: - type: object mapping: $. - name: saveserviceidentityconfig description: saveserviceidentityconfig hints: readOnly: false destructive: false idempotent: true call: openobserve-service-streams.saveserviceidentityconfig with: org_id: tools.org_id body: tools.body outputParameters: - type: object mapping: $.