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
The provided request body was invalid. Most APIs will return a DetailedError for this condition, explaining what went wrong, but some older APIs only return a GenericError.
Not Found
Validation Failed
{- "calculations": [
- {
- "op": "COUNT"
}
], - "orders": [
- {
- "op": "COUNT",
- "order": "descending"
}
], - "time_range": 7200
}
{- "id": "abc3419d",
- "calculations": [
- {
- "op": "COUNT"
}
], - "orders": [
- {
- "op": "COUNT",
- "order": "descending"
}
], - "time_range": 7200
}
Retrieve a query by its ID.
Success
Forbidden
Not Found
{- "id": "abc3419d",
- "breakdowns": [
- "user_agent"
], - "calculations": [
- {
- "op": "COUNT"
}
], - "orders": [
- {
- "op": "COUNT",
- "order": "descending"
}
], - "limit": 10,
- "time_range": 7200,
- "end_time": 1676467828
}