Numerically Bucket
Get data for an event, segmented and filtered by properties, with values placed into numeric buckets. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.
❗️The Segmentation Query API is in maintenance mode. We recommend discontinuing new use of this endpoint. To break down and filter event data, build an Insights report in-app and query it programmatically with the Insights Query API. For raw event data, see export methods. If you need help choosing the best method, reach out to support.
Authorizations
Service Account
Query Parameters
Required if using service account to authenticate request.
The id of the workspace if applicable.
The event that you wish to get data for. Note: this is a single event name, not an array.
The date in yyyy-mm-dd format to begin querying from. This date is inclusive.
The date in yyyy-mm-dd format to query to. This date is inclusive.
The property expression to segment the event on. This expression must be a numeric property. See the expressions section below.
This can be "hour" or "day". This determines the buckets into which the property values that you segment on are placed. The default value is "day".
hour, day An expression to filter events by. See the expression to segment below.
This can be "hour" or "day". This determines the buckets into which the property values that you segment on are placed. The default value is "day".
general, unique, average