naftiko: 1.0.0-alpha2 info: label: Unkey API — apis description: 'Unkey API — apis. 4 operations. Lead operation: Create API Namespace. Self-contained Naftiko capability covering one Unkey business surface.' tags: - Unkey - apis created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: UNKEY_API_KEY: UNKEY_API_KEY capability: consumes: - type: http namespace: unkey-apis baseUri: https://api.unkey.com description: Unkey API — apis business capability. Self-contained, no shared references. resources: - name: v2-apis.createApi path: /v2/apis.createApi operations: - name: apiscreateapi method: POST description: Create API Namespace outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v2-apis.deleteApi path: /v2/apis.deleteApi operations: - name: apisdeleteapi method: POST description: Delete API Namespace outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v2-apis.getApi path: /v2/apis.getApi operations: - name: apisgetapi method: POST description: Get API Namespace outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v2-apis.listKeys path: /v2/apis.listKeys operations: - name: apislistkeys method: POST description: List API Keys 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.UNKEY_API_KEY}}' exposes: - type: rest namespace: unkey-apis-rest port: 8080 description: REST adapter for Unkey API — apis. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/apis-createapi name: v2-apis-createapi description: REST surface for v2-apis.createApi. operations: - method: POST name: apiscreateapi description: Create API Namespace call: unkey-apis.apiscreateapi with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/apis-deleteapi name: v2-apis-deleteapi description: REST surface for v2-apis.deleteApi. operations: - method: POST name: apisdeleteapi description: Delete API Namespace call: unkey-apis.apisdeleteapi with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/apis-getapi name: v2-apis-getapi description: REST surface for v2-apis.getApi. operations: - method: POST name: apisgetapi description: Get API Namespace call: unkey-apis.apisgetapi with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/apis-listkeys name: v2-apis-listkeys description: REST surface for v2-apis.listKeys. operations: - method: POST name: apislistkeys description: List API Keys call: unkey-apis.apislistkeys with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: unkey-apis-mcp port: 9090 transport: http description: MCP adapter for Unkey API — apis. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-api-namespace description: Create API Namespace hints: readOnly: false destructive: false idempotent: false call: unkey-apis.apiscreateapi with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-api-namespace description: Delete API Namespace hints: readOnly: false destructive: false idempotent: false call: unkey-apis.apisdeleteapi with: body: tools.body outputParameters: - type: object mapping: $. - name: get-api-namespace description: Get API Namespace hints: readOnly: true destructive: false idempotent: false call: unkey-apis.apisgetapi with: body: tools.body outputParameters: - type: object mapping: $. - name: list-api-keys description: List API Keys hints: readOnly: true destructive: false idempotent: false call: unkey-apis.apislistkeys with: body: tools.body outputParameters: - type: object mapping: $.