Get custom events aggregation binary counts
Retrieves aggregated counts of boolean event values (true/false) produced by a selected prompt over a specified time window.
Scope & filters: • promptUuid – The prompt to aggregate (required).
Time window & interval: • A time range (startTimeMs → endTimeMs, epoch ms) is required and is used exactly as provided. • If an interval is supplied (e.g., MINUTELY, QUARTERHOURLY, HOURLY), events are bucketed at that granularity. • Aggregation is always performed in the device’s local timezone. Buckets are computed relative to each device’s timezone, then evaluated within the exact provided window.
Response: • Per interval bucket, returns a BinaryAggregationValue with counts for true and false. • Includes minValueTimestampMs and maxValueTimestampMs (if available) and the bucket timestamp from BaseReportValue.
Notes: • Only binary/boolean prompt types are valid for this endpoint.
Request
- Base URL: https://api2.rhombussystems.com
- URL: https://api2.rhombussystems.com/api/report/getCustomEventsBinaryCounts
- Auth: API key in header x-auth-apikey
Headers
Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.
Request body
Example request
{
"endTimeMs": 1640998800000,
"promptUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"startTimeMs": 1640995200000
}Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.