naftiko: 1.0.0-alpha2 info: label: Unleash Admin API — Operational description: 'Unleash Admin API — Operational. 4 operations. Lead operation: Get Instance Operational Status. Self-contained Naftiko capability covering one Unleash business surface.' tags: - Unleash - Operational created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: UNLEASH_API_KEY: UNLEASH_API_KEY capability: consumes: - type: http namespace: admin-operational baseUri: https://app.unleash-instance.example.com description: Unleash Admin API — Operational business capability. Self-contained, no shared references. resources: - name: api-admin-invoices path: /api/admin/invoices operations: - name: getinvoices method: GET description: '**Enterprise feature**' outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-admin-invoices-list path: /api/admin/invoices/list operations: - name: getdetailedinvoices method: GET description: '**Enterprise feature**' outputRawFormat: json outputParameters: - name: result type: object value: $. - name: health path: /health operations: - name: gethealth method: GET description: Get Instance Operational Status outputRawFormat: json outputParameters: - name: result type: object value: $. - name: ready path: /ready operations: - name: getready method: GET description: Get Instance Readiness Status outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.UNLEASH_API_KEY}}' exposes: - type: rest namespace: admin-operational-rest port: 8080 description: REST adapter for Unleash Admin API — Operational. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/admin/invoices name: api-admin-invoices description: REST surface for api-admin-invoices. operations: - method: GET name: getinvoices description: '**Enterprise feature**' call: admin-operational.getinvoices outputParameters: - type: object mapping: $. - path: /v1/api/admin/invoices/list name: api-admin-invoices-list description: REST surface for api-admin-invoices-list. operations: - method: GET name: getdetailedinvoices description: '**Enterprise feature**' call: admin-operational.getdetailedinvoices outputParameters: - type: object mapping: $. - path: /v1/health name: health description: REST surface for health. operations: - method: GET name: gethealth description: Get Instance Operational Status call: admin-operational.gethealth outputParameters: - type: object mapping: $. - path: /v1/ready name: ready description: REST surface for ready. operations: - method: GET name: getready description: Get Instance Readiness Status call: admin-operational.getready outputParameters: - type: object mapping: $. - type: mcp namespace: admin-operational-mcp port: 9090 transport: http description: MCP adapter for Unleash Admin API — Operational. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: enterprise-feature description: '**Enterprise feature**' hints: readOnly: true destructive: false idempotent: true call: admin-operational.getinvoices outputParameters: - type: object mapping: $. - name: enterprise-feature-2 description: '**Enterprise feature**' hints: readOnly: true destructive: false idempotent: true call: admin-operational.getdetailedinvoices outputParameters: - type: object mapping: $. - name: get-instance-operational-status description: Get Instance Operational Status hints: readOnly: true destructive: false idempotent: true call: admin-operational.gethealth outputParameters: - type: object mapping: $. - name: get-instance-readiness-status description: Get Instance Readiness Status hints: readOnly: true destructive: false idempotent: true call: admin-operational.getready outputParameters: - type: object mapping: $.