Merge · Capability

Merge ATS API — Departments

Merge ATS API — Departments. 1 operations. Lead operation: Merge List Departments. Self-contained Naftiko capability covering one Merge business surface.

Run with Naftiko MergeDepartments

What You Can Do

GET
Listdepartments — Merge List Departments
/v1/departments

MCP Tools

merge-list-departments

Merge List Departments

read-only idempotent

Capability Spec

ats-departments.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Merge ATS API — Departments
  description: 'Merge ATS API — Departments. 1 operations. Lead operation: Merge List Departments. Self-contained Naftiko
    capability covering one Merge business surface.'
  tags:
  - Merge
  - Departments
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MERGE_API_KEY: MERGE_API_KEY
capability:
  consumes:
  - type: http
    namespace: ats-departments
    baseUri: https://api.merge.dev/api/ats/v1
    description: Merge ATS API — Departments business capability. Self-contained, no shared references.
    resources:
    - name: departments
      path: /departments
      operations:
      - name: listdepartments
        method: GET
        description: Merge List Departments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.MERGE_API_KEY}}'
  exposes:
  - type: rest
    namespace: ats-departments-rest
    port: 8080
    description: REST adapter for Merge ATS API — Departments. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/departments
      name: departments
      description: REST surface for departments.
      operations:
      - method: GET
        name: listdepartments
        description: Merge List Departments
        call: ats-departments.listdepartments
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: ats-departments-mcp
    port: 9090
    transport: http
    description: MCP adapter for Merge ATS API — Departments. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: merge-list-departments
      description: Merge List Departments
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: ats-departments.listdepartments
      outputParameters:
      - type: object
        mapping: $.