Apache Samza · Capability

Apache Samza REST API — Tasks

Apache Samza REST API — Tasks. 1 operations. Lead operation: Apache Samza List Tasks. Self-contained Naftiko capability covering one Apache Samza business surface.

Run with Naftiko Apache SamzaTasks

What You Can Do

GET
Listtasks — Apache Samza List Tasks
/v1/jobs/{jobname}/{jobid}/tasks

MCP Tools

apache-samza-list-tasks

Apache Samza List Tasks

read-only idempotent

Capability Spec

rest-tasks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apache Samza REST API — Tasks
  description: 'Apache Samza REST API — Tasks. 1 operations. Lead operation: Apache Samza List Tasks. Self-contained Naftiko
    capability covering one Apache Samza business surface.'
  tags:
  - Apache Samza
  - Tasks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APACHE_SAMZA_API_KEY: APACHE_SAMZA_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-tasks
    baseUri: https://samza.example.com/v1
    description: Apache Samza REST API — Tasks business capability. Self-contained, no shared references.
    resources:
    - name: jobs-jobName-jobId-tasks
      path: /jobs/{jobName}/{jobId}/tasks
      operations:
      - name: listtasks
        method: GET
        description: Apache Samza List Tasks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: jobName
          in: path
          type: string
          required: true
        - name: jobId
          in: path
          type: string
          required: true
  exposes:
  - type: rest
    namespace: rest-tasks-rest
    port: 8080
    description: REST adapter for Apache Samza REST API — Tasks. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/jobs/{jobname}/{jobid}/tasks
      name: jobs-jobname-jobid-tasks
      description: REST surface for jobs-jobName-jobId-tasks.
      operations:
      - method: GET
        name: listtasks
        description: Apache Samza List Tasks
        call: rest-tasks.listtasks
        with:
          jobName: rest.jobName
          jobId: rest.jobId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-tasks-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apache Samza REST API — Tasks. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: apache-samza-list-tasks
      description: Apache Samza List Tasks
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-tasks.listtasks
      with:
        jobName: tools.jobName
        jobId: tools.jobId
      outputParameters:
      - type: object
        mapping: $.