naftiko: 1.0.0-alpha2 info: label: Activepieces API — Projects description: 'Activepieces API — Projects. 5 operations. Lead operation: Activepieces List Projects. Self-contained Naftiko capability covering one Activepieces business surface.' tags: - Activepieces - Projects created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ACTIVEPIECES_API_KEY: ACTIVEPIECES_API_KEY capability: consumes: - type: http namespace: activepieces-projects baseUri: https://cloud.activepieces.com/api/v1 description: Activepieces API — Projects business capability. Self-contained, no shared references. resources: - name: projects path: /projects operations: - name: listprojects method: GET description: Activepieces List Projects 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: createproject method: POST description: Activepieces Create Project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: projects-id path: /projects/{id} operations: - name: getproject method: GET description: Activepieces Get Project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Project ID required: true - name: updateproject method: POST description: Activepieces Update Project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Project ID required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deleteproject method: DELETE description: Activepieces Delete Project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Project ID required: true authentication: type: bearer token: '{{env.ACTIVEPIECES_API_KEY}}' exposes: - type: rest namespace: activepieces-projects-rest port: 8080 description: REST adapter for Activepieces API — Projects. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects name: projects description: REST surface for projects. operations: - method: GET name: listprojects description: Activepieces List Projects call: activepieces-projects.listprojects with: limit: rest.limit cursor: rest.cursor outputParameters: - type: object mapping: $. - method: POST name: createproject description: Activepieces Create Project call: activepieces-projects.createproject with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/{id} name: projects-id description: REST surface for projects-id. operations: - method: GET name: getproject description: Activepieces Get Project call: activepieces-projects.getproject with: id: rest.id outputParameters: - type: object mapping: $. - method: POST name: updateproject description: Activepieces Update Project call: activepieces-projects.updateproject with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteproject description: Activepieces Delete Project call: activepieces-projects.deleteproject with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: activepieces-projects-mcp port: 9090 transport: http description: MCP adapter for Activepieces API — Projects. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: activepieces-list-projects description: Activepieces List Projects hints: readOnly: true destructive: false idempotent: true call: activepieces-projects.listprojects with: limit: tools.limit cursor: tools.cursor outputParameters: - type: object mapping: $. - name: activepieces-create-project description: Activepieces Create Project hints: readOnly: false destructive: false idempotent: false call: activepieces-projects.createproject with: body: tools.body outputParameters: - type: object mapping: $. - name: activepieces-get-project description: Activepieces Get Project hints: readOnly: true destructive: false idempotent: true call: activepieces-projects.getproject with: id: tools.id outputParameters: - type: object mapping: $. - name: activepieces-update-project description: Activepieces Update Project hints: readOnly: false destructive: false idempotent: false call: activepieces-projects.updateproject with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: activepieces-delete-project description: Activepieces Delete Project hints: readOnly: false destructive: true idempotent: true call: activepieces-projects.deleteproject with: id: tools.id outputParameters: - type: object mapping: $.