Skip to main content
inputThreadTimeSeriesMetricInput

Fields

metricName
from
String!
required

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.

to
String!
required

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.

interval

Required for agent_* metrics in METRIC mode: pass [{ dimension: ASSIGNEE }], or another dimension together with filters.userIds.

percentile
Int

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, threads_time_between_all_responses, and their agent_ variants). Defaults to 50 (median). Rejected for any other metric.

machineUsers

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.

mode

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