v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1380629577.7 KB
projects

Query metrics.

post/v1/{+location}:queryMetrics

Path parameters

locationstring required

Required. The location of the data. "projects/{project}/locations/{location}"

Request body

filterstring

Required. Filter to select a subset of conversations to compute the metrics. Must specify a window of the conversation create time to compute the metrics. The returned metrics will be from the range [DATE(starting create time), DATE(ending create time)).

timeGranularity'TIME_GRANULARITY_UNSPECIFIED' | 'NONE' | 'DAILY' | 'HOURLY' | 'PER_MINUTE' | 'PER_5_MINUTES' | 'MONTHLY'

The time granularity of each data point in the time series. Defaults to NONE if this field is unspecified.

measureMaskstring google-fieldmask

Measures to return. Defaults to all measures if this field is unspecified. A valid mask should traverse from the measure field from the response. For example, a path from a measure mask to get the conversation count is "conversation_measure.count".

Response

Successful response