naftiko: 1.0.0-alpha2 info: label: Spot Billing Engine API — Families description: 'Spot Billing Engine API — Families. 5 operations. Lead operation: Spot Create Account Family. Self-contained Naftiko capability covering one Flexera business surface.' tags: - Flexera - Families created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FLEXERA_API_KEY: FLEXERA_API_KEY capability: consumes: - type: http namespace: spot-billing-engine-families baseUri: https://api.spotinst.io description: Spot Billing Engine API — Families business capability. Self-contained, no shared references. resources: - name: billingEngine-family path: /billingEngine/family operations: - name: createaccountfamily method: POST description: Spot Create Account Family outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: listaccountfamilies method: GET description: Spot List Account Families outputRawFormat: json outputParameters: - name: result type: object value: $. - name: billingEngine-family-familyId path: /billingEngine/family/{familyId} operations: - name: getaccountfamily method: GET description: Spot Get Account Family outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: familyId in: path type: string required: true - name: updateaccountfamily method: PUT description: Spot Update Account Family outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: familyId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deleteaccountfamily method: DELETE description: Spot Delete Account Family outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: familyId in: path type: string required: true authentication: type: bearer token: '{{env.FLEXERA_API_KEY}}' exposes: - type: rest namespace: spot-billing-engine-families-rest port: 8080 description: REST adapter for Spot Billing Engine API — Families. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/billingengine/family name: billingengine-family description: REST surface for billingEngine-family. operations: - method: POST name: createaccountfamily description: Spot Create Account Family call: spot-billing-engine-families.createaccountfamily with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listaccountfamilies description: Spot List Account Families call: spot-billing-engine-families.listaccountfamilies outputParameters: - type: object mapping: $. - path: /v1/billingengine/family/{familyid} name: billingengine-family-familyid description: REST surface for billingEngine-family-familyId. operations: - method: GET name: getaccountfamily description: Spot Get Account Family call: spot-billing-engine-families.getaccountfamily with: familyId: rest.familyId outputParameters: - type: object mapping: $. - method: PUT name: updateaccountfamily description: Spot Update Account Family call: spot-billing-engine-families.updateaccountfamily with: familyId: rest.familyId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteaccountfamily description: Spot Delete Account Family call: spot-billing-engine-families.deleteaccountfamily with: familyId: rest.familyId outputParameters: - type: object mapping: $. - type: mcp namespace: spot-billing-engine-families-mcp port: 9090 transport: http description: MCP adapter for Spot Billing Engine API — Families. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: spot-create-account-family description: Spot Create Account Family hints: readOnly: false destructive: false idempotent: false call: spot-billing-engine-families.createaccountfamily with: body: tools.body outputParameters: - type: object mapping: $. - name: spot-list-account-families description: Spot List Account Families hints: readOnly: true destructive: false idempotent: true call: spot-billing-engine-families.listaccountfamilies outputParameters: - type: object mapping: $. - name: spot-get-account-family description: Spot Get Account Family hints: readOnly: true destructive: false idempotent: true call: spot-billing-engine-families.getaccountfamily with: familyId: tools.familyId outputParameters: - type: object mapping: $. - name: spot-update-account-family description: Spot Update Account Family hints: readOnly: false destructive: false idempotent: true call: spot-billing-engine-families.updateaccountfamily with: familyId: tools.familyId body: tools.body outputParameters: - type: object mapping: $. - name: spot-delete-account-family description: Spot Delete Account Family hints: readOnly: false destructive: true idempotent: true call: spot-billing-engine-families.deleteaccountfamily with: familyId: tools.familyId outputParameters: - type: object mapping: $.