Queries in Honeycomb are specifications for queries, and are used to identify queries in other parts of the API - in particular: boards, triggers, and query annotations.
This API allows you to create and get query objects.
The API key must have the Manage Queries and Columns permission. Learn more about API keys here.
Create a query from a specification. DOES NOT run the query to retrieve results.
Success
Not Found
Invalid Query
{- "breakdowns": [
- "user_agent"
], - "calculations": [
- {
- "op": "COUNT",
- "column": null
}
], - "filters": [
- {
- "op": "=",
- "column": null,
- "value": { }
}
], - "filter_combination": "AND",
- "granularity": 1,
- "orders": [
- {
- "column": "string",
- "op": "COUNT",
- "order": "ascending"
}
], - "limit": 100,
- "start_time": 1676399428,
- "end_time": 1676467828,
- "time_range": 7200,
- "havings": [
- {
- "calculate_op": "COUNT",
- "column": null,
- "op": "=",
- "value": 10
}
]
}
{- "id": "abc3419d",
- "breakdowns": [
- "user_agent"
], - "calculations": [
- {
- "op": "COUNT"
}
], - "orders": [
- {
- "op": "COUNT",
- "order": "descending"
}
], - "limit": 10,
- "time_range": 7200,
- "end_time": 1676467828
}
{- "id": "abc3419d",
- "breakdowns": [
- "user_agent"
], - "calculations": [
- {
- "op": "COUNT"
}
], - "orders": [
- {
- "op": "COUNT",
- "order": "descending"
}
], - "limit": 10,
- "time_range": 7200,
- "end_time": 1676467828
}