naftiko: 1.0.0-alpha2 info: label: Orkes Conductor REST API — Task Metadata description: 'Orkes Conductor REST API — Task Metadata. 4 operations. Lead operation: List task definitions. Self-contained Naftiko capability covering one Orkes business surface.' tags: - Orkes - Task Metadata created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ORKES_API_KEY: ORKES_API_KEY capability: consumes: - type: http namespace: conductor-task-metadata baseUri: '' description: Orkes Conductor REST API — Task Metadata business capability. Self-contained, no shared references. resources: - name: metadata-taskdefs path: /metadata/taskdefs operations: - name: listtaskdefinitions method: GET description: List task definitions outputRawFormat: json outputParameters: - name: result type: object value: $. - name: registertaskdefinitions method: POST description: Register task definitions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: metadata-taskdefs-taskType path: /metadata/taskdefs/{taskType} operations: - name: gettaskdefinition method: GET description: Get task definition outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: taskType in: path type: string required: true - name: deletetaskdefinition method: DELETE description: Delete a task definition outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: taskType in: path type: string required: true authentication: type: bearer token: '{{env.ORKES_API_KEY}}' exposes: - type: rest namespace: conductor-task-metadata-rest port: 8080 description: REST adapter for Orkes Conductor REST API — Task Metadata. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/metadata/taskdefs name: metadata-taskdefs description: REST surface for metadata-taskdefs. operations: - method: GET name: listtaskdefinitions description: List task definitions call: conductor-task-metadata.listtaskdefinitions outputParameters: - type: object mapping: $. - method: POST name: registertaskdefinitions description: Register task definitions call: conductor-task-metadata.registertaskdefinitions with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/metadata/taskdefs/{tasktype} name: metadata-taskdefs-tasktype description: REST surface for metadata-taskdefs-taskType. operations: - method: GET name: gettaskdefinition description: Get task definition call: conductor-task-metadata.gettaskdefinition with: taskType: rest.taskType outputParameters: - type: object mapping: $. - method: DELETE name: deletetaskdefinition description: Delete a task definition call: conductor-task-metadata.deletetaskdefinition with: taskType: rest.taskType outputParameters: - type: object mapping: $. - type: mcp namespace: conductor-task-metadata-mcp port: 9090 transport: http description: MCP adapter for Orkes Conductor REST API — Task Metadata. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-task-definitions description: List task definitions hints: readOnly: true destructive: false idempotent: true call: conductor-task-metadata.listtaskdefinitions outputParameters: - type: object mapping: $. - name: register-task-definitions description: Register task definitions hints: readOnly: false destructive: false idempotent: false call: conductor-task-metadata.registertaskdefinitions with: body: tools.body outputParameters: - type: object mapping: $. - name: get-task-definition description: Get task definition hints: readOnly: true destructive: false idempotent: true call: conductor-task-metadata.gettaskdefinition with: taskType: tools.taskType outputParameters: - type: object mapping: $. - name: delete-task-definition description: Delete a task definition hints: readOnly: false destructive: true idempotent: true call: conductor-task-metadata.deletetaskdefinition with: taskType: tools.taskType outputParameters: - type: object mapping: $.