naftiko: 1.0.0-alpha2 info: label: Tetrate Service Bridge REST API — APIs description: 'Tetrate Service Bridge REST API — APIs. 5 operations. Lead operation: List APIs. Self-contained Naftiko capability covering one Tetrate business surface.' tags: - Tetrate - APIs created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TETRATE_API_KEY: TETRATE_API_KEY capability: consumes: - type: http namespace: service-bridge-apis baseUri: https://{tsb-host}:8443/v2 description: Tetrate Service Bridge REST API — APIs business capability. Self-contained, no shared references. resources: - name: organizations-organization-tenants-tenant-applications-application-apis path: /organizations/{organization}/tenants/{tenant}/applications/{application}/apis operations: - name: listapis method: GET description: List APIs outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createapi method: POST description: Create API outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: organizations-organization-tenants-tenant-applications-application-apis-api path: /organizations/{organization}/tenants/{tenant}/applications/{application}/apis/{api} operations: - name: getapi method: GET description: Get API outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateapi method: PUT description: Update API outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteapi method: DELETE description: Delete API outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: x-tetrate-token value: '{{env.TETRATE_API_KEY}}' placement: header exposes: - type: rest namespace: service-bridge-apis-rest port: 8080 description: REST adapter for Tetrate Service Bridge REST API — APIs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organizations/{organization}/tenants/{tenant}/applications/{application}/apis name: organizations-organization-tenants-tenant-applications-application-apis description: REST surface for organizations-organization-tenants-tenant-applications-application-apis. operations: - method: GET name: listapis description: List APIs call: service-bridge-apis.listapis outputParameters: - type: object mapping: $. - method: POST name: createapi description: Create API call: service-bridge-apis.createapi with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/organizations/{organization}/tenants/{tenant}/applications/{application}/apis/{api} name: organizations-organization-tenants-tenant-applications-application-apis-api description: REST surface for organizations-organization-tenants-tenant-applications-application-apis-api. operations: - method: GET name: getapi description: Get API call: service-bridge-apis.getapi outputParameters: - type: object mapping: $. - method: PUT name: updateapi description: Update API call: service-bridge-apis.updateapi with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteapi description: Delete API call: service-bridge-apis.deleteapi outputParameters: - type: object mapping: $. - type: mcp namespace: service-bridge-apis-mcp port: 9090 transport: http description: MCP adapter for Tetrate Service Bridge REST API — APIs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-apis description: List APIs hints: readOnly: true destructive: false idempotent: true call: service-bridge-apis.listapis outputParameters: - type: object mapping: $. - name: create-api description: Create API hints: readOnly: false destructive: false idempotent: false call: service-bridge-apis.createapi with: body: tools.body outputParameters: - type: object mapping: $. - name: get-api description: Get API hints: readOnly: true destructive: false idempotent: true call: service-bridge-apis.getapi outputParameters: - type: object mapping: $. - name: update-api description: Update API hints: readOnly: false destructive: false idempotent: true call: service-bridge-apis.updateapi with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-api description: Delete API hints: readOnly: false destructive: true idempotent: true call: service-bridge-apis.deleteapi outputParameters: - type: object mapping: $.