groupings
The grouping applied to the metrics returned. For example, when grouped by QUEUE
, the metrics returned apply to each queue rather than aggregated for all queues.
If you group by
CHANNEL
, you should include a Channels filter. VOICE, CHAT, and TASK channels are supported.If you group by
ROUTING_PROFILE
, you must include either a queue or routing profile filter. In addition, a routing profile filter is required for metricsCONTACTS_SCHEDULED
,CONTACTS_IN_QUEUE
, andOLDEST_CONTACT_AGE
.If no
Grouping
is included in the request, a summary of metrics is returned.When using the
RoutingStepExpression
filter, group byROUTING_STEP_EXPRESSION
is required.