naftiko: 1.0.0-alpha2 info: label: SAP Business Intelligence SAP Datasphere API — Spaces description: 'SAP Business Intelligence SAP Datasphere API — Spaces. 5 operations. Lead operation: SAP Business Intelligence List spaces. Self-contained Naftiko capability covering one Sap Bi business surface.' tags: - Sap Bi - Spaces created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SAP_BI_API_KEY: SAP_BI_API_KEY capability: consumes: - type: http namespace: datasphere-spaces baseUri: https://{tenant}.datasphere.cloud.sap/api/v1 description: SAP Business Intelligence SAP Datasphere API — Spaces business capability. Self-contained, no shared references. resources: - name: spaces path: /spaces operations: - name: listspaces method: GET description: SAP Business Intelligence List spaces outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createspace method: POST description: SAP Business Intelligence Create a space outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: spaces-spaceId path: /spaces/{spaceId} operations: - name: getspace method: GET description: SAP Business Intelligence Get a space outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatespace method: PUT description: SAP Business Intelligence Update a space outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletespace method: DELETE description: SAP Business Intelligence Delete a space outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.SAP_BI_API_KEY}}' exposes: - type: rest namespace: datasphere-spaces-rest port: 8080 description: REST adapter for SAP Business Intelligence SAP Datasphere API — Spaces. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/spaces name: spaces description: REST surface for spaces. operations: - method: GET name: listspaces description: SAP Business Intelligence List spaces call: datasphere-spaces.listspaces outputParameters: - type: object mapping: $. - method: POST name: createspace description: SAP Business Intelligence Create a space call: datasphere-spaces.createspace with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/spaces/{spaceid} name: spaces-spaceid description: REST surface for spaces-spaceId. operations: - method: GET name: getspace description: SAP Business Intelligence Get a space call: datasphere-spaces.getspace outputParameters: - type: object mapping: $. - method: PUT name: updatespace description: SAP Business Intelligence Update a space call: datasphere-spaces.updatespace with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletespace description: SAP Business Intelligence Delete a space call: datasphere-spaces.deletespace outputParameters: - type: object mapping: $. - type: mcp namespace: datasphere-spaces-mcp port: 9090 transport: http description: MCP adapter for SAP Business Intelligence SAP Datasphere API — Spaces. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: sap-business-intelligence-list-spaces description: SAP Business Intelligence List spaces hints: readOnly: true destructive: false idempotent: true call: datasphere-spaces.listspaces outputParameters: - type: object mapping: $. - name: sap-business-intelligence-create-space description: SAP Business Intelligence Create a space hints: readOnly: false destructive: false idempotent: false call: datasphere-spaces.createspace with: body: tools.body outputParameters: - type: object mapping: $. - name: sap-business-intelligence-get-space description: SAP Business Intelligence Get a space hints: readOnly: true destructive: false idempotent: true call: datasphere-spaces.getspace outputParameters: - type: object mapping: $. - name: sap-business-intelligence-update-space description: SAP Business Intelligence Update a space hints: readOnly: false destructive: false idempotent: true call: datasphere-spaces.updatespace with: body: tools.body outputParameters: - type: object mapping: $. - name: sap-business-intelligence-delete-space description: SAP Business Intelligence Delete a space hints: readOnly: false destructive: true idempotent: true call: datasphere-spaces.deletespace outputParameters: - type: object mapping: $.