naftiko: 1.0.0-alpha2 info: label: elastic.io Platform REST API — Auth Clients description: 'elastic.io Platform REST API — Auth Clients. 5 operations. Lead operation: Elastic.io List auth clients. Self-contained Naftiko capability covering one Elastic Io business surface.' tags: - Elastic Io - Auth Clients created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ELASTIC_IO_API_KEY: ELASTIC_IO_API_KEY capability: consumes: - type: http namespace: platform-auth-clients baseUri: https://api.elastic.io/v2 description: elastic.io Platform REST API — Auth Clients business capability. Self-contained, no shared references. resources: - name: auth-clients path: /auth-clients operations: - name: listauthclients method: GET description: Elastic.io List auth clients outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createauthclient method: POST description: Elastic.io Create an auth client outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: auth-clients-auth_client_id path: /auth-clients/{auth_client_id} operations: - name: getauthclient method: GET description: Elastic.io Get an auth client outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateauthclient method: PATCH description: Elastic.io Update an auth client outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteauthclient method: DELETE description: Elastic.io Delete an auth client outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.ELASTIC_IO_API_KEY}}' exposes: - type: rest namespace: platform-auth-clients-rest port: 8080 description: REST adapter for elastic.io Platform REST API — Auth Clients. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/auth-clients name: auth-clients description: REST surface for auth-clients. operations: - method: GET name: listauthclients description: Elastic.io List auth clients call: platform-auth-clients.listauthclients outputParameters: - type: object mapping: $. - method: POST name: createauthclient description: Elastic.io Create an auth client call: platform-auth-clients.createauthclient with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/auth-clients/{auth-client-id} name: auth-clients-auth-client-id description: REST surface for auth-clients-auth_client_id. operations: - method: GET name: getauthclient description: Elastic.io Get an auth client call: platform-auth-clients.getauthclient outputParameters: - type: object mapping: $. - method: PATCH name: updateauthclient description: Elastic.io Update an auth client call: platform-auth-clients.updateauthclient with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteauthclient description: Elastic.io Delete an auth client call: platform-auth-clients.deleteauthclient outputParameters: - type: object mapping: $. - type: mcp namespace: platform-auth-clients-mcp port: 9090 transport: http description: MCP adapter for elastic.io Platform REST API — Auth Clients. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: elastic-io-list-auth-clients description: Elastic.io List auth clients hints: readOnly: true destructive: false idempotent: true call: platform-auth-clients.listauthclients outputParameters: - type: object mapping: $. - name: elastic-io-create-auth-client description: Elastic.io Create an auth client hints: readOnly: false destructive: false idempotent: false call: platform-auth-clients.createauthclient with: body: tools.body outputParameters: - type: object mapping: $. - name: elastic-io-get-auth-client description: Elastic.io Get an auth client hints: readOnly: true destructive: false idempotent: true call: platform-auth-clients.getauthclient outputParameters: - type: object mapping: $. - name: elastic-io-update-auth-client description: Elastic.io Update an auth client hints: readOnly: false destructive: false idempotent: true call: platform-auth-clients.updateauthclient with: body: tools.body outputParameters: - type: object mapping: $. - name: elastic-io-delete-auth-client description: Elastic.io Delete an auth client hints: readOnly: false destructive: true idempotent: true call: platform-auth-clients.deleteauthclient outputParameters: - type: object mapping: $.