naftiko: 1.0.0-alpha2 info: label: Apptio Technology Business Management API — Cost Allocations description: 'Apptio Technology Business Management API — Cost Allocations. 2 operations. Lead operation: Apptio - List Cost Allocations. Self-contained Naftiko capability covering one Apptio business surface.' tags: - Apptio - Cost Allocations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APPTIO_API_KEY: APPTIO_API_KEY capability: consumes: - type: http namespace: apptio-cost-allocations baseUri: https://api.apptio.com/v1 description: Apptio Technology Business Management API — Cost Allocations business capability. Self-contained, no shared references. resources: - name: cost-allocations path: /cost-allocations operations: - name: listcostallocations method: GET description: Apptio - List Cost Allocations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: period in: query type: string description: Filter by reporting period (YYYY-MM format) - name: costCenter in: query type: string description: Filter by cost center or department - name: category in: query type: string description: Filter by technology cost category - name: cost-allocations-allocationId path: /cost-allocations/{allocationId} operations: - name: getcostallocation method: GET description: Apptio - Get Cost Allocation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: allocationId in: path type: string description: Unique cost allocation identifier required: true authentication: type: bearer token: '{{env.APPTIO_API_KEY}}' exposes: - type: rest namespace: apptio-cost-allocations-rest port: 8080 description: REST adapter for Apptio Technology Business Management API — Cost Allocations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/cost-allocations name: cost-allocations description: REST surface for cost-allocations. operations: - method: GET name: listcostallocations description: Apptio - List Cost Allocations call: apptio-cost-allocations.listcostallocations with: period: rest.period costCenter: rest.costCenter category: rest.category outputParameters: - type: object mapping: $. - path: /v1/cost-allocations/{allocationid} name: cost-allocations-allocationid description: REST surface for cost-allocations-allocationId. operations: - method: GET name: getcostallocation description: Apptio - Get Cost Allocation call: apptio-cost-allocations.getcostallocation with: allocationId: rest.allocationId outputParameters: - type: object mapping: $. - type: mcp namespace: apptio-cost-allocations-mcp port: 9090 transport: http description: MCP adapter for Apptio Technology Business Management API — Cost Allocations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: apptio-list-cost-allocations description: Apptio - List Cost Allocations hints: readOnly: true destructive: false idempotent: true call: apptio-cost-allocations.listcostallocations with: period: tools.period costCenter: tools.costCenter category: tools.category outputParameters: - type: object mapping: $. - name: apptio-get-cost-allocation description: Apptio - Get Cost Allocation hints: readOnly: true destructive: false idempotent: true call: apptio-cost-allocations.getcostallocation with: allocationId: tools.allocationId outputParameters: - type: object mapping: $.