naftiko: 1.0.0-alpha2 info: label: Unleash Admin API — Playground description: 'Unleash Admin API — Playground. 3 operations. Lead operation: Evaluate an Unleash Context Against a Set of Environments and Projects.. Self-contained Naftiko capability covering one Unleash business surface.' tags: - Unleash - Playground created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: UNLEASH_API_KEY: UNLEASH_API_KEY capability: consumes: - type: http namespace: admin-playground baseUri: https://app.unleash-instance.example.com description: Unleash Admin API — Playground business capability. Self-contained, no shared references. resources: - name: api-admin-playground path: /api/admin/playground operations: - name: getplayground method: POST description: Evaluate an Unleash Context Against a Set of Environments and Projects. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-admin-playground-advanced path: /api/admin/playground/advanced operations: - name: getadvancedplayground method: POST description: Batch Evaluate an Unleash Context Against a Set of Environments and Projects. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-admin-playground-change-request-id path: /api/admin/playground/change-request/{id} operations: - name: getchangerequestplayground method: POST description: Evaluate an Unleash Context Against a Change Request Preview. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.UNLEASH_API_KEY}}' exposes: - type: rest namespace: admin-playground-rest port: 8080 description: REST adapter for Unleash Admin API — Playground. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/admin/playground name: api-admin-playground description: REST surface for api-admin-playground. operations: - method: POST name: getplayground description: Evaluate an Unleash Context Against a Set of Environments and Projects. call: admin-playground.getplayground with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/admin/playground/advanced name: api-admin-playground-advanced description: REST surface for api-admin-playground-advanced. operations: - method: POST name: getadvancedplayground description: Batch Evaluate an Unleash Context Against a Set of Environments and Projects. call: admin-playground.getadvancedplayground with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/admin/playground/change-request/{id} name: api-admin-playground-change-request-id description: REST surface for api-admin-playground-change-request-id. operations: - method: POST name: getchangerequestplayground description: Evaluate an Unleash Context Against a Change Request Preview. call: admin-playground.getchangerequestplayground with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: admin-playground-mcp port: 9090 transport: http description: MCP adapter for Unleash Admin API — Playground. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: evaluate-unleash-context-against-set description: Evaluate an Unleash Context Against a Set of Environments and Projects. hints: readOnly: false destructive: false idempotent: false call: admin-playground.getplayground with: body: tools.body outputParameters: - type: object mapping: $. - name: batch-evaluate-unleash-context-against description: Batch Evaluate an Unleash Context Against a Set of Environments and Projects. hints: readOnly: false destructive: false idempotent: false call: admin-playground.getadvancedplayground with: body: tools.body outputParameters: - type: object mapping: $. - name: evaluate-unleash-context-against-change description: Evaluate an Unleash Context Against a Change Request Preview. hints: readOnly: false destructive: false idempotent: false call: admin-playground.getchangerequestplayground with: id: tools.id body: tools.body outputParameters: - type: object mapping: $.