Legacy Dev Forum Posts

 View Only

Sign Up

Usage of range in aggregate query filter

  • 1.  Usage of range in aggregate query filter

    Posted 06-05-2025 18:11

    dnivelad | 2017-02-03 08:54:17 UTC | #1

    Could you give an example of usage of the range property in

    /api/v2/analytics/conversations/aggregates/query

    is it possible to query for the following "How many calls were answered within X seconds?" and if so how should such a query be defined?


    tim.smith | 2017-02-03 16:14:23 UTC | #2

    dnivelad, post:1, topic:885
    Could you give an example of usage of the range property in /api/v2/analytics/conversations/aggregates/query

    Ranges can only be used with detail queries.

    dnivelad, post:1, topic:885
    is it possible to query for the following "How many calls were answered within X seconds?" and if so how should such a query be defined?

    Not currently. If you want that information, you currently have to pull the detail records and make the calculations and aggregations yourself. There is an upcoming analytics feature called "views" that will support this, however. There's not a hard release date set yet, but it will likely be sooner rather than later.

    Edit: the release of views is being tracked as AR-4737


    system | 2017-08-28 19:31:53 UTC | #3


    This post was migrated from the old Developer Forum.

    ref: 885