Honeycomb · Capability

Honeycomb Queries API — Queries

Honeycomb Queries API — Queries. 2 operations. Lead operation: Create a Query. Self-contained Naftiko capability covering one Honeycomb business surface.

Honeycomb Queries API — Queries is a Naftiko capability published by Honeycomb, one of 22 capabilities the APIs.io network indexes for this provider. It bundles 2 operations across the POST and GET methods rooted at /v1/1/queries/{…}.

The capability includes 1 read-only operation and 1 state-changing operation. Lead operation: Create a Query. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Honeycomb, Observability, and Queries.

Run with Naftiko HoneycombObservabilityQueries

What You Can Do

POST
Createquery — Create a Query
/v1/1/queries/{datasetSlug}
GET
Getquery — Get a Query
/v1/1/queries/{datasetSlug}/{queryId}

MCP Tools

honeycomb-queries-queries-createquery

Create a Query

honeycomb-queries-queries-getquery

Get a Query

read-only idempotent

Capability Spec

queries-queries.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: "Honeycomb Queries API \u2014 Queries"
  description: "Honeycomb Queries API \u2014 Queries. 2 operations. Lead operation: Create a Query. Self-contained Naftiko capability covering one Honeycomb business surface."
  tags:
  - Honeycomb
  - Observability
  - Queries
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    HONEYCOMB_API_KEY: HONEYCOMB_API_KEY
capability:
  consumes:
  - type: http
    namespace: queries-queries
    baseUri: https://api.honeycomb.io
    description: "Honeycomb Queries API \u2014 Queries business capability. Self-contained, no shared references."
    resources:
    - name: 1-queries
      path: /1/queries/{datasetSlug}
      operations:
      - name: createquery
        method: POST
        description: Create a Query
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: 1-queries
      path: /1/queries/{datasetSlug}/{queryId}
      operations:
      - name: getquery
        method: GET
        description: Get a Query
        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: queries-queries-rest
    port: 8080
    description: "REST adapter for Honeycomb Queries API \u2014 Queries. One Spectral-compliant resource per consumed operation, prefixed with /v1."
    resources:
    - path: /v1/1/queries/{datasetSlug}
      name: 1-queries
      description: REST surface for 1-queries.
      operations:
      - method: POST
        name: createquery
        description: Create a Query
        call: queries-queries.createquery
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/1/queries/{datasetSlug}/{queryId}
      name: 1-queries
      description: REST surface for 1-queries.
      operations:
      - method: GET
        name: getquery
        description: Get a Query
        call: queries-queries.getquery
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: queries-queries-mcp
    port: 9090
    transport: http
    description: "MCP adapter for Honeycomb Queries API \u2014 Queries. One tool per consumed operation, routed inline through this capability's consumes block."
    tools:
    - name: honeycomb-queries-queries-createquery
      description: Create a Query
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: queries-queries.createquery
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: honeycomb-queries-queries-getquery
      description: Get a Query
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: queries-queries.getquery
      outputParameters:
      - type: object
        mapping: $.