Knit · Capability

Knit Unified API — Time Off

Knit Unified API — Time Off. 1 operations. Lead operation: List Time Off. Self-contained Naftiko capability covering one Knit business surface.

Run with Naftiko KnitTime Off

What You Can Do

GET
Listtimeoff — List Time Off
/v1/time-off

MCP Tools

list-time-off

List Time Off

read-only idempotent

Capability Spec

unified-time-off.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Knit Unified API — Time Off
  description: 'Knit Unified API — Time Off. 1 operations. Lead operation: List Time Off. Self-contained Naftiko capability
    covering one Knit business surface.'
  tags:
  - Knit
  - Time Off
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    KNIT_API_KEY: KNIT_API_KEY
capability:
  consumes:
  - type: http
    namespace: unified-time-off
    baseUri: https://api.getknit.dev/v1
    description: Knit Unified API — Time Off business capability. Self-contained, no shared references.
    resources:
    - name: time-off
      path: /time-off
      operations:
      - name: listtimeoff
        method: GET
        description: List Time Off
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: integration_id
          in: query
          type: string
        - name: employee_id
          in: query
          type: string
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.KNIT_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: unified-time-off-rest
    port: 8080
    description: REST adapter for Knit Unified API — Time Off. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/time-off
      name: time-off
      description: REST surface for time-off.
      operations:
      - method: GET
        name: listtimeoff
        description: List Time Off
        call: unified-time-off.listtimeoff
        with:
          integration_id: rest.integration_id
          employee_id: rest.employee_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: unified-time-off-mcp
    port: 9090
    transport: http
    description: MCP adapter for Knit Unified API — Time Off. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-time-off
      description: List Time Off
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: unified-time-off.listtimeoff
      with:
        integration_id: tools.integration_id
        employee_id: tools.employee_id
      outputParameters:
      - type: object
        mapping: $.