Orkes · Capability

Orkes Conductor REST API — Tasks

Orkes Conductor REST API — Tasks. 2 operations. Lead operation: Update task. Self-contained Naftiko capability covering one Orkes business surface.

Run with Naftiko OrkesTasks

What You Can Do

POST
Updatetask — Update task
/v1/tasks
GET
Polltask — Poll for a task
/v1/tasks/poll/{tasktype}

MCP Tools

update-task

Update task

poll-task

Poll for a task

read-only idempotent

Capability Spec

conductor-tasks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Orkes Conductor REST API — Tasks
  description: 'Orkes Conductor REST API — Tasks. 2 operations. Lead operation: Update task. Self-contained Naftiko capability
    covering one Orkes business surface.'
  tags:
  - Orkes
  - Tasks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ORKES_API_KEY: ORKES_API_KEY
capability:
  consumes:
  - type: http
    namespace: conductor-tasks
    baseUri: ''
    description: Orkes Conductor REST API — Tasks business capability. Self-contained, no shared references.
    resources:
    - name: tasks
      path: /tasks
      operations:
      - name: updatetask
        method: POST
        description: Update task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: tasks-poll-taskType
      path: /tasks/poll/{taskType}
      operations:
      - name: polltask
        method: GET
        description: Poll for a task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: taskType
          in: path
          type: string
          required: true
        - name: workerid
          in: query
          type: string
    authentication:
      type: bearer
      token: '{{env.ORKES_API_KEY}}'
  exposes:
  - type: rest
    namespace: conductor-tasks-rest
    port: 8080
    description: REST adapter for Orkes Conductor REST API — Tasks. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/tasks
      name: tasks
      description: REST surface for tasks.
      operations:
      - method: POST
        name: updatetask
        description: Update task
        call: conductor-tasks.updatetask
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/tasks/poll/{tasktype}
      name: tasks-poll-tasktype
      description: REST surface for tasks-poll-taskType.
      operations:
      - method: GET
        name: polltask
        description: Poll for a task
        call: conductor-tasks.polltask
        with:
          taskType: rest.taskType
          workerid: rest.workerid
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: conductor-tasks-mcp
    port: 9090
    transport: http
    description: MCP adapter for Orkes Conductor REST API — Tasks. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: update-task
      description: Update task
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: conductor-tasks.updatetask
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: poll-task
      description: Poll for a task
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: conductor-tasks.polltask
      with:
        taskType: tools.taskType
        workerid: tools.workerid
      outputParameters:
      - type: object
        mapping: $.