naftiko: 1.0.0-alpha2 info: label: Activepieces API — Users description: 'Activepieces API — Users. 3 operations. Lead operation: Activepieces List Users. Self-contained Naftiko capability covering one Activepieces business surface.' tags: - Activepieces - Users created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ACTIVEPIECES_API_KEY: ACTIVEPIECES_API_KEY capability: consumes: - type: http namespace: activepieces-users baseUri: https://cloud.activepieces.com/api/v1 description: Activepieces API — Users business capability. Self-contained, no shared references. resources: - name: users path: /users operations: - name: listusers method: GET description: Activepieces List Users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Number of results - name: cursor in: query type: string description: Pagination cursor - name: users-id path: /users/{id} operations: - name: updateuser method: POST description: Activepieces Update User outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: User ID required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deleteuser method: DELETE description: Activepieces Delete User outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: User ID required: true authentication: type: bearer token: '{{env.ACTIVEPIECES_API_KEY}}' exposes: - type: rest namespace: activepieces-users-rest port: 8080 description: REST adapter for Activepieces API — Users. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/users name: users description: REST surface for users. operations: - method: GET name: listusers description: Activepieces List Users call: activepieces-users.listusers with: limit: rest.limit cursor: rest.cursor outputParameters: - type: object mapping: $. - path: /v1/users/{id} name: users-id description: REST surface for users-id. operations: - method: POST name: updateuser description: Activepieces Update User call: activepieces-users.updateuser with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteuser description: Activepieces Delete User call: activepieces-users.deleteuser with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: activepieces-users-mcp port: 9090 transport: http description: MCP adapter for Activepieces API — Users. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: activepieces-list-users description: Activepieces List Users hints: readOnly: true destructive: false idempotent: true call: activepieces-users.listusers with: limit: tools.limit cursor: tools.cursor outputParameters: - type: object mapping: $. - name: activepieces-update-user description: Activepieces Update User hints: readOnly: false destructive: false idempotent: false call: activepieces-users.updateuser with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: activepieces-delete-user description: Activepieces Delete User hints: readOnly: false destructive: true idempotent: true call: activepieces-users.deleteuser with: id: tools.id outputParameters: - type: object mapping: $.