honeycomb · Capability

Honeycomb API — Calculated Fields

Honeycomb API — Calculated Fields. 5 operations. Lead operation: List calculated fields. Self-contained Naftiko capability covering one Honeycomb business surface.

Run with Naftiko HoneycombCalculated Fields

What You Can Do

GET
Listcalculatedfields — List calculated fields
/v1/1/calculated-fields/{datasetslug}
POST
Createcalculatedfield — Create a calculated field
/v1/1/calculated-fields/{datasetslug}
GET
Getcalculatedfield — Get a calculated field
/v1/1/calculated-fields/{datasetslug}/{calculatedfieldid}
PUT
Updatecalculatedfield — Update a calculated field
/v1/1/calculated-fields/{datasetslug}/{calculatedfieldid}
DELETE
Deletecalculatedfield — Delete a calculated field
/v1/1/calculated-fields/{datasetslug}/{calculatedfieldid}

MCP Tools

list-calculated-fields

List calculated fields

read-only idempotent
create-calculated-field

Create a calculated field

get-calculated-field

Get a calculated field

read-only idempotent
update-calculated-field

Update a calculated field

idempotent
delete-calculated-field

Delete a calculated field

idempotent

Capability Spec

honeycomb-calculated-fields.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Honeycomb API — Calculated Fields
  description: 'Honeycomb API — Calculated Fields. 5 operations. Lead operation: List calculated fields. Self-contained Naftiko
    capability covering one Honeycomb business surface.'
  tags:
  - Honeycomb
  - Calculated Fields
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    HONEYCOMB_API_KEY: HONEYCOMB_API_KEY
capability:
  consumes:
  - type: http
    namespace: honeycomb-calculated-fields
    baseUri: https://api.honeycomb.io
    description: Honeycomb API — Calculated Fields business capability. Self-contained, no shared references.
    resources:
    - name: 1-calculated_fields-datasetSlug
      path: /1/calculated_fields/{datasetSlug}
      operations:
      - name: listcalculatedfields
        method: GET
        description: List calculated fields
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createcalculatedfield
        method: POST
        description: Create a calculated field
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: 1-calculated_fields-datasetSlug-calculatedFieldId
      path: /1/calculated_fields/{datasetSlug}/{calculatedFieldId}
      operations:
      - name: getcalculatedfield
        method: GET
        description: Get a calculated field
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatecalculatedfield
        method: PUT
        description: Update a calculated field
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletecalculatedfield
        method: DELETE
        description: Delete a calculated field
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: X-Honeycomb-Team
      value: '{{env.HONEYCOMB_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: honeycomb-calculated-fields-rest
    port: 8080
    description: REST adapter for Honeycomb API — Calculated Fields. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/1/calculated-fields/{datasetslug}
      name: 1-calculated-fields-datasetslug
      description: REST surface for 1-calculated_fields-datasetSlug.
      operations:
      - method: GET
        name: listcalculatedfields
        description: List calculated fields
        call: honeycomb-calculated-fields.listcalculatedfields
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createcalculatedfield
        description: Create a calculated field
        call: honeycomb-calculated-fields.createcalculatedfield
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/1/calculated-fields/{datasetslug}/{calculatedfieldid}
      name: 1-calculated-fields-datasetslug-calculatedfieldid
      description: REST surface for 1-calculated_fields-datasetSlug-calculatedFieldId.
      operations:
      - method: GET
        name: getcalculatedfield
        description: Get a calculated field
        call: honeycomb-calculated-fields.getcalculatedfield
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatecalculatedfield
        description: Update a calculated field
        call: honeycomb-calculated-fields.updatecalculatedfield
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletecalculatedfield
        description: Delete a calculated field
        call: honeycomb-calculated-fields.deletecalculatedfield
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: honeycomb-calculated-fields-mcp
    port: 9090
    transport: http
    description: MCP adapter for Honeycomb API — Calculated Fields. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-calculated-fields
      description: List calculated fields
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: honeycomb-calculated-fields.listcalculatedfields
      outputParameters:
      - type: object
        mapping: $.
    - name: create-calculated-field
      description: Create a calculated field
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: honeycomb-calculated-fields.createcalculatedfield
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-calculated-field
      description: Get a calculated field
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: honeycomb-calculated-fields.getcalculatedfield
      outputParameters:
      - type: object
        mapping: $.
    - name: update-calculated-field
      description: Update a calculated field
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: honeycomb-calculated-fields.updatecalculatedfield
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-calculated-field
      description: Delete a calculated field
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: honeycomb-calculated-fields.deletecalculatedfield
      outputParameters:
      - type: object
        mapping: $.