naftiko: 1.0.0-alpha2 info: label: SAP AI Core API — Artifacts description: 'SAP AI Core API — Artifacts. 2 operations. Lead operation: Sap List Artifacts. Self-contained Naftiko capability covering one Sap business surface.' tags: - Sap - Artifacts created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SAP_API_KEY: SAP_API_KEY capability: consumes: - type: http namespace: ai-core-artifacts baseUri: https://api.ai.{region}.cfapps.{landscape}.hana.ondemand.com/v2 description: SAP AI Core API — Artifacts business capability. Self-contained, no shared references. resources: - name: lm-artifacts path: /lm/artifacts operations: - name: listartifacts method: GET description: Sap List Artifacts outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createartifact method: POST description: Sap Register an Artifact outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.SAP_API_KEY}}' exposes: - type: rest namespace: ai-core-artifacts-rest port: 8080 description: REST adapter for SAP AI Core API — Artifacts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/lm/artifacts name: lm-artifacts description: REST surface for lm-artifacts. operations: - method: GET name: listartifacts description: Sap List Artifacts call: ai-core-artifacts.listartifacts outputParameters: - type: object mapping: $. - method: POST name: createartifact description: Sap Register an Artifact call: ai-core-artifacts.createartifact with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: ai-core-artifacts-mcp port: 9090 transport: http description: MCP adapter for SAP AI Core API — Artifacts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: sap-list-artifacts description: Sap List Artifacts hints: readOnly: true destructive: false idempotent: true call: ai-core-artifacts.listartifacts outputParameters: - type: object mapping: $. - name: sap-register-artifact description: Sap Register an Artifact hints: readOnly: false destructive: false idempotent: false call: ai-core-artifacts.createartifact with: body: tools.body outputParameters: - type: object mapping: $.