naftiko: 1.0.0-alpha2 info: label: SnapLogic Public APIs — Runtime description: 'SnapLogic Public APIs — Runtime. 7 operations. Lead operation: Get Execution Metrics. Self-contained Naftiko capability covering one Snaplogic business surface.' tags: - Snaplogic - Runtime created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SNAPLOGIC_API_KEY: SNAPLOGIC_API_KEY capability: consumes: - type: http namespace: public-apis-runtime baseUri: https://{org}.snaplogic.com/api/1 description: SnapLogic Public APIs — Runtime business capability. Self-contained, no shared references. resources: - name: runtime-apistats-org path: /runtime/apistats/{org} operations: - name: getexecutionmetrics method: GET description: Get Execution Metrics outputRawFormat: json outputParameters: - name: result type: object value: $. - name: runtime-apistats-org-concurrent path: /runtime/apistats/{org}/concurrent operations: - name: getconcurrentexecutionmetrics method: GET description: Get Concurrent Execution Metrics outputRawFormat: json outputParameters: - name: result type: object value: $. - name: runtime-apistats-org-daily path: /runtime/apistats/{org}/daily operations: - name: getdailyexecutionmetrics method: GET description: Get Daily Execution Metrics outputRawFormat: json outputParameters: - name: result type: object value: $. - name: runtime-start-org-ruuid path: /runtime/start/{org}/{ruuid} operations: - name: resumepipelineexecution method: POST description: Resume Pipeline Execution outputRawFormat: json outputParameters: - name: result type: object value: $. - name: runtime-stop-org-ruuid path: /runtime/stop/{org}/{ruuid} operations: - name: stoppipelineexecution method: POST description: Stop Pipeline Execution outputRawFormat: json outputParameters: - name: result type: object value: $. - name: runtime-org path: /runtime/{org} operations: - name: listpipelineexecutions method: GET description: List Pipeline Executions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: status in: query type: string description: Filter executions by status (running, completed, failed, stopped) - name: limit in: query type: integer description: Maximum number of results to return - name: runtime-org-ruuid path: /runtime/{org}/{ruuid} operations: - name: getpipelineexecution method: GET description: Get Pipeline Execution outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.SNAPLOGIC_API_KEY}}' exposes: - type: rest namespace: public-apis-runtime-rest port: 8080 description: REST adapter for SnapLogic Public APIs — Runtime. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/runtime/apistats/{org} name: runtime-apistats-org description: REST surface for runtime-apistats-org. operations: - method: GET name: getexecutionmetrics description: Get Execution Metrics call: public-apis-runtime.getexecutionmetrics outputParameters: - type: object mapping: $. - path: /v1/runtime/apistats/{org}/concurrent name: runtime-apistats-org-concurrent description: REST surface for runtime-apistats-org-concurrent. operations: - method: GET name: getconcurrentexecutionmetrics description: Get Concurrent Execution Metrics call: public-apis-runtime.getconcurrentexecutionmetrics outputParameters: - type: object mapping: $. - path: /v1/runtime/apistats/{org}/daily name: runtime-apistats-org-daily description: REST surface for runtime-apistats-org-daily. operations: - method: GET name: getdailyexecutionmetrics description: Get Daily Execution Metrics call: public-apis-runtime.getdailyexecutionmetrics outputParameters: - type: object mapping: $. - path: /v1/runtime/start/{org}/{ruuid} name: runtime-start-org-ruuid description: REST surface for runtime-start-org-ruuid. operations: - method: POST name: resumepipelineexecution description: Resume Pipeline Execution call: public-apis-runtime.resumepipelineexecution outputParameters: - type: object mapping: $. - path: /v1/runtime/stop/{org}/{ruuid} name: runtime-stop-org-ruuid description: REST surface for runtime-stop-org-ruuid. operations: - method: POST name: stoppipelineexecution description: Stop Pipeline Execution call: public-apis-runtime.stoppipelineexecution outputParameters: - type: object mapping: $. - path: /v1/runtime/{org} name: runtime-org description: REST surface for runtime-org. operations: - method: GET name: listpipelineexecutions description: List Pipeline Executions call: public-apis-runtime.listpipelineexecutions with: status: rest.status limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/runtime/{org}/{ruuid} name: runtime-org-ruuid description: REST surface for runtime-org-ruuid. operations: - method: GET name: getpipelineexecution description: Get Pipeline Execution call: public-apis-runtime.getpipelineexecution outputParameters: - type: object mapping: $. - type: mcp namespace: public-apis-runtime-mcp port: 9090 transport: http description: MCP adapter for SnapLogic Public APIs — Runtime. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-execution-metrics description: Get Execution Metrics hints: readOnly: true destructive: false idempotent: true call: public-apis-runtime.getexecutionmetrics outputParameters: - type: object mapping: $. - name: get-concurrent-execution-metrics description: Get Concurrent Execution Metrics hints: readOnly: true destructive: false idempotent: true call: public-apis-runtime.getconcurrentexecutionmetrics outputParameters: - type: object mapping: $. - name: get-daily-execution-metrics description: Get Daily Execution Metrics hints: readOnly: true destructive: false idempotent: true call: public-apis-runtime.getdailyexecutionmetrics outputParameters: - type: object mapping: $. - name: resume-pipeline-execution description: Resume Pipeline Execution hints: readOnly: false destructive: false idempotent: false call: public-apis-runtime.resumepipelineexecution outputParameters: - type: object mapping: $. - name: stop-pipeline-execution description: Stop Pipeline Execution hints: readOnly: false destructive: false idempotent: false call: public-apis-runtime.stoppipelineexecution outputParameters: - type: object mapping: $. - name: list-pipeline-executions description: List Pipeline Executions hints: readOnly: true destructive: false idempotent: true call: public-apis-runtime.listpipelineexecutions with: status: tools.status limit: tools.limit outputParameters: - type: object mapping: $. - name: get-pipeline-execution description: Get Pipeline Execution hints: readOnly: true destructive: false idempotent: true call: public-apis-runtime.getpipelineexecution outputParameters: - type: object mapping: $.