v1

latestOpenAPI 3.1.0Apache 2.02026-07-2685126228.9 KB
Query Data

Get Query Result

Get the Query Result details for a specific Query Result ID. This endpoint is used to fetch the results of a query that had previously been created. It is recommended to follow the Location header included in the Create Query Result output, but the URL can also be constructed manually with the <query-result-id>.

get/1/query_results/{datasetSlug}/{queryResultId}

Response

Success

idstring

The unique identifier (ID) of a Query Result

completeboolean

Indicates if the query results are available yet or not. For example, is the query still being processed or complete?

Example response

{
  "id": "sGUnkBHgRFN",
  "complete": true,
  "data": {
    "series": [
      {
        "data": {
          "COUNT": 1,
          "P99(duration_ms)": 210,
          "name": "TestGoogleCallbackLogin",
          "test.classname": "github.com/honeycombio/hound/cmd/poodle/handlers",
          "test.status": "passed"
        }
      }
    ],
    "results": [
      {
        "data": {
          "COUNT": 1,
          "P99(duration_ms)": 210,
          "name": "TestGoogleCallbackLogin",
          "test.classname": "github.com/honeycombio/hound/cmd/poodle/handlers",
          "test.status": "passed"
        }
      }
    ],
    "total_by_aggregate": {
      "data": {
        "COUNT": 1,
        "P99(duration_ms)": 210,
        "name": "TestGoogleCallbackLogin",
        "test.classname": "github.com/honeycombio/hound/cmd/poodle/handlers",
        "test.status": "passed"
      }
    },
    "total_by_aggregate_series": [
      {
        "data": {
          "COUNT": 1,
          "P99(duration_ms)": 210,
          "name": "TestGoogleCallbackLogin",
          "test.classname": "github.com/honeycombio/hound/cmd/poodle/handlers",
          "test.status": "passed"
        }
      }
    ],
    "other_by_aggregate": {
      "data": {
        "COUNT": 1,
        "P99(duration_ms)": 210,
        "name": "TestGoogleCallbackLogin",
        "test.classname": "github.com/honeycombio/hound/cmd/poodle/handlers",
        "test.status": "passed"
      }
    }
  },
  "links": {
    "query_url": "https://ui.honeycomb.io/myteam/datasets/test-via-curl/result/HprJhV1fYy",
    "graph_image_url": "https://ui.honeycomb.io/myteam/datasets/test-via-curl/result/HprJhV1fYy/snapshot"
  }
}