Query Data
Create a Query Result
Kick off processing of a Query to then get back the Query Results. Once the Query Result has been created, the query will be run asynchronously, allowing the result data to be fetched from the GET query result endpoint. A maximum duration of 7 days of data can be queried. Any queries with a start_time, end_time, or time_range resulting in a duration longer than 7 days will result in a 400 error response.
post/1/query_results/{datasetSlug}
Request body
Example request
{
"query_id": "mabAMpSPDjH"
}Response
Created
Example response
{
"id": "sGUnkBHgRFN",
"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"
}
}