Greenhouse · Capability

Greenhouse Job Board API — Offices

Greenhouse Job Board 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/{office-id}

MCP Tools

list-offices

List offices

read-only idempotent
retrieve-office

Retrieve office

read-only idempotent

Capability Spec

job-board-offices.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Greenhouse Job Board API — Offices
  description: 'Greenhouse Job Board 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: job-board-offices
    baseUri: https://boards-api.greenhouse.io/v1/boards/{board_token}
    description: Greenhouse Job Board 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-office_id
      path: /offices/{office_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: job-board-offices-rest
    port: 8080
    description: REST adapter for Greenhouse Job Board 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: job-board-offices.get
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/offices/{office-id}
      name: offices-office-id
      description: REST surface for offices-office_id.
      operations:
      - method: GET
        name: get
        description: Retrieve office
        call: job-board-offices.get
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: job-board-offices-mcp
    port: 9090
    transport: http
    description: MCP adapter for Greenhouse Job Board 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: job-board-offices.get
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-office
      description: Retrieve office
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: job-board-offices.get
      outputParameters:
      - type: object
        mapping: $.