Greenhouse · Capability

Greenhouse Harvest API — Candidates

Greenhouse Harvest API — Candidates. 5 operations. Lead operation: List candidates. Self-contained Naftiko capability covering one Greenhouse business surface.

Run with Naftiko GreenhouseCandidates

What You Can Do

GET
Get — List candidates
/v1/candidates
POST
Post — Create candidate
/v1/candidates
GET
Get — Retrieve candidate
/v1/candidates/{id}
PATCH
Patch — Update candidate
/v1/candidates/{id}
DELETE
Delete — Delete candidate
/v1/candidates/{id}

MCP Tools

list-candidates

List candidates

read-only idempotent
create-candidate

Create candidate

retrieve-candidate

Retrieve candidate

read-only idempotent
update-candidate

Update candidate

idempotent
delete-candidate

Delete candidate

idempotent

Capability Spec

harvest-candidates.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Greenhouse Harvest API — Candidates
  description: 'Greenhouse Harvest API — Candidates. 5 operations. Lead operation: List candidates. Self-contained Naftiko
    capability covering one Greenhouse business surface.'
  tags:
  - Greenhouse
  - Candidates
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GREENHOUSE_API_KEY: GREENHOUSE_API_KEY
capability:
  consumes:
  - type: http
    namespace: harvest-candidates
    baseUri: https://harvest.greenhouse.io/v1
    description: Greenhouse Harvest API — Candidates business capability. Self-contained, no shared references.
    resources:
    - name: candidates
      path: /candidates
      operations:
      - name: get
        method: GET
        description: List candidates
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post
        method: POST
        description: Create candidate
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: candidates-id
      path: /candidates/{id}
      operations:
      - name: get
        method: GET
        description: Retrieve candidate
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: patch
        method: PATCH
        description: Update candidate
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: delete
        method: DELETE
        description: Delete candidate
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: basic
      username: '{{env.GREENHOUSE_USER}}'
      password: '{{env.GREENHOUSE_PASS}}'
  exposes:
  - type: rest
    namespace: harvest-candidates-rest
    port: 8080
    description: REST adapter for Greenhouse Harvest API — Candidates. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/candidates
      name: candidates
      description: REST surface for candidates.
      operations:
      - method: GET
        name: get
        description: List candidates
        call: harvest-candidates.get
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Create candidate
        call: harvest-candidates.post
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/candidates/{id}
      name: candidates-id
      description: REST surface for candidates-id.
      operations:
      - method: GET
        name: get
        description: Retrieve candidate
        call: harvest-candidates.get
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patch
        description: Update candidate
        call: harvest-candidates.patch
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Delete candidate
        call: harvest-candidates.delete
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: harvest-candidates-mcp
    port: 9090
    transport: http
    description: MCP adapter for Greenhouse Harvest API — Candidates. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-candidates
      description: List candidates
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: harvest-candidates.get
      outputParameters:
      - type: object
        mapping: $.
    - name: create-candidate
      description: Create candidate
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: harvest-candidates.post
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-candidate
      description: Retrieve candidate
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: harvest-candidates.get
      outputParameters:
      - type: object
        mapping: $.
    - name: update-candidate
      description: Update candidate
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: harvest-candidates.patch
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-candidate
      description: Delete candidate
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: harvest-candidates.delete
      outputParameters:
      - type: object
        mapping: $.