The response for querying metrics.
JSON representation |
---|
{ "location": string, "updateTime": string, "slices": [ { object ( |
Fields | |
---|---|
location |
Required. The location of the data. "projects/{project}/locations/{location}" |
update |
The metrics last update time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
slices[] |
A slice contains a total and (if the request specified a time granularity) a time series of metric values. Each slice contains a unique combination of the cardinality of dimensions from the request. |
macro |
The macro average slice contains aggregated averages across the selected dimension. i.e. if group_by agent is specified this field will contain the average across all agents. This field is only populated if the request specifies a Dimension. |
Slice
A slice contains a total and (if the request specified a time granularity) a time series of metric values. Each slice contains a unique combination of the cardinality of dimensions from the request.
For example, if the request specifies a single ISSUE dimension and it has a cardinality of 2 (i.e. the data used to compute the metrics has 2 issues in total), the response will have 2 slices:
- Slice 1 -> dimensions=[Issue 1]
- Slice 2 -> dimensions=[Issue 2]
JSON representation |
---|
{ "dimensions": [ { object ( |
Fields | |
---|---|
dimensions[] |
A unique combination of dimensions that this slice represents. |
total |
The total metric value. The interval of this data point is [starting create time, ending create time) from the request. |
time |
A time series of metric values. This is only populated if the request specifies a time granularity other than NONE. |
DataPoint
A data point contains the metric values mapped to an interval.
JSON representation |
---|
{ "interval": { object ( |
Fields | |
---|---|
interval |
The interval that this data point represents.
|
Union field measure . The measure included in this data point. measure can be only one of the following: |
|
conversation |
The measure related to conversations. |
ConversationMeasure
The measure related to conversations.
JSON representation |
---|
{
"qaTagScores": [
{
object ( |
Fields | |
---|---|
qa |
Average QA normalized score for all the tags. |
conversation |
The conversation count. |
average |
The average silence percentage. |
average |
The average duration. A duration in seconds with up to nine fractional digits, ending with ' |
average |
The average turn count. |
average |
The average agent's sentiment score. |
average |
The average client's sentiment score. |
average |
The average customer satisfaction rating. |
average |
Average QA normalized score. Will exclude 0's in average calculation. |
average |
Average QA normalized score averaged for questions averaged across all revisions of the parent scorecard. Will be only populated if the request specifies a dimension of QA_QUESTION_ID. |
knowledge |
Count of knowledge search results (Generative Knowledge Assist) shown to the user. |
knowledge |
Proportion of knowledge search (Generative Knowledge Assist) queries made by the agent compared to the total number of knowledge search queries made. |
knowledge |
Proportion of knowledge search (Generative Knowledge Assist) queries suggested compared to the total number of knowledge search queries made. |
knowledge |
Count of knowledge assist results (Proactive Generative Knowledge Assist) shown to the user. |
knowledge |
Proportion of knowledge search (Generative Knowledge Assist) queries that had a URL clicked. |
knowledge |
Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had a URL clicked. |
knowledge |
Proportion of knowledge search (Generative Knowledge Assist) queries that had positive feedback. |
knowledge |
Proportion of knowledge search (Generative Knowledge Assist) queries that had negative feedback. |
knowledge |
Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had positive feedback. |
knowledge |
Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had negative feedback. |
summarization |
Proportion of summarization suggestions that were manually edited. |
average |
Average edit distance of the summarization suggestions. Edit distance (also called as levenshtein distance) is calculated by summing up number of insertions, deletions and substitutions required to transform the summization feedback to the original summary suggestion. |
conversation |
Proportion of conversations that had a suggested summary. |
QaTagScore
Average QA normalized score for the tag.
JSON representation |
---|
{ "tag": string, "averageTagNormalizedScore": number } |
Fields | |
---|---|
tag |
Tag name. |
average |
Average tag normalized score per tag. |
TimeSeries
A time series of metric values.
JSON representation |
---|
{
"dataPoints": [
{
object ( |
Fields | |
---|---|
data |
The data points that make up the time series . |