naftiko: 1.0.0-alpha2 info: label: Cycloid HTTP API — Organizations description: 'Cycloid HTTP API — Organizations. 5 operations. Lead operation: List organizations. Self-contained Naftiko capability covering one Cycloid business surface.' tags: - Cycloid - Organizations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CYCLOID_API_KEY: CYCLOID_API_KEY capability: consumes: - type: http namespace: cycloid-organizations baseUri: https://http-api.cycloid.io description: Cycloid HTTP API — Organizations business capability. Self-contained, no shared references. resources: - name: organizations path: /organizations operations: - name: listorganizations method: GET description: List organizations outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createorganization method: POST description: Create organization outputRawFormat: json outputParameters: - name: result type: object value: $. - name: organizations-organization_canonical path: /organizations/{organization_canonical} operations: - name: getorganization method: GET description: Get organization outputRawFormat: json outputParameters: - name: result type: object value: $. - name: organizations-organization_canonical-members path: /organizations/{organization_canonical}/members operations: - name: listorganizationmembers method: GET description: List members outputRawFormat: json outputParameters: - name: result type: object value: $. - name: organizations-organization_canonical-teams path: /organizations/{organization_canonical}/teams operations: - name: listorganizationteams method: GET description: List teams outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.CYCLOID_API_KEY}}' exposes: - type: rest namespace: cycloid-organizations-rest port: 8080 description: REST adapter for Cycloid HTTP API — Organizations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organizations name: organizations description: REST surface for organizations. operations: - method: GET name: listorganizations description: List organizations call: cycloid-organizations.listorganizations outputParameters: - type: object mapping: $. - method: POST name: createorganization description: Create organization call: cycloid-organizations.createorganization outputParameters: - type: object mapping: $. - path: /v1/organizations/{organization-canonical} name: organizations-organization-canonical description: REST surface for organizations-organization_canonical. operations: - method: GET name: getorganization description: Get organization call: cycloid-organizations.getorganization outputParameters: - type: object mapping: $. - path: /v1/organizations/{organization-canonical}/members name: organizations-organization-canonical-members description: REST surface for organizations-organization_canonical-members. operations: - method: GET name: listorganizationmembers description: List members call: cycloid-organizations.listorganizationmembers outputParameters: - type: object mapping: $. - path: /v1/organizations/{organization-canonical}/teams name: organizations-organization-canonical-teams description: REST surface for organizations-organization_canonical-teams. operations: - method: GET name: listorganizationteams description: List teams call: cycloid-organizations.listorganizationteams outputParameters: - type: object mapping: $. - type: mcp namespace: cycloid-organizations-mcp port: 9090 transport: http description: MCP adapter for Cycloid HTTP API — Organizations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-organizations description: List organizations hints: readOnly: true destructive: false idempotent: true call: cycloid-organizations.listorganizations outputParameters: - type: object mapping: $. - name: create-organization description: Create organization hints: readOnly: false destructive: false idempotent: false call: cycloid-organizations.createorganization outputParameters: - type: object mapping: $. - name: get-organization description: Get organization hints: readOnly: true destructive: false idempotent: true call: cycloid-organizations.getorganization outputParameters: - type: object mapping: $. - name: list-members description: List members hints: readOnly: true destructive: false idempotent: true call: cycloid-organizations.listorganizationmembers outputParameters: - type: object mapping: $. - name: list-teams description: List teams hints: readOnly: true destructive: false idempotent: true call: cycloid-organizations.listorganizationteams outputParameters: - type: object mapping: $.