ThreadSingleValueMetricInput
ThreadSingleValueMetricInputFields
UTC date time ending in Z (e.g. 2024-10-28T18:30:00Z or 2024-10-28T18:30:00.000Z). Offsets such as +00:00 are rejected. Required for all metrics except all-time counts (e.g. threads_all_time_count_done), which reject a date range.
UTC date time ending in Z (e.g. 2024-10-28T18:30:00Z or 2024-10-28T18:30:00.000Z). Offsets such as +00:00 are rejected. A future value is treated as now. Required for all metrics except all-time counts (e.g. threads_all_time_count_done), which reject a date range.
Required for agent_* metrics in METRIC mode: pass [{ dimension: ASSIGNEE }], or another dimension together with filters.userIds.
Percentile (integer 1-99, e.g. 90 for P90) for the configurable-percentile duration metrics (threads_first_response_time, threads_resolution_time, threads_time_customer_waiting, threads_time_between_follow_up_responses, and their agent_ variants). Defaults to 50 (median). Rejected for any other metric.
How machine users count in this metric. Omit to use the metric's default. A mode the metric does not support is rejected with input_validation. See threadMetricCapabilities for each metric's default, supported modes and what counts as machine-user activity.
The return mode. Either METRIC - the values of the metric. Or THREAD_IDS - the distinct thread ids behind the values. Use filters and to/from to narrow search if looking for threadsIds for a specific subset
Was this page helpful?

