Greenhouse · Capability

Greenhouse Harvest API — Offices

Greenhouse Harvest API — Offices. 2 operations. Lead operation: List offices. Self-contained Naftiko capability covering one Greenhouse business surface.

Run with Naftiko GreenhouseOffices

What You Can Do

GET
Get — List offices
/v1/offices
GET
Get — Retrieve office
/v1/offices/{id}

MCP Tools

list-offices

List offices

read-only idempotent
retrieve-office

Retrieve office

read-only idempotent

Capability Spec

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