naftiko: 1.0.0-alpha2 info: label: SAP Business Intelligence SAP Analytics Cloud API — Models description: 'SAP Business Intelligence SAP Analytics Cloud API — Models. 7 operations. Lead operation: SAP Business Intelligence List models. Self-contained Naftiko capability covering one Sap Bi business surface.' tags: - Sap Bi - Models 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: analytics-cloud-models baseUri: https://{tenant}.sapanalytics.cloud/api/v1 description: SAP Business Intelligence SAP Analytics Cloud API — Models business capability. Self-contained, no shared references. resources: - name: models path: /models operations: - name: listmodels method: GET description: SAP Business Intelligence List models outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createmodel method: POST description: SAP Business Intelligence Create a model outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: models-modelId path: /models/{modelId} operations: - name: getmodel method: GET description: SAP Business Intelligence Get a model outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatemodel method: PUT description: SAP Business Intelligence Update a model outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletemodel method: DELETE description: SAP Business Intelligence Delete a model outputRawFormat: json outputParameters: - name: result type: object value: $. - name: models-modelId-dimensions path: /models/{modelId}/dimensions operations: - name: listmodeldimensions method: GET description: SAP Business Intelligence List model dimensions outputRawFormat: json outputParameters: - name: result type: object value: $. - name: models-modelId-measures path: /models/{modelId}/measures operations: - name: listmodelmeasures method: GET description: SAP Business Intelligence List model measures outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.SAP_BI_API_KEY}}' exposes: - type: rest namespace: analytics-cloud-models-rest port: 8080 description: REST adapter for SAP Business Intelligence SAP Analytics Cloud API — Models. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/models name: models description: REST surface for models. operations: - method: GET name: listmodels description: SAP Business Intelligence List models call: analytics-cloud-models.listmodels outputParameters: - type: object mapping: $. - method: POST name: createmodel description: SAP Business Intelligence Create a model call: analytics-cloud-models.createmodel with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/models/{modelid} name: models-modelid description: REST surface for models-modelId. operations: - method: GET name: getmodel description: SAP Business Intelligence Get a model call: analytics-cloud-models.getmodel outputParameters: - type: object mapping: $. - method: PUT name: updatemodel description: SAP Business Intelligence Update a model call: analytics-cloud-models.updatemodel with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletemodel description: SAP Business Intelligence Delete a model call: analytics-cloud-models.deletemodel outputParameters: - type: object mapping: $. - path: /v1/models/{modelid}/dimensions name: models-modelid-dimensions description: REST surface for models-modelId-dimensions. operations: - method: GET name: listmodeldimensions description: SAP Business Intelligence List model dimensions call: analytics-cloud-models.listmodeldimensions outputParameters: - type: object mapping: $. - path: /v1/models/{modelid}/measures name: models-modelid-measures description: REST surface for models-modelId-measures. operations: - method: GET name: listmodelmeasures description: SAP Business Intelligence List model measures call: analytics-cloud-models.listmodelmeasures outputParameters: - type: object mapping: $. - type: mcp namespace: analytics-cloud-models-mcp port: 9090 transport: http description: MCP adapter for SAP Business Intelligence SAP Analytics Cloud API — Models. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: sap-business-intelligence-list-models description: SAP Business Intelligence List models hints: readOnly: true destructive: false idempotent: true call: analytics-cloud-models.listmodels outputParameters: - type: object mapping: $. - name: sap-business-intelligence-create-model description: SAP Business Intelligence Create a model hints: readOnly: false destructive: false idempotent: false call: analytics-cloud-models.createmodel with: body: tools.body outputParameters: - type: object mapping: $. - name: sap-business-intelligence-get-model description: SAP Business Intelligence Get a model hints: readOnly: true destructive: false idempotent: true call: analytics-cloud-models.getmodel outputParameters: - type: object mapping: $. - name: sap-business-intelligence-update-model description: SAP Business Intelligence Update a model hints: readOnly: false destructive: false idempotent: true call: analytics-cloud-models.updatemodel with: body: tools.body outputParameters: - type: object mapping: $. - name: sap-business-intelligence-delete-model description: SAP Business Intelligence Delete a model hints: readOnly: false destructive: true idempotent: true call: analytics-cloud-models.deletemodel outputParameters: - type: object mapping: $. - name: sap-business-intelligence-list-model description: SAP Business Intelligence List model dimensions hints: readOnly: true destructive: false idempotent: true call: analytics-cloud-models.listmodeldimensions outputParameters: - type: object mapping: $. - name: sap-business-intelligence-list-model-2 description: SAP Business Intelligence List model measures hints: readOnly: true destructive: false idempotent: true call: analytics-cloud-models.listmodelmeasures outputParameters: - type: object mapping: $.