naftiko: 1.0.0-alpha2 info: label: Dataiku DSS Public API — Scenarios description: 'Dataiku DSS Public API — Scenarios. 4 operations. Lead operation: Dataiku List scenarios. Self-contained Naftiko capability covering one Dataiku business surface.' tags: - Dataiku - Scenarios created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DATAIKU_API_KEY: DATAIKU_API_KEY capability: consumes: - type: http namespace: public-scenarios baseUri: https://{dss-host}/public/api description: Dataiku DSS Public API — Scenarios business capability. Self-contained, no shared references. resources: - name: projects-projectKey-scenarios path: /projects/{projectKey}/scenarios operations: - name: listscenarios method: GET description: Dataiku List scenarios outputRawFormat: json outputParameters: - name: result type: object value: $. - name: projects-projectKey-scenarios-scenarioId path: /projects/{projectKey}/scenarios/{scenarioId} operations: - name: getscenario method: GET description: Dataiku Get scenario details outputRawFormat: json outputParameters: - name: result type: object value: $. - name: projects-projectKey-scenarios-scenarioId-light path: /projects/{projectKey}/scenarios/{scenarioId}/light operations: - name: getscenariorunstatus method: GET description: Dataiku Get scenario run status outputRawFormat: json outputParameters: - name: result type: object value: $. - name: projects-projectKey-scenarios-scenarioId-run path: /projects/{projectKey}/scenarios/{scenarioId}/run operations: - name: runscenario method: POST description: Dataiku Run a scenario outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Authorization value: '{{env.DATAIKU_API_KEY}}' placement: header exposes: - type: rest namespace: public-scenarios-rest port: 8080 description: REST adapter for Dataiku DSS Public API — Scenarios. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{projectkey}/scenarios name: projects-projectkey-scenarios description: REST surface for projects-projectKey-scenarios. operations: - method: GET name: listscenarios description: Dataiku List scenarios call: public-scenarios.listscenarios outputParameters: - type: object mapping: $. - path: /v1/projects/{projectkey}/scenarios/{scenarioid} name: projects-projectkey-scenarios-scenarioid description: REST surface for projects-projectKey-scenarios-scenarioId. operations: - method: GET name: getscenario description: Dataiku Get scenario details call: public-scenarios.getscenario outputParameters: - type: object mapping: $. - path: /v1/projects/{projectkey}/scenarios/{scenarioid}/light name: projects-projectkey-scenarios-scenarioid-light description: REST surface for projects-projectKey-scenarios-scenarioId-light. operations: - method: GET name: getscenariorunstatus description: Dataiku Get scenario run status call: public-scenarios.getscenariorunstatus outputParameters: - type: object mapping: $. - path: /v1/projects/{projectkey}/scenarios/{scenarioid}/run name: projects-projectkey-scenarios-scenarioid-run description: REST surface for projects-projectKey-scenarios-scenarioId-run. operations: - method: POST name: runscenario description: Dataiku Run a scenario call: public-scenarios.runscenario outputParameters: - type: object mapping: $. - type: mcp namespace: public-scenarios-mcp port: 9090 transport: http description: MCP adapter for Dataiku DSS Public API — Scenarios. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: dataiku-list-scenarios description: Dataiku List scenarios hints: readOnly: true destructive: false idempotent: true call: public-scenarios.listscenarios outputParameters: - type: object mapping: $. - name: dataiku-get-scenario-details description: Dataiku Get scenario details hints: readOnly: true destructive: false idempotent: true call: public-scenarios.getscenario outputParameters: - type: object mapping: $. - name: dataiku-get-scenario-run-status description: Dataiku Get scenario run status hints: readOnly: true destructive: false idempotent: true call: public-scenarios.getscenariorunstatus outputParameters: - type: object mapping: $. - name: dataiku-run-scenario description: Dataiku Run a scenario hints: readOnly: false destructive: false idempotent: false call: public-scenarios.runscenario outputParameters: - type: object mapping: $.