naftiko: 1.0.0-alpha2 info: label: Xceptor Workflow API — Workflows description: 'Xceptor Workflow API — Workflows. 5 operations. Lead operation: Xceptor List Workflows. Self-contained Naftiko capability covering one Xceptor business surface.' tags: - Xceptor - Workflows created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: XCEPTOR_API_KEY: XCEPTOR_API_KEY capability: consumes: - type: http namespace: workflow-workflows baseUri: https://api.xceptor.com/v1 description: Xceptor Workflow API — Workflows business capability. Self-contained, no shared references. resources: - name: workflows path: /workflows operations: - name: listworkflows method: GET description: Xceptor List Workflows outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: status in: query type: string description: Filter workflows by their activation status - name: category in: query type: string description: Filter workflows by category - name: search in: query type: string description: Search workflows by name or description - name: createworkflow method: POST description: Xceptor Create Workflow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: workflows-workflowId path: /workflows/{workflowId} operations: - name: getworkflow method: GET description: Xceptor Get Workflow Details outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateworkflow method: PUT description: Xceptor Update Workflow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteworkflow method: DELETE description: Xceptor Delete Workflow outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.XCEPTOR_API_KEY}}' exposes: - type: rest namespace: workflow-workflows-rest port: 8080 description: REST adapter for Xceptor Workflow API — Workflows. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/workflows name: workflows description: REST surface for workflows. operations: - method: GET name: listworkflows description: Xceptor List Workflows call: workflow-workflows.listworkflows with: status: rest.status category: rest.category search: rest.search outputParameters: - type: object mapping: $. - method: POST name: createworkflow description: Xceptor Create Workflow call: workflow-workflows.createworkflow with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/workflows/{workflowid} name: workflows-workflowid description: REST surface for workflows-workflowId. operations: - method: GET name: getworkflow description: Xceptor Get Workflow Details call: workflow-workflows.getworkflow outputParameters: - type: object mapping: $. - method: PUT name: updateworkflow description: Xceptor Update Workflow call: workflow-workflows.updateworkflow with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteworkflow description: Xceptor Delete Workflow call: workflow-workflows.deleteworkflow outputParameters: - type: object mapping: $. - type: mcp namespace: workflow-workflows-mcp port: 9090 transport: http description: MCP adapter for Xceptor Workflow API — Workflows. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: xceptor-list-workflows description: Xceptor List Workflows hints: readOnly: true destructive: false idempotent: true call: workflow-workflows.listworkflows with: status: tools.status category: tools.category search: tools.search outputParameters: - type: object mapping: $. - name: xceptor-create-workflow description: Xceptor Create Workflow hints: readOnly: false destructive: false idempotent: false call: workflow-workflows.createworkflow with: body: tools.body outputParameters: - type: object mapping: $. - name: xceptor-get-workflow-details description: Xceptor Get Workflow Details hints: readOnly: true destructive: false idempotent: true call: workflow-workflows.getworkflow outputParameters: - type: object mapping: $. - name: xceptor-update-workflow description: Xceptor Update Workflow hints: readOnly: false destructive: false idempotent: true call: workflow-workflows.updateworkflow with: body: tools.body outputParameters: - type: object mapping: $. - name: xceptor-delete-workflow description: Xceptor Delete Workflow hints: readOnly: false destructive: true idempotent: true call: workflow-workflows.deleteworkflow outputParameters: - type: object mapping: $.