honeycomb · Capability

Honeycomb Environments API — Environments

Honeycomb Environments API — Environments. 5 operations. Lead operation: List all environments. Self-contained Naftiko capability covering one Honeycomb business surface.

Run with Naftiko HoneycombEnvironments

What You Can Do

GET
Listenvironments — List all environments
/v1/1/environments
POST
Createenvironment — Create an environment
/v1/1/environments
GET
Getenvironment — Get an environment
/v1/1/environments/{environmentid}
PUT
Updateenvironment — Update an environment
/v1/1/environments/{environmentid}
DELETE
Deleteenvironment — Delete an environment
/v1/1/environments/{environmentid}

MCP Tools

list-all-environments

List all environments

read-only idempotent
create-environment

Create an environment

get-environment

Get an environment

read-only idempotent
update-environment

Update an environment

idempotent
delete-environment

Delete an environment

idempotent

Capability Spec

environments-environments.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Honeycomb Environments API — Environments
  description: 'Honeycomb Environments API — Environments. 5 operations. Lead operation: List all environments. Self-contained
    Naftiko capability covering one Honeycomb business surface.'
  tags:
  - Honeycomb
  - Environments
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    HONEYCOMB_API_KEY: HONEYCOMB_API_KEY
capability:
  consumes:
  - type: http
    namespace: environments-environments
    baseUri: https://api.honeycomb.io
    description: Honeycomb Environments API — Environments business capability. Self-contained, no shared references.
    resources:
    - name: 1-environments
      path: /1/environments
      operations:
      - name: listenvironments
        method: GET
        description: List all environments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createenvironment
        method: POST
        description: Create an environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: 1-environments-environmentId
      path: /1/environments/{environmentId}
      operations:
      - name: getenvironment
        method: GET
        description: Get an environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateenvironment
        method: PUT
        description: Update an environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteenvironment
        method: DELETE
        description: Delete an environment
        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: environments-environments-rest
    port: 8080
    description: REST adapter for Honeycomb Environments API — Environments. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/1/environments
      name: 1-environments
      description: REST surface for 1-environments.
      operations:
      - method: GET
        name: listenvironments
        description: List all environments
        call: environments-environments.listenvironments
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createenvironment
        description: Create an environment
        call: environments-environments.createenvironment
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/1/environments/{environmentid}
      name: 1-environments-environmentid
      description: REST surface for 1-environments-environmentId.
      operations:
      - method: GET
        name: getenvironment
        description: Get an environment
        call: environments-environments.getenvironment
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateenvironment
        description: Update an environment
        call: environments-environments.updateenvironment
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteenvironment
        description: Delete an environment
        call: environments-environments.deleteenvironment
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: environments-environments-mcp
    port: 9090
    transport: http
    description: MCP adapter for Honeycomb Environments API — Environments. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-all-environments
      description: List all environments
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: environments-environments.listenvironments
      outputParameters:
      - type: object
        mapping: $.
    - name: create-environment
      description: Create an environment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: environments-environments.createenvironment
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-environment
      description: Get an environment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: environments-environments.getenvironment
      outputParameters:
      - type: object
        mapping: $.
    - name: update-environment
      description: Update an environment
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: environments-environments.updateenvironment
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-environment
      description: Delete an environment
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: environments-environments.deleteenvironment
      outputParameters:
      - type: object
        mapping: $.