Coaching

Our Coaching Service API provides a comprehensive set of endpoints to create, read, update, delete, acknowledge, list, export, and manage all coaching-related entities—such as comments, plans, sessions, scorecards, and targets—covering everything from scorecard backfills to retrieving evaluation periods and agent quotas.

Languages
Servers
https://{api-domain}.cresta.com/

CoachingService

Operations

Get a list of coaching sessions.

Request

Path
parentstringrequired

Resource name of the parent. Format: customers/{customer_id}/profiles/{profile_id}

Query
pageSizeinteger(int32)

Page size for the response.

pageTokenstring

The next page token for paging.

agentUserNamestring

Resource name of the agent to get the coaching sessions for. Format: customers/{customer_id}/users/{user_id}.

coachingPlanNamestring

Coaching plan you want to retrieve the sessions for Format: customers/{customer_id}/profiles/{profile_id}/coachingPlans/{coaching_plan_id}.

usecaseNamesArray of strings

Usecase resource names to filter the coaching sessions Made optional for backwards compatibilty, is actually required. Will work with only a single usecase, field is made repeated for future proofness. Format: customers/{customer_id}/profiles/{profile_id}/usecases/{usecase_id}.

curl -i -X GET \
  'https://{api-domain}.cresta.com/v1/{parent=customers/*/profiles/*}/coachingSessions'

Responses

A successful response.

Bodyapplication/json
coachingSessionsArray of objects(A coaching session. Next ID: 16)read-only

The requested coaching sessions resources.

nextPageTokenstringread-only

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

Response
application/json
{ "coachingSessions": [ {} ], "nextPageToken": "string" }

Create a coaching session.

Request

Path
parentstringrequired

Resource name of the parent. Format: customers/{customer_id}/profiles/{profile_id}

Bodyapplication/jsonrequired

Coaching session to be created.

namestring(Resource name for the coaching session Format: customers/{customer_id}/profiles/{profile_id}/coachingSessions/{coaching_session_id})
createTimestring(date-time)required

When the coaching session is created.

updateTimestring(date-time)required

When the coaching session is last updated.

managerUpdateTimestring(date-time)required

When the coaching session is last updated by the manager.

agentUpdateTimestring(date-time)required

When the coaching session is last updated by an agent action.

acknowledgeTimestring(date-time)

The time when the agent acknowledged the coaching session.

agentCommentstring

The comment the agent left on the coaching session.

agentUserNamestring(Resource name of the agent who is subject to the coaching session Format: customers/{customer_id}/users/{user_id})required
creatorUserNamestring(Resource name for the creator of this coachin session. Format: customers/{customer_id}/users/{user_id})required
coachingPlanNamestring(Resource name for the coaching plan this coaching session belongs to. Format: customers/{customer_id}/profiles/{profile_id}/coachingPlans/{coaching_plan_id})required
sessionTimestring(date-time)(The scheduled time of the session)
meetingNotesstring

Notes taken during the coaching session.

managerSubmitTimestring(date-time)

When the manager submitted the coaching session.

agentSubmitTimestring(date-time)

When the agent submitted the coaching session.

usecaseNamestring(Resource name of the usecase this coaching session belongs to. Format: customers/{customer_id}/profiles/{profile_id}/usecases/{usecase_id})
managerSubmitterUserNamestring(Resource name of whom updated the session note Format: customers/{customer_id}/users/{user_id})
curl -i -X POST \
  'https://{api-domain}.cresta.com/v1/{parent=customers/*/profiles/*}/coachingSessions' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "string",
    "createTime": "2019-08-24T14:15:22Z",
    "updateTime": "2019-08-24T14:15:22Z",
    "managerUpdateTime": "2019-08-24T14:15:22Z",
    "agentUpdateTime": "2019-08-24T14:15:22Z",
    "acknowledgeTime": "2019-08-24T14:15:22Z",
    "agentComment": "string",
    "agentUserName": "string",
    "creatorUserName": "string",
    "coachingPlanName": "string",
    "sessionTime": "2019-08-24T14:15:22Z",
    "meetingNotes": "string",
    "managerSubmitTime": "2019-08-24T14:15:22Z",
    "agentSubmitTime": "2019-08-24T14:15:22Z",
    "usecaseName": "string",
    "managerSubmitterUserName": "string"
  }'

Responses

A successful response.

Bodyapplication/json
coachingSessionobject(A coaching session. Next ID: 16)
Response
application/json
{ "coachingSession": { "name": "string", "createTime": "2019-08-24T14:15:22Z", "updateTime": "2019-08-24T14:15:22Z", "managerUpdateTime": "2019-08-24T14:15:22Z", "agentUpdateTime": "2019-08-24T14:15:22Z", "acknowledgeTime": "2019-08-24T14:15:22Z", "agentComment": "string", "agentUserName": "string", "creatorUserName": "string", "coachingPlanName": "string", "sessionTime": "2019-08-24T14:15:22Z", "meetingNotes": "string", "managerSubmitTime": "2019-08-24T14:15:22Z", "agentSubmitTime": "2019-08-24T14:15:22Z", "usecaseName": "string", "managerSubmitterUserName": "string" } }

Create a new scorecard template

Request

Path
parentstringrequired

Resource name of the parent. Format: customers/{customer_id}/profiles/{profile_id}

Bodyapplication/jsonrequired

Scorecard template to be created

namestring(Resource name of a scorecard template Format: customers/{customer_id}/profiles/{profile_id}/scorecardTemplates/{scorecard_template_id})
titlestringrequired

Title of the scorecard template.

templateobjectrequired

Json defining what the template should look like.

audienceobject(v1coachingAudience)

Represents the audience the scorecard template should be accessible by.

resolvedAudienceobject(Represents the resources that correspond to the resource names in audience)
usecaseNamesArray of strings(Resource names of the usecases this scorecard template can be used in. Format: customers/{customer_id}/profiles/{profile_id}/usecases/{usecase_id})
qaTaskConfigobject(qaQATaskConfig)

The config for the QA tasks.

lastUpdatedByobject(User is a user entity for the cresta product Next ID: 32)
permissionsobject(The permission of a scorecard template)
typestring(coachingScorecardTemplateType)

The types of a scorecard template.

  • SCORECARD_TEMPLATE_TYPE_UNSPECIFIED: Unspecified
  • SCORECARD_TEMPLATE_TYPE_CONVERSATION: The template defines the scorecards on conversations.
  • SCORECARD_TEMPLATE_TYPE_PROCESS: The template defines the scorecards on processes.
Default "SCORECARD_TEMPLATE_TYPE_UNSPECIFIED"
Enum"SCORECARD_TEMPLATE_TYPE_UNSPECIFIED""SCORECARD_TEMPLATE_TYPE_CONVERSATION""SCORECARD_TEMPLATE_TYPE_PROCESS"
statusstring(The status of a scorecard template. Sync with github.com/cresta/sql-schema/protos/qa/qa.proto:ScorecardTemplateStatus)
  • SCORECARD_TEMPLATE_STATUS_UNSPECIFIED: Unspecified
  • SCORECARD_TEMPLATE_STATUS_ACTIVE: The template is active
  • SCORECARD_TEMPLATE_STATUS_INACTIVE: The template is inactive
  • SCORECARD_TEMPLATE_STATUS_ARCHIVED: The template is archived
Default "SCORECARD_TEMPLATE_STATUS_UNSPECIFIED"
Enum"SCORECARD_TEMPLATE_STATUS_UNSPECIFIED""SCORECARD_TEMPLATE_STATUS_ACTIVE""SCORECARD_TEMPLATE_STATUS_INACTIVE""SCORECARD_TEMPLATE_STATUS_ARCHIVED"
qaScoreConfigobject(qaQAScoreConfig)

The config for the QA scores for the scorecard templates.

curl -i -X POST \
  'https://{api-domain}.cresta.com/v1/{parent=customers/*/profiles/*}/scorecardTemplates' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "string",
    "title": "string",
    "template": {},
    "audience": {
      "users": [
        "string"
      ],
      "teams": [
        "string"
      ],
      "groups": [
        "string"
      ]
    },
    "resolvedAudience": {
      "users": [
        {
          "name": "string",
          "userId": "string",
          "username": "string",
          "email": "string",
          "displayName": "string",
          "fullName": "string",
          "isDevUser": true,
          "roles": [
            "ROLE_UNSPECIFIED"
          ],
          "legacyRoles": [
            "ROLE_UNSPECIFIED"
          ],
          "agentProfiles": [
            {
              "agentProfileId": 0,
              "agentExtension": "string",
              "legacy": {
                "platformLoginName": "string",
                "platformUserId": "string"
              }
            }
          ],
          "team": "string",
          "state": "ACTIVE_STATE_UNSPECIFIED",
          "loginStatus": {
            "loginStatus": "LOGIN_STATUS_UNSPECIFIED"
          },
          "manager": "string",
          "externalIdmId": "string",
          "platformProfiles": [
            {
              "platformType": "PLATFORM_TYPE_UNSPECIFIED",
              "platformId": "string",
              "agentExtension": "string",
              "liveperson": {
                "accountNumber": "string",
                "loginName": "string"
              },
              "cisco": {
                "agentExtension": "string"
              },
              "userFeatureGate": {
                "teleportFeatures": {}
              }
            }
          ],
          "isGuestUser": true,
          "type": "USER_TYPE_UNSPECIFIED",
          "profileNames": [
            "string"
          ],
          "usecases": [
            "string"
          ],
          "profileStates": {
            "property1": "PROFILE_STATE_UNSPECIFIED",
            "property2": "PROFILE_STATE_UNSPECIFIED"
          },
          "preferredProfile": "string",
          "authenticationFactors": [
            {
              "id": "string",
              "label": "string",
              "type": "TYPE_UNSPECIFIED",
              "enrollmentTime": "2019-08-24T14:15:22Z",
              "name": "string"
            }
          ],
          "requirePasswordReset": true,
          "migratedEntities": [
            "MIGRATABLE_ENTITY_UNSPECIFIED"
          ]
        }
      ],
      "teams": [
        {
          "name": "string",
          "displayName": "string",
          "manager": "string",
          "state": "ACTIVE_STATE_UNSPECIFIED"
        }
      ],
      "groups": [
        {
          "name": "string",
          "displayName": "string",
          "type": "GROUP_TYPE_UNSPECIFIED",
          "creator": "string",
          "owner": "string",
          "externalIdmId": "string",
          "state": "GROUP_STATE_UNSPECIFIED",
          "visibility": "GROUP_VISIBILITY_UNSPECIFIED",
          "profileNames": [
            "string"
          ],
          "crestaManaged": true
        }
      ]
    },
    "usecaseNames": [
      "string"
    ],
    "qaTaskConfig": {
      "taskCompleteConfig": {
        "evaluatedConversationCountPerAgent": 0,
        "overriddenAgents": [
          {
            "group": "string",
            "user": "string",
            "evaluatedConversationCountPerAgent": 0
          }
        ]
      },
      "evaluationPeriodConfig": {
        "evaluationDuration": "string",
        "evaluationPeriodDuration": "EVALUATION_PERIOD_DURATION_UNSPECIFIED",
        "startTime": "2019-08-24T14:15:22Z",
        "overrideTimeRange": {
          "startTimestamp": "2019-08-24T14:15:22Z",
          "endTimestamp": "2019-08-24T14:15:22Z"
        }
      },
      "qaAnalystQuotaConfig": {
        "qaAnalystQuotas": [
          {
            "qaAnalystUserId": "string",
            "qaAnalystDisplayName": "string",
            "assignedConversationCount": 0
          }
        ]
      },
      "conversationSuggestionConfig": {
        "conversationFilters": {
          "teams": [
            {
              "name": "string",
              "displayName": "string",
              "manager": "string",
              "state": "ACTIVE_STATE_UNSPECIFIED"
            }
          ],
          "groups": [
            {
              "name": "string",
              "displayName": "string",
              "type": "GROUP_TYPE_UNSPECIFIED",
              "creator": "string",
              "owner": "string",
              "externalIdmId": "string",
              "state": "GROUP_STATE_UNSPECIFIED",
              "visibility": "GROUP_VISIBILITY_UNSPECIFIED",
              "profileNames": [
                "string"
              ],
              "crestaManaged": true
            }
          ],
          "users": [
            {
              "name": "string",
              "userId": "string",
              "username": "string",
              "email": "string",
              "displayName": "string",
              "fullName": "string",
              "isDevUser": true,
              "roles": [
                "ROLE_UNSPECIFIED"
              ],
              "legacyRoles": [
                "ROLE_UNSPECIFIED"
              ],
              "agentProfiles": [
                {}
              ],
              "team": "string",
              "state": "ACTIVE_STATE_UNSPECIFIED",
              "loginStatus": {
                "loginStatus": "LOGIN_STATUS_UNSPECIFIED"
              },
              "manager": "string",
              "externalIdmId": "string",
              "platformProfiles": [
                {}
              ],
              "isGuestUser": true,
              "type": "USER_TYPE_UNSPECIFIED",
              "profileNames": [
                "string"
              ],
              "usecases": [
                "string"
              ],
              "profileStates": {
                "property1": "PROFILE_STATE_UNSPECIFIED",
                "property2": "PROFILE_STATE_UNSPECIFIED"
              },
              "preferredProfile": "string",
              "authenticationFactors": [
                {}
              ],
              "requirePasswordReset": true,
              "migratedEntities": [
                "MIGRATABLE_ENTITY_UNSPECIFIED"
              ]
            }
          ],
          "intents": [
            {
              "name": "string",
              "description": "string",
              "type": "TYPE_UNSPECIFIED",
              "currentActiveStatus": "ACTIVE_STATUS_UNSPECIFIED",
              "historicActiveStatus": "ACTIVE_STATUS_UNSPECIFIED",
              "order": 0
            }
          ],
          "speakerRoles": [
            "string"
          ],
          "conversationReasons": [
            {
              "id": "string",
              "description": "string"
            }
          ],
          "conversationDurationBuckets": [
            {
              "id": "string",
              "lowerBound": 0.1,
              "upperBound": 0.1
            }
          ],
          "conversationDurationRange": {
            "minDuration": "string",
            "maxDuration": "string"
          },
          "guidedWorkflows": [
            {
              "name": "string",
              "title": "string",
              "branchingSteps": {
                "firstStepId": 0,
                "steps": {},
                "defaultIsInstruction": true
              },
              "linearSteps": {
                "steps": [
                  null
                ],
                "defaultIsInstruction": true
              },
              "viewport": {
                "x": 0.1,
                "y": 0.1,
                "zoom": 0.1
              },
              "type": "TYPE_UNSPECIFIED"
            }
          ],
          "guidedWorkflowNames": [
            "string"
          ],
          "timeRanges": [
            {
              "startTimestamp": "2019-08-24T14:15:22Z",
              "endTimestamp": "2019-08-24T14:15:22Z"
            }
          ],
          "momentGroups": [
            {
              "moments": [
                {
                  "usecases": [],
                  "appTypes": [],
                  "relatedPolicies": [],
                  "momentUsages": []
                }
              ],
              "excludedMoments": [
                {
                  "usecases": [],
                  "appTypes": [],
                  "relatedPolicies": [],
                  "momentUsages": []
                }
              ],
              "behaviors": [
                {}
              ],
              "adherence": "ADHERENCE_TYPE_UNSPECIFIED",
              "adherenceTypesForMoments": [
                {
                  "adherenceTypes": []
                }
              ],
              "booleanLogicOperator": "BOOLEAN_LOGIC_OPERATOR_UNSPECIFIED",
              "momentType": "TYPE_UNSPECIFIED",
              "metadataValueAttributes": [
                {}
              ],
              "outcomeValueAttributes": [
                {}
              ],
              "binaryOutcomeValueEnum": "BINARY_OUTCOME_VALUE_ENUM_UNSPECIFIED",
              "speakerRoles": [
                "string"
              ]
            }
          ],
          "keywordsExpressions": [
            "string"
          ],
          "momentAnnotationGroup": [
            {
              "momentAnnotations": [
                {}
              ]
            }
          ],
          "moments": [
            {
              "name": "string",
              "usecases": [
                "string"
              ],
              "displayName": "string",
              "description": "string",
              "type": "TYPE_UNSPECIFIED",
              "detailedType": "DETAILED_TYPE_UNSPECIFIED",
              "taxonomy": "string",
              "taxonomyReferenceId": "string",
              "parentMomentTemplateId": "string",
              "taxonomyState": "STATE_UNSPECIFIED",
              "appTypes": [
                "APP_TYPE_UNSPECIFIED"
              ],
              "momentData": {
                "keywordMomentData": {
                  "messageTypes": []
                },
                "compositeMomentData": {
                  "operands": [],
                  "moments": [],
                  "messageTypes": []
                },
                "timeBasedMomentData": {},
                "customIntentMomentData": {
                  "exampleUtterance": []
                },
                "silenceMomentData": {},
                "ivrMomentData": {},
                "cannedSuggestionMomentData": {},
                "conversationMetadataMomentData": {
                  "allowedValues": [],
                  "numericBins": [],
                  "outcomeStatsTypes": [],
                  "applicableAreas": []
                },
                "chainedCompositeMomentData": {},
                "metadataMatchesMomentData": {
                  "isPresent": {},
                  "isNotPresent": {}
                },
                "intentV2MomentData": {
                  "testSetSessionLogNames": []
                },
                "conversationOutcomeMomentData": {
                  "outcomeValues": [],
                  "outcomeStatsTypes": []
                },
                "finetunedOobIntentMomentData": {},
                "entityMomentData": {
                  "blockList": [],
                  "requiredKeywords": [],
                  "intentsInScope": [],
                  "regexes": [],
                  "channels": []
                },
                "conversationHoldMatchesMomentData": {},
                "discoveredIntentMomentData": {
                  "positiveExamples": [],
                  "negativeExamples": [],
                  "extraPositiveExamples": [],
                  "extraNegativeExamples": []
                },
                "matchAnyMessageMomentData": {
                  "speakerRoles": []
                },
                "summarizationMomentData": {
                  "keywordReplacements": []
                },
                "summarizationTopicMomentData": {
                  "keywordReplacements": []
                },
                "metadata": {}
              },
              "momentSource": "MOMENT_SOURCE_UNSPECIFIED",
              "displayOrder": 0,
              "labels": {
                "labels": {}
              },
              "languageCode": "string",
              "deploymentStatus": "DEPLOYMENT_STATUS_UNSPECIFIED",
              "momentUsages": [
                {}
              ],
              "behaviorStatus": "BEHAVIOR_STATUS_UNSPECIFIED",
              "author": {
                "name": "string",
                "userId": "string",
                "username": "string",
                "email": "string",
                "displayName": "string",
                "fullName": "string",
                "isDevUser": true,
                "roles": [
                  null
                ],
                "legacyRoles": [
                  null
                ],
                "agentProfiles": [
                  null
                ],
                "team": "string",
                "state": "ACTIVE_STATE_UNSPECIFIED",
                "loginStatus": {
                  "applicationStatus": []
                },
                "manager": "string",
                "externalIdmId": "string",
                "platformProfiles": [
                  null
                ],
                "isGuestUser": true,
                "type": "USER_TYPE_UNSPECIFIED",
                "profileNames": [
                  null
                ],
                "usecases": [
                  null
                ],
                "profileStates": {},
                "preferredProfile": "string",
                "authenticationFactors": [
                  null
                ],
                "requirePasswordReset": true,
                "migratedEntities": [
                  null
                ]
              }
            }
          ],
          "adherence": "ADHERENCE_TYPE_UNSPECIFIED",
          "policies": [
            {
              "name": "string",
              "usecases": [
                "string"
              ],
              "displayName": "string",
              "author": {
                "name": "string",
                "userId": "string",
                "username": "string",
                "email": "string",
                "displayName": "string",
                "fullName": "string",
                "isDevUser": true,
                "roles": [
                  null
                ],
                "legacyRoles": [
                  null
                ],
                "agentProfiles": [
                  null
                ],
                "team": "string",
                "state": "ACTIVE_STATE_UNSPECIFIED",
                "loginStatus": {
                  "applicationStatus": []
                },
                "manager": "string",
                "externalIdmId": "string",
                "platformProfiles": [
                  null
                ],
                "isGuestUser": true,
                "type": "USER_TYPE_UNSPECIFIED",
                "profileNames": [
                  null
                ],
                "usecases": [
                  null
                ],
                "profileStates": {},
                "preferredProfile": "string",
                "authenticationFactors": [
                  null
                ],
                "requirePasswordReset": true,
                "migratedEntities": [
                  null
                ]
              },
              "moment": {
                "name": "string",
                "usecases": [
                  null
                ],
                "displayName": "string",
                "description": "string",
                "type": "TYPE_UNSPECIFIED",
                "detailedType": "DETAILED_TYPE_UNSPECIFIED",
                "taxonomy": "string",
                "taxonomyReferenceId": "string",
                "parentMomentTemplateId": "string",
                "taxonomyState": "STATE_UNSPECIFIED",
                "appTypes": [
                  null
                ],
                "momentData": {},
                "momentSource": "MOMENT_SOURCE_UNSPECIFIED",
                "displayOrder": 0,
                "labels": {
                  "labels": {}
                },
                "languageCode": "string",
                "deploymentStatus": "DEPLOYMENT_STATUS_UNSPECIFIED",
                "momentUsages": [
                  null
                ],
                "behaviorStatus": "BEHAVIOR_STATUS_UNSPECIFIED",
                "author": {
                  "roles": [],
                  "legacyRoles": [],
                  "agentProfiles": [],
                  "groupMemberships": [],
                  "platformProfiles": [],
                  "profileNames": [],
                  "usecases": [],
                  "profileStates": {},
                  "authenticationFactors": [],
                  "migratedEntities": []
                }
              },
              "s3PathToDialoguePolicy": "string",
              "momentInput": {
                "moments": [
                  null
                ]
              },
              "complexTriggerConfig": {
                "metadataPartOperandId": "string",
                "includePartOperandId": "string",
                "excludePartOperandId": "string"
              },
              "simpleTrigger": true,
              "actionOutput": {
                "actions": [
                  null
                ],
                "actionAdditionalTriggers": {}
              },
              "adherenceMoments": [
                {
                  "usecases": [],
                  "appTypes": [],
                  "relatedPolicies": [],
                  "momentUsages": []
                }
              ],
              "behaviors": [
                {}
              ],
              "policyAdherenceConfig": {
                "configs": {},
                "focusAreas": [
                  null
                ]
              },
              "policyConfig": {
                "targetAgents": [
                  null
                ],
                "excludedAgents": [
                  null
                ],
                "targetTeams": [
                  null
                ],
                "excludedTeams": [
                  null
                ],
                "targetGroups": [
                  null
                ],
                "excludedGroups": [
                  null
                ],
                "withTeamCascading": true,
                "directMembersOnly": true,
                "startTime": "2019-08-24T14:15:22Z",
                "endTime": "2019-08-24T14:15:22Z",
                "s3PathToDialoguePolicy": "string",
                "appCallflowId": 0,
                "allowExternalUserEdit": true,
                "availableInRealTime": true,
                "availableInPostCall": true,
                "skipBehaviorIfUnlessTriggered": true,
                "skipTriggerIfBehaviorOccurred": true,
                "skipPolicyOnTransferredMessages": true
              },
              "policyMetrics": {
                "triggeredCount": 0,
                "processedConversationMessageCount": 0,
                "engagement": {},
                "engagementItems": [
                  null
                ]
              },
              "status": "STATUS_UNSPECIFIED",
              "sourceType": "SOURCE_TYPE_UNSPECIFIED",
              "languageCode": "string",
              "labels": {
                "labels": {}
              },
              "latestPolicyHistories": [
                {
                  "usecases": []
                }
              ]
            }
          ],
          "insightsTopics": [
            {
              "topicMoment": {
                "name": "string",
                "usecases": [
                  null
                ],
                "displayName": "string",
                "description": "string",
                "type": "TYPE_UNSPECIFIED",
                "detailedType": "DETAILED_TYPE_UNSPECIFIED",
                "taxonomy": "string",
                "taxonomyReferenceId": "string",
                "parentMomentTemplateId": "string",
                "taxonomyState": "STATE_UNSPECIFIED",
                "appTypes": [
                  null
                ],
                "momentData": {},
                "momentSource": "MOMENT_SOURCE_UNSPECIFIED",
                "displayOrder": 0,
                "labels": {
                  "labels": {}
                },
                "languageCode": "string",
                "deploymentStatus": "DEPLOYMENT_STATUS_UNSPECIFIED",
                "momentUsages": [
                  null
                ],
                "behaviorStatus": "BEHAVIOR_STATUS_UNSPECIFIED",
                "author": {
                  "roles": [],
                  "legacyRoles": [],
                  "agentProfiles": [],
                  "groupMemberships": [],
                  "platformProfiles": [],
                  "profileNames": [],
                  "usecases": [],
                  "profileStates": {},
                  "authenticationFactors": [],
                  "migratedEntities": []
                }
              },
              "includedKeywordMoment": {
                "name": "string",
                "usecases": [
                  null
                ],
                "displayName": "string",
                "description": "string",
                "type": "TYPE_UNSPECIFIED",
                "detailedType": "DETAILED_TYPE_UNSPECIFIED",
                "taxonomy": "string",
                "taxonomyReferenceId": "string",
                "parentMomentTemplateId": "string",
                "taxonomyState": "STATE_UNSPECIFIED",
                "appTypes": [
                  null
                ],
                "momentData": {},
                "momentSource": "MOMENT_SOURCE_UNSPECIFIED",
                "displayOrder": 0,
                "labels": {
                  "labels": {}
                },
                "languageCode": "string",
                "deploymentStatus": "DEPLOYMENT_STATUS_UNSPECIFIED",
                "momentUsages": [
                  null
                ],
                "behaviorStatus": "BEHAVIOR_STATUS_UNSPECIFIED",
                "author": {
                  "roles": [],
                  "legacyRoles": [],
                  "agentProfiles": [],
                  "groupMemberships": [],
                  "platformProfiles": [],
                  "profileNames": [],
                  "usecases": [],
                  "profileStates": {},
                  "authenticationFactors": [],
                  "migratedEntities": []
                }
              },
              "excludedKeywordMoment": {
                "name": "string",
                "usecases": [
                  null
                ],
                "displayName": "string",
                "description": "string",
                "type": "TYPE_UNSPECIFIED",
                "detailedType": "DETAILED_TYPE_UNSPECIFIED",
                "taxonomy": "string",
                "taxonomyReferenceId": "string",
                "parentMomentTemplateId": "string",
                "taxonomyState": "STATE_UNSPECIFIED",
                "appTypes": [
                  null
                ],
                "momentData": {},
                "momentSource": "MOMENT_SOURCE_UNSPECIFIED",
                "displayOrder": 0,
                "labels": {
                  "labels": {}
                },
                "languageCode": "string",
                "deploymentStatus": "DEPLOYMENT_STATUS_UNSPECIFIED",
                "momentUsages": [
                  null
                ],
                "behaviorStatus": "BEHAVIOR_STATUS_UNSPECIFIED",
                "author": {
                  "roles": [],
                  "legacyRoles": [],
                  "agentProfiles": [],
                  "groupMemberships": [],
                  "platformProfiles": [],
                  "profileNames": [],
                  "usecases": [],
                  "profileStates": {},
                  "authenticationFactors": [],
                  "migratedEntities": []
                }
              },
              "clusterMoments": [
                {
                  "usecases": [],
                  "appTypes": [],
                  "relatedPolicies": [],
                  "momentUsages": []
                }
              ],
              "previewConfig": "PREVIEW_CONFIG_UNSPECIFIED"
            }
          ],
          "actions": [
            {
              "name": "string",
              "usecases": [
                "string"
              ],
              "displayName": "string",
              "type": "TYPE_UNSPECIFIED",
              "detailedType": "DETAILED_TYPE_UNSPECIFIED",
              "taxonomy": "string",
              "taxonomyReferenceId": "string",
              "taxonomyState": "TAXONOMY_STATE_UNSPECIFIED",
              "actionData": {
                "hintAction": {},
                "managerAlertAction": {
                  "managers": [],
                  "targetManagers": [],
                  "specifiedAgents": [],
                  "monitoredAgents": [],
                  "monitoredGroups": [],
                  "behaviorConditions": []
                },
                "checklistHintAction": {
                  "checklistHintItems": []
                },
                "checklistHintItemAction": {
                  "utterance": []
                },
                "documentReleaseHintAction": {},
                "webhookAction": {},
                "checklistAction": {
                  "checklistItems": []
                },
                "checklistItemAction": {
                  "utterance": []
                }
              },
              "languageCode": "string",
              "audienceConfig": {
                "allAgents": true,
                "targetAudience": {
                  "targetUsers": [],
                  "targetGroups": []
                },
                "excludedAudience": {
                  "excludedUsers": [],
                  "excludedGroups": []
                },
                "dynamicAudience": {
                  "rules": []
                }
              },
              "policyData": {
                "name": "string",
                "displayName": "string"
              }
            }
          ],
          "actionGroups": [
            {
              "actionType": "TYPE_UNSPECIFIED",
              "actions": [
                {}
              ]
            }
          ],
          "conversations": [
            {
              "name": "string",
              "agent": "string",
              "agentInfo": {
                "displayName": "string",
                "platformSpeakerId": "string"
              },
              "visitor": {
                "platformVisitorId": "string",
                "displayName": "string"
              },
              "conversationCorrelationId": "string",
              "skill": "string",
              "platformInfo": {
                "platformConversationId": "string",
                "platformAccountId": "string",
                "originalEventData": {},
                "platformConversationUri": "string",
                "platformIntegration": "string"
              },
              "startTime": "2019-08-24T14:15:22Z",
              "audioPersistenceState": "AUDIO_PERSISTENCE_STATE_UNSPECIFIED",
              "audioAnalysis": {
                "agentAudioEnergy": [
                  null
                ],
                "visitorAudioEnergy": [
                  null
                ]
              },
              "persistedAudioDuration": "string",
              "state": "STATE_UNSPECIFIED",
              "raiseHandState": "RAISE_HAND_STATE_UNSPECIFIED",
              "languageCode": "string",
              "channel": "CHANNEL_UNSPECIFIED",
              "source": "SOURCE_UNSPECIFIED",
              "metadata": {
                "property1": {
                  "values": []
                },
                "property2": {
                  "values": []
                }
              },
              "displayName": "string",
              "sharingState": "SHARING_STATE_UNSPECIFIED",
              "policyOverride": {
                "policyIds": [
                  null
                ],
                "respectConversationAgentFilter": true,
                "respectLanguageCodeFilter": true,
                "respectTimeRangeFilter": true,
                "policyHistoryIds": [
                  null
                ]
              },
              "usecase": "string",
              "corruptionState": "CORRUPTION_STATE_UNSPECIFIED",
              "virtualAgent": "string",
              "ingestedByJob": "string",
              "transferInfo": {
                "previousConversation": "string",
                "participantInteractionType": "PARTICIPANT_INTERACTION_TYPE_UNSPECIFIED"
              },
              "persistenceState": "PERSISTENCE_STATE_UNSPECIFIED",
              "multiLanguageMode": "MULTI_LANGUAGE_MODE_UNSPECIFIED"
            }
          ],
          "conversationIdentifiers": [
            {
              "name": "string",
              "platformConversationId": "string"
            }
          ],
          "kbDocuments": [
            {
              "name": "string",
              "kbDocumentType": "KB_DOCUMENT_TYPE_UNSPECIFIED",
              "guidedWorkflow": {
                "name": "string",
                "title": "string",
                "branchingSteps": {
                  "steps": {}
                },
                "linearSteps": {
                  "steps": []
                },
                "viewport": {},
                "type": "TYPE_UNSPECIFIED"
              },
              "kbArticle": {
                "kbArticleId": "string",
                "kbArticleSegments": [
                  null
                ]
              },
              "agentResponse": {
                "agentResponseId": "string",
                "agentResponseContent": {}
              },
              "kbDocumentSource": "KB_DOCUMENT_SOURCE_UNSPECIFIED",
              "state": "STATE_UNSPECIFIED",
              "fileFormat": "string",
              "url": "string",
              "title": "string",
              "creator": "string",
              "version": "string",
              "externalSource": "string",
              "externalId": "string",
              "kbDocumentProperty": "KB_DOCUMENT_PROPERTY_UNSPECIFIED",
              "keywordTags": [
                {}
              ],
              "createTime": "2019-08-24T14:15:22Z",
              "updateTime": "2019-08-24T14:15:22Z",
              "externalUpdateTime": "2019-08-24T14:15:22Z",
              "metadata": {},
              "indexState": "INDEX_STATE_UNSPECIFIED"
            }
          ],
          "conversationCriterions": [
            "CONVERSATION_CRITERION_UNSPECIFIED"
          ],
          "languageCodes": [
            "string"
          ],
          "comments": "COMMENTS_UNSPECIFIED",
          "includeDevUsers": true,
          "includeDeactivatedUsers": true,
          "excludeDeactivatedUsers": true,
          "includeCrestaBot": true,
          "scorecardStatus": "SCORECARD_STATUS_UNSPECIFIED",
          "scorecardStatuses": [
            "SCORECARD_STATUS_UNSPECIFIED"
          ],
          "liveAssist": "LIVE_ASSIST_UNSPECIFIED",
          "liveAssists": [
            "LIVE_ASSIST_UNSPECIFIED"
          ],
          "summaryUsages": [
            "SUMMARY_USAGE_UNSPECIFIED"
          ],
          "noteTakingUsages": [
            "NOTE_TAKING_USAGE_UNSPECIFIED"
          ],
          "suggestionUsages": [
            "SUGGESTION_USAGE_UNSPECIFIED"
          ],
          "scorecardTemplateNames": [
            "string"
          ],
          "usecaseNames": [
            "string"
          ],
          "hintType": "HINT_TYPE_UNSPECIFIED",
          "languageTransferEvents": [
            {
              "newLanguageCode": "string",
              "oldLanguageCode": "string"
            }
          ],
          "behaviors": [
            {
              "name": "string",
              "displayName": "string",
              "moment": {
                "name": "string",
                "usecases": [
                  null
                ],
                "displayName": "string",
                "description": "string",
                "type": "TYPE_UNSPECIFIED",
                "detailedType": "DETAILED_TYPE_UNSPECIFIED",
                "taxonomy": "string",
                "taxonomyReferenceId": "string",
                "parentMomentTemplateId": "string",
                "taxonomyState": "STATE_UNSPECIFIED",
                "appTypes": [
                  null
                ],
                "momentData": {},
                "momentSource": "MOMENT_SOURCE_UNSPECIFIED",
                "displayOrder": 0,
                "labels": {
                  "labels": {}
                },
                "languageCode": "string",
                "deploymentStatus": "DEPLOYMENT_STATUS_UNSPECIFIED",
                "momentUsages": [
                  null
                ],
                "behaviorStatus": "BEHAVIOR_STATUS_UNSPECIFIED",
                "author": {
                  "roles": [],
                  "legacyRoles": [],
                  "agentProfiles": [],
                  "groupMemberships": [],
                  "platformProfiles": [],
                  "profileNames": [],
                  "usecases": [],
                  "profileStates": {},
                  "authenticationFactors": [],
                  "migratedEntities": []
                }
              },
              "behaviorStatus": "BEHAVIOR_STATUS_UNSPECIFIED",
              "behaviorConfig": {
                "sdxReminderWindow": {},
                "sdxAdherenceWindow": {},
                "sdxAdherenceCutoffMoment": {
                  "usecases": [],
                  "appTypes": [],
                  "relatedPolicies": [],
                  "momentUsages": []
                },
                "negativeAdherenceConfig": {},
                "targetAgents": [
                  null
                ],
                "targetGroups": [
                  null
                ],
                "directMembersOnly": true,
                "conversationCloseOption": "POLICY_CONVERSATION_CLOSE_OPTION_UNSPECIFIED",
                "allowMultipleSdx": true,
                "allowMultiplePositiveAdherence": true
              },
              "audienceConfig": {
                "allAgents": true,
                "targetAudience": {
                  "targetUsers": [],
                  "targetGroups": []
                },
                "excludedAudience": {
                  "excludedUsers": [],
                  "excludedGroups": []
                },
                "dynamicAudience": {
                  "rules": []
                }
              }
            }
          ],
          "conversationSources": [
            "SOURCE_UNSPECIFIED"
          ],
          "tags": [
            {
              "name": "string",
              "usecase": "string",
              "displayName": "string",
              "description": "string",
              "color": "string",
              "icon": {
                "name": "string",
                "iconType": "ICON_TYPE_UNSPECIFIED"
              },
              "isPublic": true,
              "visibility": {
                "roles": [
                  null
                ]
              },
              "tagType": "TAG_TYPE_UNSPECIFIED"
            }
          ],
          "hasScreenRecordings": true,
          "conversationHoldsCriterion": {
            "holdsCountRange": {
              "lowerBound": {
                "value": 0,
                "isExclusive": true
              },
              "upperBound": {
                "value": 0,
                "isExclusive": true
              }
            }
          },
          "screenRecording": "SCREEN_RECORDING_UNSPECIFIED",
          "knowledgeMomentFilter": {
            "knowledgeMoments": [
              {
                "autoDetected": {},
                "agentInitiated": {}
              }
            ],
            "matchType": "MATCH_TYPE_UNSPECIFIED"
          },
          "scorecardSubmitterUserNames": [
            "string"
          ],
          "calibrationStatuses": [
            "SCORECARD_STATUS_UNSPECIFIED"
          ],
          "conversationPlatformVisitorId": [
            "string"
          ],
          "transferInfoFilter": {
            "umbrellaConversationTransferTypes": [
              "UMBRELLA_CONVERSATION_TRANSFER_TYPE_UNSPECIFIED"
            ],
            "participantInteractionTypes": [
              "PARTICIPANT_INTERACTION_TYPE_UNSPECIFIED"
            ]
          },
          "agentAssistFilters": [
            {
              "agentAssistUsed": "AGENT_ASSIST_STATE_TYPE_UNSPECIFIED"
            }
          ],
          "groupMembershipFilter": {
            "type": "GROUP_MEMBERSHIP_TYPE_UNSPECIFIED"
          },
          "criterionIdentifiers": [
            "string"
          ],
          "coachingSessionNames": [
            "string"
          ],
          "scorecardSubmissionSources": [
            "SCORECARD_SUBMISSION_SOURCE_UNSPECIFIED"
          ]
        }
      }
    },
    "lastUpdatedBy": {
      "name": "string",
      "userId": "string",
      "username": "string",
      "email": "string",
      "displayName": "string",
      "fullName": "string",
      "isDevUser": true,
      "roles": [
        "ROLE_UNSPECIFIED"
      ],
      "legacyRoles": [
        "ROLE_UNSPECIFIED"
      ],
      "agentProfiles": [
        {
          "agentProfileId": 0,
          "agentExtension": "string",
          "legacy": {
            "platformLoginName": "string",
            "platformUserId": "string"
          }
        }
      ],
      "team": "string",
      "state": "ACTIVE_STATE_UNSPECIFIED",
      "loginStatus": {
        "loginStatus": "LOGIN_STATUS_UNSPECIFIED"
      },
      "manager": "string",
      "externalIdmId": "string",
      "platformProfiles": [
        {
          "platformType": "PLATFORM_TYPE_UNSPECIFIED",
          "platformId": "string",
          "agentExtension": "string",
          "liveperson": {
            "accountNumber": "string",
            "loginName": "string"
          },
          "cisco": {
            "agentExtension": "string"
          },
          "userFeatureGate": {
            "teleportFeatures": {
              "enableScreenRecordingSamplingOverride": true,
              "userScreenRecordingSamplingPercent": 0
            }
          }
        }
      ],
      "isGuestUser": true,
      "type": "USER_TYPE_UNSPECIFIED",
      "profileNames": [
        "string"
      ],
      "usecases": [
        "string"
      ],
      "profileStates": {
        "property1": "PROFILE_STATE_UNSPECIFIED",
        "property2": "PROFILE_STATE_UNSPECIFIED"
      },
      "preferredProfile": "string",
      "authenticationFactors": [
        {
          "id": "string",
          "label": "string",
          "type": "TYPE_UNSPECIFIED",
          "enrollmentTime": "2019-08-24T14:15:22Z",
          "name": "string"
        }
      ],
      "requirePasswordReset": true,
      "migratedEntities": [
        "MIGRATABLE_ENTITY_UNSPECIFIED"
      ]
    },
    "permissions": {
      "templateEditors": [
        "ROLE_UNSPECIFIED"
      ],
      "scorecardViewers": [
        "ROLE_UNSPECIFIED"
      ],
      "scorecardGraders": [
        "ROLE_UNSPECIFIED"
      ],
      "scorecardAppealers": [
        "ROLE_UNSPECIFIED"
      ]
    },
    "type": "SCORECARD_TEMPLATE_TYPE_UNSPECIFIED",
    "status": "SCORECARD_TEMPLATE_STATUS_UNSPECIFIED",
    "qaScoreConfig": {
      "conversationFilters": {
        "teams": [
          {
            "name": "string",
            "displayName": "string",
            "manager": "string",
            "state": "ACTIVE_STATE_UNSPECIFIED"
          }
        ],
        "groups": [
          {
            "name": "string",
            "displayName": "string",
            "type": "GROUP_TYPE_UNSPECIFIED",
            "creator": "string",
            "owner": "string",
            "externalIdmId": "string",
            "state": "GROUP_STATE_UNSPECIFIED",
            "visibility": "GROUP_VISIBILITY_UNSPECIFIED",
            "profileNames": [
              "string"
            ],
            "crestaManaged": true
          }
        ],
        "users": [
          {
            "name": "string",
            "userId": "string",
            "username": "string",
            "email": "string",
            "displayName": "string",
            "fullName": "string",
            "isDevUser": true,
            "roles": [
              "ROLE_UNSPECIFIED"
            ],
            "legacyRoles": [
              "ROLE_UNSPECIFIED"
            ],
            "agentProfiles": [
              {
                "agentProfileId": 0,
                "agentExtension": "string",
                "legacy": {}
              }
            ],
            "team": "string",
            "state": "ACTIVE_STATE_UNSPECIFIED",
            "loginStatus": {
              "loginStatus": "LOGIN_STATUS_UNSPECIFIED"
            },
            "manager": "string",
            "externalIdmId": "string",
            "platformProfiles": [
              {
                "platformType": "PLATFORM_TYPE_UNSPECIFIED",
                "platformId": "string",
                "agentExtension": "string",
                "liveperson": {},
                "cisco": {},
                "userFeatureGate": {}
              }
            ],
            "isGuestUser": true,
            "type": "USER_TYPE_UNSPECIFIED",
            "profileNames": [
              "string"
            ],
            "usecases": [
              "string"
            ],
            "profileStates": {
              "property1": "PROFILE_STATE_UNSPECIFIED",
              "property2": "PROFILE_STATE_UNSPECIFIED"
            },
            "preferredProfile": "string",
            "authenticationFactors": [
              {
                "id": "string",
                "label": "string",
                "type": "TYPE_UNSPECIFIED",
                "enrollmentTime": "2019-08-24T14:15:22Z",
                "name": "string"
              }
            ],
            "requirePasswordReset": true,
            "migratedEntities": [
              "MIGRATABLE_ENTITY_UNSPECIFIED"
            ]
          }
        ],
        "intents": [
          {
            "name": "string",
            "description": "string",
            "type": "TYPE_UNSPECIFIED",
            "currentActiveStatus": "ACTIVE_STATUS_UNSPECIFIED",
            "historicActiveStatus": "ACTIVE_STATUS_UNSPECIFIED",
            "order": 0
          }
        ],
        "speakerRoles": [
          "string"
        ],
        "conversationReasons": [
          {
            "id": "string",
            "description": "string"
          }
        ],
        "conversationDurationBuckets": [
          {
            "id": "string",
            "lowerBound": 0.1,
            "upperBound": 0.1
          }
        ],
        "conversationDurationRange": {
          "minDuration": "string",
          "maxDuration": "string"
        },
        "guidedWorkflows": [
          {
            "name": "string",
            "title": "string",
            "branchingSteps": {
              "firstStepId": 0,
              "steps": {
                "property1": {
                  "nextSteps": []
                },
                "property2": {
                  "nextSteps": []
                }
              },
              "defaultIsInstruction": true
            },
            "linearSteps": {
              "steps": [
                {}
              ],
              "defaultIsInstruction": true
            },
            "viewport": {
              "x": 0.1,
              "y": 0.1,
              "zoom": 0.1
            },
            "type": "TYPE_UNSPECIFIED"
          }
        ],
        "guidedWorkflowNames": [
          "string"
        ],
        "timeRanges": [
          {
            "startTimestamp": "2019-08-24T14:15:22Z",
            "endTimestamp": "2019-08-24T14:15:22Z"
          }
        ],
        "momentGroups": [
          {
            "moments": [
              {
                "name": "string",
                "usecases": [
                  null
                ],
                "displayName": "string",
                "description": "string",
                "type": "TYPE_UNSPECIFIED",
                "detailedType": "DETAILED_TYPE_UNSPECIFIED",
                "taxonomy": "string",
                "taxonomyReferenceId": "string",
                "parentMomentTemplateId": "string",
                "taxonomyState": "STATE_UNSPECIFIED",
                "appTypes": [
                  null
                ],
                "momentData": {},
                "momentSource": "MOMENT_SOURCE_UNSPECIFIED",
                "displayOrder": 0,
                "labels": {
                  "labels": {}
                },
                "languageCode": "string",
                "deploymentStatus": "DEPLOYMENT_STATUS_UNSPECIFIED",
                "momentUsages": [
                  null
                ],
                "behaviorStatus": "BEHAVIOR_STATUS_UNSPECIFIED",
                "author": {
                  "roles": [],
                  "legacyRoles": [],
                  "agentProfiles": [],
                  "groupMemberships": [],
                  "platformProfiles": [],
                  "profileNames": [],
                  "usecases": [],
                  "profileStates": {},
                  "authenticationFactors": [],
                  "migratedEntities": []
                }
              }
            ],
            "excludedMoments": [
              {
                "name": "string",
                "usecases": [
                  null
                ],
                "displayName": "string",
                "description": "string",
                "type": "TYPE_UNSPECIFIED",
                "detailedType": "DETAILED_TYPE_UNSPECIFIED",
                "taxonomy": "string",
                "taxonomyReferenceId": "string",
                "parentMomentTemplateId": "string",
                "taxonomyState": "STATE_UNSPECIFIED",
                "appTypes": [
                  null
                ],
                "momentData": {},
                "momentSource": "MOMENT_SOURCE_UNSPECIFIED",
                "displayOrder": 0,
                "labels": {
                  "labels": {}
                },
                "languageCode": "string",
                "deploymentStatus": "DEPLOYMENT_STATUS_UNSPECIFIED",
                "momentUsages": [
                  null
                ],
                "behaviorStatus": "BEHAVIOR_STATUS_UNSPECIFIED",
                "author": {
                  "roles": [],
                  "legacyRoles": [],
                  "agentProfiles": [],
                  "groupMemberships": [],
                  "platformProfiles": [],
                  "profileNames": [],
                  "usecases": [],
                  "profileStates": {},
                  "authenticationFactors": [],
                  "migratedEntities": []
                }
              }
            ],
            "behaviors": [
              {
                "name": "string",
                "displayName": "string",
                "moment": {
                  "usecases": [],
                  "appTypes": [],
                  "relatedPolicies": [],
                  "momentUsages": []
                },
                "behaviorStatus": "BEHAVIOR_STATUS_UNSPECIFIED",
                "behaviorConfig": {
                  "targetAgents": [],
                  "targetGroups": []
                },
                "audienceConfig": {}
              }
            ],
            "adherence": "ADHERENCE_TYPE_UNSPECIFIED",
            "adherenceTypesForMoments": [
              {
                "adherenceTypes": [
                  null
                ]
              }
            ],
            "booleanLogicOperator": "BOOLEAN_LOGIC_OPERATOR_UNSPECIFIED",
            "momentType": "TYPE_UNSPECIFIED",
            "metadataValueAttributes": [
              {
                "metadataValue": {},
                "numericBin": {}
              }
            ],
            "outcomeValueAttributes": [
              {
                "outcomeValue": {},
                "numericBin": {}
              }
            ],
            "binaryOutcomeValueEnum": "BINARY_OUTCOME_VALUE_ENUM_UNSPECIFIED",
            "speakerRoles": [
              "string"
            ]
          }
        ],
        "keywordsExpressions": [
          "string"
        ],
        "momentAnnotationGroup": [
          {
            "momentAnnotations": [
              {
                "name": "string",
                "usecase": "string",
                "message": "string",
                "moment": "string",
                "behavior": "string",
                "type": "TYPE_UNSPECIFIED",
                "detailedType": "DETAILED_TYPE_UNSPECIFIED",
                "adherenceType": "ADHERENCE_TYPE_UNSPECIFIED",
                "taxonomy": "string",
                "taxonomyReferenceId": "string",
                "entityPayload": {},
                "intentPayload": {
                  "parentMomentAnnotations": []
                },
                "keywordPayload": {
                  "matchedMoments": []
                },
                "sentimentPayload": {},
                "saleRetargetingPayload": {
                  "metadata": []
                },
                "conversationMetadataPayload": {
                  "values": []
                },
                "emotionPayload": {},
                "agentResponseInTopicPayload": {
                  "similarCannedSuggestions": []
                },
                "conversationOutcomePayload": {},
                "dialogflowPredictionPayload": {},
                "knowledgePayload": {},
                "kaGenAiReplyUsedPayload": {},
                "topicPayload": {},
                "conversationReasonPayload": {
                  "conversationReasons": []
                },
                "summarizationPayload": {
                  "snippets": [],
                  "summaryItems": []
                },
                "summarizationTopicPayload": {},
                "metadata": {
                  "parentMomentAnnotations": [],
                  "parentActionAnnotations": []
                },
                "labels": {
                  "labels": {}
                }
              }
            ]
          }
        ],
        "moments": [
          {
            "name": "string",
            "usecases": [
              "string"
            ],
            "displayName": "string",
            "description": "string",
            "type": "TYPE_UNSPECIFIED",
            "detailedType": "DETAILED_TYPE_UNSPECIFIED",
            "taxonomy": "string",
            "taxonomyReferenceId": "string",
            "parentMomentTemplateId": "string",
            "taxonomyState": "STATE_UNSPECIFIED",
            "appTypes": [
              "APP_TYPE_UNSPECIFIED"
            ],
            "momentData": {
              "keywordMomentData": {
                "keywordExpression": {
                  "operands": []
                },
                "messageTypes": [
                  null
                ],
                "dynamicVariables": {
                  "usedMomentIds": [],
                  "nameMapping": {}
                }
              },
              "compositeMomentData": {
                "operator": "COMPOSITE_MOMENT_OPERATOR_UNSPECIFIED",
                "operands": [
                  null
                ],
                "moments": [
                  null
                ],
                "messageTypes": [
                  null
                ],
                "onlyOnce": true
              },
              "timeBasedMomentData": {
                "numberTurns": 0,
                "duration": "string"
              },
              "customIntentMomentData": {
                "exampleUtterance": [
                  null
                ]
              },
              "silenceMomentData": {
                "duration": "string",
                "speakerRole": "ROLE_UNSPECIFIED"
              },
              "ivrMomentData": {
                "stringValue": "string"
              },
              "cannedSuggestionMomentData": {
                "category": "string",
                "title": "string",
                "text": "string"
              },
              "conversationMetadataMomentData": {
                "type": "TYPE_UNSPECIFIED",
                "allowedValues": [
                  null
                ],
                "numericBins": [
                  null
                ],
                "outcomeTypeEnum": "OUTCOME_TYPE_ENUM_UNSPECIFIED",
                "outcomeStatsTypes": [
                  null
                ],
                "applicableAreas": [
                  null
                ]
              },
              "chainedCompositeMomentData": {
                "component": {
                  "operands": []
                }
              },
              "metadataMatchesMomentData": {
                "conversationMetadataMoment": {},
                "isPresent": {},
                "isNotPresent": {},
                "equal": {},
                "notEqual": {},
                "lowerThan": 0.1,
                "greaterThan": 0.1,
                "prefix": "string",
                "suffix": "string",
                "contain": "string",
                "equalAny": {
                  "values": []
                },
                "notEqualAny": {
                  "values": []
                },
                "prefixAny": {
                  "values": []
                },
                "suffixAny": {
                  "values": []
                },
                "containAny": {
                  "values": []
                },
                "notContainAny": {
                  "values": []
                },
                "allowMetadataMissingOnMatches": true
              },
              "intentV2MomentData": {
                "intentMetadataType": "INTENT_METADATA_TYPE_UNSPECIFIED",
                "intentMetadata": {
                  "positiveExamples": [],
                  "negativeExamples": [],
                  "skippedExamples": []
                },
                "contextualIntentMetadata": {},
                "deploymentStatus": "DEPLOYMENT_STATUS_UNSPECIFIED",
                "sessionId": "string",
                "testSetSessionLogName": "string",
                "previewTestSetUri": "string",
                "teacherPreviewScore": 0.1,
                "testSetSessionLogNames": [
                  null
                ],
                "studentModel": "string"
              },
              "conversationOutcomeMomentData": {
                "outcomeTypeEnum": "OUTCOME_TYPE_ENUM_UNSPECIFIED",
                "outcomeSubtype": "OUTCOME_SUBTYPE_UNSPECIFIED",
                "outcomeValueType": "OUTCOME_VALUE_TYPE_UNSPECIFIED",
                "outcomeValues": [
                  null
                ],
                "outcomeStatsTypes": [
                  null
                ]
              },
              "finetunedOobIntentMomentData": {
                "studioConceptName": "string",
                "studioConceptTitle": "string",
                "speakerRole": "ROLE_UNSPECIFIED"
              },
              "entityMomentData": {
                "blockList": [
                  null
                ],
                "requiredKeywords": [
                  null
                ],
                "intentsInScope": [
                  null
                ],
                "priority": 0,
                "realtimeRedaction": {},
                "postcallRedaction": {},
                "regexes": [
                  null
                ],
                "resolveEntity": true,
                "channels": [
                  null
                ]
              },
              "conversationHoldMatchesMomentData": {
                "duration": "string",
                "holdMatchesType": "CONVERSATION_HOLD_MATCHES_TYPE_UNSPECIFIED"
              },
              "discoveredIntentMomentData": {
                "intentDisplayName": "string",
                "intentDescription": "string",
                "speakerRole": "ROLE_UNSPECIFIED",
                "positiveExamples": [
                  null
                ],
                "negativeExamples": [
                  null
                ],
                "extraPositiveExamples": [
                  null
                ],
                "extraNegativeExamples": [
                  null
                ],
                "trainingDatasetUri": "string",
                "testDatasetUri": "string",
                "similarityDatasetUri": "string"
              },
              "matchAnyMessageMomentData": {
                "speakerRoles": [
                  null
                ]
              },
              "summarizationMomentData": {
                "model": "string",
                "keywordReplacements": [
                  null
                ],
                "spaceBetweenTopics": true,
                "oneLineRendering": true,
                "lastEditorUserName": "string",
                "fireworksModelName": "string",
                "baseCrestaModelUri": "string"
              },
              "summarizationTopicMomentData": {
                "topicName": "string",
                "keywordReplacements": [
                  null
                ],
                "defaultValue": "string",
                "trainingConfig": {
                  "excludeValues": [],
                  "domainAdaptRules": []
                },
                "isPrebuilt": true
              },
              "metadata": {
                "modelUri": "string",
                "deploymentType": "SHARED_DEPLOYMENT_TYPE_UNSPECIFIED"
              }
            },
            "momentSource": "MOMENT_SOURCE_UNSPECIFIED",
            "displayOrder": 0,
            "labels": {
              "labels": {
                "property1": "string",
                "property2": "string"
              }
            },
            "languageCode": "string",
            "deploymentStatus": "DEPLOYMENT_STATUS_UNSPECIFIED",
            "momentUsages": [
              {
                "policy": "string",
                "policyDisplayName": "string",
                "type": "USAGE_TYPE_UNSPECIFIED",
                "policyStatus": "POLICY_STATUS_UNSPECIFIED"
              }
            ],
            "behaviorStatus": "BEHAVIOR_STATUS_UNSPECIFIED",
            "author": {
              "name": "string",
              "userId": "string",
              "username": "string",
              "email": "string",
              "displayName": "string",
              "fullName": "string",
              "isDevUser": true,
              "roles": [
                "ROLE_UNSPECIFIED"
              ],
              "legacyRoles": [
                "ROLE_UNSPECIFIED"
              ],
              "agentProfiles": [
                {}
              ],
              "team": "string",
              "state": "ACTIVE_STATE_UNSPECIFIED",
              "loginStatus": {
                "loginStatus": "LOGIN_STATUS_UNSPECIFIED"
              },
              "manager": "string",
              "externalIdmId": "string",
              "platformProfiles": [
                {}
              ],
              "isGuestUser": true,
              "type": "USER_TYPE_UNSPECIFIED",
              "profileNames": [
                "string"
              ],
              "usecases": [
                "string"
              ],
              "profileStates": {
                "property1": "PROFILE_STATE_UNSPECIFIED",
                "property2": "PROFILE_STATE_UNSPECIFIED"
              },
              "preferredProfile": "string",
              "authenticationFactors": [
                {}
              ],
              "requirePasswordReset": true,
              "migratedEntities": [
                "MIGRATABLE_ENTITY_UNSPECIFIED"
              ]
            }
          }
        ],
        "adherence": "ADHERENCE_TYPE_UNSPECIFIED",
        "policies": [
          {
            "name": "string",
            "usecases": [
              "string"
            ],
            "displayName": "string",
            "author": {
              "name": "string",
              "userId": "string",
              "username": "string",
              "email": "string",
              "displayName": "string",
              "fullName": "string",
              "isDevUser": true,
              "roles": [
                "ROLE_UNSPECIFIED"
              ],
              "legacyRoles": [
                "ROLE_UNSPECIFIED"
              ],
              "agentProfiles": [
                {}
              ],
              "team": "string",
              "state": "ACTIVE_STATE_UNSPECIFIED",
              "loginStatus": {
                "loginStatus": "LOGIN_STATUS_UNSPECIFIED"
              },
              "manager": "string",
              "externalIdmId": "string",
              "platformProfiles": [
                {}
              ],
              "isGuestUser": true,
              "type": "USER_TYPE_UNSPECIFIED",
              "profileNames": [
                "string"
              ],
              "usecases": [
                "string"
              ],
              "profileStates": {
                "property1": "PROFILE_STATE_UNSPECIFIED",
                "property2": "PROFILE_STATE_UNSPECIFIED"
              },
              "preferredProfile": "string",
              "authenticationFactors": [
                {}
              ],
              "requirePasswordReset": true,
              "migratedEntities": [
                "MIGRATABLE_ENTITY_UNSPECIFIED"
              ]
            },
            "moment": {
              "name": "string",
              "usecases": [
                "string"
              ],
              "displayName": "string",
              "description": "string",
              "type": "TYPE_UNSPECIFIED",
              "detailedType": "DETAILED_TYPE_UNSPECIFIED",
              "taxonomy": "string",
              "taxonomyReferenceId": "string",
              "parentMomentTemplateId": "string",
              "taxonomyState": "STATE_UNSPECIFIED",
              "appTypes": [
                "APP_TYPE_UNSPECIFIED"
              ],
              "momentData": {
                "keywordMomentData": {
                  "messageTypes": []
                },
                "compositeMomentData": {
                  "operands": [],
                  "moments": [],
                  "messageTypes": []
                },
                "timeBasedMomentData": {},
                "customIntentMomentData": {
                  "exampleUtterance": []
                },
                "silenceMomentData": {},
                "ivrMomentData": {},
                "cannedSuggestionMomentData": {},
                "conversationMetadataMomentData": {
                  "allowedValues": [],
                  "numericBins": [],
                  "outcomeStatsTypes": [],
                  "applicableAreas": []
                },
                "chainedCompositeMomentData": {},
                "metadataMatchesMomentData": {
                  "isPresent": {},
                  "isNotPresent": {}
                },
                "intentV2MomentData": {
                  "testSetSessionLogNames": []
                },
                "conversationOutcomeMomentData": {
                  "outcomeValues": [],
                  "outcomeStatsTypes": []
                },
                "finetunedOobIntentMomentData": {},
                "entityMomentData": {
                  "blockList": [],
                  "requiredKeywords": [],
                  "intentsInScope": [],
                  "regexes": [],
                  "channels": []
                },
                "conversationHoldMatchesMomentData": {},
                "discoveredIntentMomentData": {
                  "positiveExamples": [],
                  "negativeExamples": [],
                  "extraPositiveExamples": [],
                  "extraNegativeExamples": []
                },
                "matchAnyMessageMomentData": {
                  "speakerRoles": []
                },
                "summarizationMomentData": {
                  "keywordReplacements": []
                },
                "summarizationTopicMomentData": {
                  "keywordReplacements": []
                },
                "metadata": {}
              },
              "momentSource": "MOMENT_SOURCE_UNSPECIFIED",
              "displayOrder": 0,
              "labels": {
                "labels": {}
              },
              "languageCode": "string",
              "deploymentStatus": "DEPLOYMENT_STATUS_UNSPECIFIED",
              "momentUsages": [
                {}
              ],
              "behaviorStatus": "BEHAVIOR_STATUS_UNSPECIFIED",
              "author": {
                "name": "string",
                "userId": "string",
                "username": "string",
                "email": "string",
                "displayName": "string",
                "fullName": "string",
                "isDevUser": true,
                "roles": [
                  null
                ],
                "legacyRoles": [
                  null
                ],
                "agentProfiles": [
                  null
                ],
                "team": "string",
                "state": "ACTIVE_STATE_UNSPECIFIED",
                "loginStatus": {
                  "applicationStatus": []
                },
                "manager": "string",
                "externalIdmId": "string",
                "platformProfiles": [
                  null
                ],
                "isGuestUser": true,
                "type": "USER_TYPE_UNSPECIFIED",
                "profileNames": [
                  null
                ],
                "usecases": [
                  null
                ],
                "profileStates": {},
                "preferredProfile": "string",
                "authenticationFactors": [
                  null
                ],
                "requirePasswordReset": true,
                "migratedEntities": [
                  null
                ]
              }
            },
            "s3PathToDialoguePolicy": "string",
            "momentInput": {
              "moments": [
                {
                  "usecases": [],
                  "appTypes": [],
                  "relatedPolicies": [],
                  "momentUsages": []
                }
              ]
            },
            "complexTriggerConfig": {
              "metadataPartOperandId": "string",
              "includePartOperandId": "string",
              "excludePartOperandId": "string"
            },
            "simpleTrigger": true,
            "actionOutput": {
              "actions": [
                {
                  "usecases": []
                }
              ],
              "actionAdditionalTriggers": {
                "property1": {
                  "usecases": [],
                  "appTypes": [],
                  "relatedPolicies": [],
                  "momentUsages": []
                },
                "property2": {
                  "usecases": [],
                  "appTypes": [],
                  "relatedPolicies": [],
                  "momentUsages": []
                }
              }
            },
            "adherenceMoments": [
              {
                "name": "string",
                "usecases": [
                  null
                ],
                "displayName": "string",
                "description": "string",
                "type": "TYPE_UNSPECIFIED",
                "detailedType": "DETAILED_TYPE_UNSPECIFIED",
                "taxonomy": "string",
                "taxonomyReferenceId": "string",
                "parentMomentTemplateId": "string",
                "taxonomyState": "STATE_UNSPECIFIED",
                "appTypes": [
                  null
                ],
                "momentData": {},
                "momentSource": "MOMENT_SOURCE_UNSPECIFIED",
                "displayOrder": 0,
                "labels": {
                  "labels": {}
                },
                "languageCode": "string",
                "deploymentStatus": "DEPLOYMENT_STATUS_UNSPECIFIED",
                "momentUsages": [
                  null
                ],
                "behaviorStatus": "BEHAVIOR_STATUS_UNSPECIFIED",
                "author": {
                  "roles": [],
                  "legacyRoles": [],
                  "agentProfiles": [],
                  "groupMemberships": [],
                  "platformProfiles": [],
                  "profileNames": [],
                  "usecases": [],
                  "profileStates": {},
                  "authenticationFactors": [],
                  "migratedEntities": []
                }
              }
            ],
            "behaviors": [
              {
                "name": "string",
                "displayName": "string",
                "moment": {
                  "usecases": [],
                  "appTypes": [],
                  "relatedPolicies": [],
                  "momentUsages": []
                },
                "behaviorStatus": "BEHAVIOR_STATUS_UNSPECIFIED",
                "behaviorConfig": {
                  "targetAgents": [],
                  "targetGroups": []
                },
                "audienceConfig": {}
              }
            ],
            "policyAdherenceConfig": {
              "configs": {
                "property1": {
                  "overlappingTaxonomyNames": [],
                  "targetAgents": [],
                  "targetTeams": [],
                  "targetGroups": []
                },
                "property2": {
                  "overlappingTaxonomyNames": [],
                  "targetAgents": [],
                  "targetTeams": [],
                  "targetGroups": []
                }
              },
              "focusAreas": [
                {}
              ]
            },
            "policyConfig": {
              "targetAgents": [
                {
                  "roles": [],
                  "legacyRoles": [],
                  "agentProfiles": [],
                  "groupMemberships": [],
                  "platformProfiles": [],
                  "profileNames": [],
                  "usecases": [],
                  "profileStates": {},
                  "authenticationFactors": [],
                  "migratedEntities": []
                }
              ],
              "excludedAgents": [
                {
                  "roles": [],
                  "legacyRoles": [],
                  "agentProfiles": [],
                  "groupMemberships": [],
                  "platformProfiles": [],
                  "profileNames": [],
                  "usecases": [],
                  "profileStates": {},
                  "authenticationFactors": [],
                  "migratedEntities": []
                }
              ],
              "targetTeams": [
                {}
              ],
              "excludedTeams": [
                {}
              ],
              "targetGroups": [
                {
                  "members": [],
                  "parents": [],
                  "profileNames": []
                }
              ],
              "excludedGroups": [
                {
                  "members": [],
                  "parents": [],
                  "profileNames": []
                }
              ],
              "withTeamCascading": true,
              "directMembersOnly": true,
              "startTime": "2019-08-24T14:15:22Z",
              "endTime": "2019-08-24T14:15:22Z",
              "s3PathToDialoguePolicy": "string",
              "appCallflowId": 0,
              "allowExternalUserEdit": true,
              "availableInRealTime": true,
              "availableInPostCall": true,
              "skipBehaviorIfUnlessTriggered": true,
              "skipTriggerIfBehaviorOccurred": true,
              "skipPolicyOnTransferredMessages": true
            },
            "policyMetrics": {
              "triggeredCount": 0,
              "processedConversationMessageCount": 0,
              "engagement": {
                "actionSent": 0,
                "actionFollowed": 0,
                "engagement": 0.1
              },
              "engagementItems": [
                {}
              ]
            },
            "status": "STATUS_UNSPECIFIED",
            "sourceType": "SOURCE_TYPE_UNSPECIFIED",
            "languageCode": "string",
            "labels": {
              "labels": {
                "property1": "string",
                "property2": "string"
              }
            },
            "latestPolicyHistories": [
              {
                "policyHistoryId": "string",
                "policy": {},
                "type": "POLICY_HISTORY_TYPE_UNSPECIFIED",
                "editUser": {
                  "roles": [],
                  "legacyRoles": [],
                  "agentProfiles": [],
                  "groupMemberships": [],
                  "platformProfiles": [],
                  "profileNames": [],
                  "usecases": [],
                  "profileStates": {},
                  "authenticationFactors": [],
                  "migratedEntities": []
                },
                "backfillPolicies": {},
                "llmTraining": {},
                "previewPolicy": {},
                "reviewPolicy": {},
                "usecases": [
                  null
                ]
              }
            ]
          }
        ],
        "insightsTopics": [
          {
            "topicMoment": {
              "name": "string",
              "usecases": [
                "string"
              ],
              "displayName": "string",
              "description": "string",
              "type": "TYPE_UNSPECIFIED",
              "detailedType": "DETAILED_TYPE_UNSPECIFIED",
              "taxonomy": "string",
              "taxonomyReferenceId": "string",
              "parentMomentTemplateId": "string",
              "taxonomyState": "STATE_UNSPECIFIED",
              "appTypes": [
                "APP_TYPE_UNSPECIFIED"
              ],
              "momentData": {
                "keywordMomentData": {
                  "messageTypes": []
                },
                "compositeMomentData": {
                  "operands": [],
                  "moments": [],
                  "messageTypes": []
                },
                "timeBasedMomentData": {},
                "customIntentMomentData": {
                  "exampleUtterance": []
                },
                "silenceMomentData": {},
                "ivrMomentData": {},
                "cannedSuggestionMomentData": {},
                "conversationMetadataMomentData": {
                  "allowedValues": [],
                  "numericBins": [],
                  "outcomeStatsTypes": [],
                  "applicableAreas": []
                },
                "chainedCompositeMomentData": {},
                "metadataMatchesMomentData": {
                  "isPresent": {},
                  "isNotPresent": {}
                },
                "intentV2MomentData": {
                  "testSetSessionLogNames": []
                },
                "conversationOutcomeMomentData": {
                  "outcomeValues": [],
                  "outcomeStatsTypes": []
                },
                "finetunedOobIntentMomentData": {},
                "entityMomentData": {
                  "blockList": [],
                  "requiredKeywords": [],
                  "intentsInScope": [],
                  "regexes": [],
                  "channels": []
                },
                "conversationHoldMatchesMomentData": {},
                "discoveredIntentMomentData": {
                  "positiveExamples": [],
                  "negativeExamples": [],
                  "extraPositiveExamples": [],
                  "extraNegativeExamples": []
                },
                "matchAnyMessageMomentData": {
                  "speakerRoles": []
                },
                "summarizationMomentData": {
                  "keywordReplacements": []
                },
                "summarizationTopicMomentData": {
                  "keywordReplacements": []
                },
                "metadata": {}
              },
              "momentSource": "MOMENT_SOURCE_UNSPECIFIED",
              "displayOrder": 0,
              "labels": {
                "labels": {}
              },
              "languageCode": "string",
              "deploymentStatus": "DEPLOYMENT_STATUS_UNSPECIFIED",
              "momentUsages": [
                {}
              ],
              "behaviorStatus": "BEHAVIOR_STATUS_UNSPECIFIED",
              "author": {
                "name": "string",
                "userId": "string",
                "username": "string",
                "email": "string",
                "displayName": "string",
                "fullName": "string",
                "isDevUser": true,
                "roles": [
                  null
                ],
                "legacyRoles": [
                  null
                ],
                "agentProfiles": [
                  null
                ],
                "team": "string",
                "state": "ACTIVE_STATE_UNSPECIFIED",
                "loginStatus": {
                  "applicationStatus": []
                },
                "manager": "string",
                "externalIdmId": "string",
                "platformProfiles": [
                  null
                ],
                "isGuestUser": true,
                "type": "USER_TYPE_UNSPECIFIED",
                "profileNames": [
                  null
                ],
                "usecases": [
                  null
                ],
                "profileStates": {},
                "preferredProfile": "string",
                "authenticationFactors": [
                  null
                ],
                "requirePasswordReset": true,
                "migratedEntities": [
                  null
                ]
              }
            },
            "includedKeywordMoment": {
              "name": "string",
              "usecases": [
                "string"
              ],
              "displayName": "string",
              "description": "string",
              "type": "TYPE_UNSPECIFIED",
              "detailedType": "DETAILED_TYPE_UNSPECIFIED",
              "taxonomy": "string",
              "taxonomyReferenceId": "string",
              "parentMomentTemplateId": "string",
              "taxonomyState": "STATE_UNSPECIFIED",
              "appTypes": [
                "APP_TYPE_UNSPECIFIED"
              ],
              "momentData": {
                "keywordMomentData": {
                  "messageTypes": []
                },
                "compositeMomentData": {
                  "operands": [],
                  "moments": [],
                  "messageTypes": []
                },
                "timeBasedMomentData": {},
                "customIntentMomentData": {
                  "exampleUtterance": []
                },
                "silenceMomentData": {},
                "ivrMomentData": {},
                "cannedSuggestionMomentData": {},
                "conversationMetadataMomentData": {
                  "allowedValues": [],
                  "numericBins": [],
                  "outcomeStatsTypes": [],
                  "applicableAreas": []
                },
                "chainedCompositeMomentData": {},
                "metadataMatchesMomentData": {
                  "isPresent": {},
                  "isNotPresent": {}
                },
                "intentV2MomentData": {
                  "testSetSessionLogNames": []
                },
                "conversationOutcomeMomentData": {
                  "outcomeValues": [],
                  "outcomeStatsTypes": []
                },
                "finetunedOobIntentMomentData": {},
                "entityMomentData": {
                  "blockList": [],
                  "requiredKeywords": [],
                  "intentsInScope": [],
                  "regexes": [],
                  "channels": []
                },
                "conversationHoldMatchesMomentData": {},
                "discoveredIntentMomentData": {
                  "positiveExamples": [],
                  "negativeExamples": [],
                  "extraPositiveExamples": [],
                  "extraNegativeExamples": []
                },
                "matchAnyMessageMomentData": {
                  "speakerRoles": []
                },
                "summarizationMomentData": {
                  "keywordReplacements": []
                },
                "summarizationTopicMomentData": {
                  "keywordReplacements": []
                },
                "metadata": {}
              },
              "momentSource": "MOMENT_SOURCE_UNSPECIFIED",
              "displayOrder": 0,
              "labels": {
                "labels": {}
              },
              "languageCode": "string",
              "deploymentStatus": "DEPLOYMENT_STATUS_UNSPECIFIED",
              "momentUsages": [
                {}
              ],
              "behaviorStatus": "BEHAVIOR_STATUS_UNSPECIFIED",
              "author": {
                "name": "string",
                "userId": "string",
                "username": "string",
                "email": "string",
                "displayName": "string",
                "fullName": "string",
                "isDevUser": true,
                "roles": [
                  null
                ],
                "legacyRoles": [
                  null
                ],
                "agentProfiles": [
                  null
                ],
                "team": "string",
                "state": "ACTIVE_STATE_UNSPECIFIED",
                "loginStatus": {
                  "applicationStatus": []
                },
                "manager": "string",
                "externalIdmId": "string",
                "platformProfiles": [
                  null
                ],
                "isGuestUser": true,
                "type": "USER_TYPE_UNSPECIFIED",
                "profileNames": [
                  null
                ],
                "usecases": [
                  null
                ],
                "profileStates": {},
                "preferredProfile": "string",
                "authenticationFactors": [
                  null
                ],
                "requirePasswordReset": true,
                "migratedEntities": [
                  null
                ]
              }
            },
            "excludedKeywordMoment": {
              "name": "string",
              "usecases": [
                "string"
              ],
              "displayName": "string",
              "description": "string",
              "type": "TYPE_UNSPECIFIED",
              "detailedType": "DETAILED_TYPE_UNSPECIFIED",
              "taxonomy": "string",
              "taxonomyReferenceId": "string",
              "parentMomentTemplateId": "string",
              "taxonomyState": "STATE_UNSPECIFIED",
              "appTypes": [
                "APP_TYPE_UNSPECIFIED"
              ],
              "momentData": {
                "keywordMomentData": {
                  "messageTypes": []
                },
                "compositeMomentData": {
                  "operands": [],
                  "moments": [],
                  "messageTypes": []
                },
                "timeBasedMomentData": {},
                "customIntentMomentData": {
                  "exampleUtterance": []
                },
                "silenceMomentData": {},
                "ivrMomentData": {},
                "cannedSuggestionMomentData": {},
                "conversationMetadataMomentData": {
                  "allowedValues": [],
                  "numericBins": [],
                  "outcomeStatsTypes": [],
                  "applicableAreas": []
                },
                "chainedCompositeMomentData": {},
                "metadataMatchesMomentData": {
                  "isPresent": {},
                  "isNotPresent": {}
                },
                "intentV2MomentData": {
                  "testSetSessionLogNames": []
                },
                "conversationOutcomeMomentData": {
                  "outcomeValues": [],
                  "outcomeStatsTypes": []
                },
                "finetunedOobIntentMomentData": {},
                "entityMomentData": {
                  "blockList": [],
                  "requiredKeywords": [],
                  "intentsInScope": [],
                  "regexes": [],
                  "channels": []
                },
                "conversationHoldMatchesMomentData": {},
                "discoveredIntentMomentData": {
                  "positiveExamples": [],
                  "negativeExamples": [],
                  "extraPositiveExamples": [],
                  "extraNegativeExamples": []
                },
                "matchAnyMessageMomentData": {
                  "speakerRoles": []
                },
                "summarizationMomentData": {
                  "keywordReplacements": []
                },
                "summarizationTopicMomentData": {
                  "keywordReplacements": []
                },
                "metadata": {}
              },
              "momentSource": "MOMENT_SOURCE_UNSPECIFIED",
              "displayOrder": 0,
              "labels": {
                "labels": {}
              },
              "languageCode": "string",
              "deploymentStatus": "DEPLOYMENT_STATUS_UNSPECIFIED",
              "momentUsages": [
                {}
              ],
              "behaviorStatus": "BEHAVIOR_STATUS_UNSPECIFIED",
              "author": {
                "name": "string",
                "userId": "string",
                "username": "string",
                "email": "string",
                "displayName": "string",
                "fullName": "string",
                "isDevUser": true,
                "roles": [
                  null
                ],
                "legacyRoles": [
                  null
                ],
                "agentProfiles": [
                  null
                ],
                "team": "string",
                "state": "ACTIVE_STATE_UNSPECIFIED",
                "loginStatus": {
                  "applicationStatus": []
                },
                "manager": "string",
                "externalIdmId": "string",
                "platformProfiles": [
                  null
                ],
                "isGuestUser": true,
                "type": "USER_TYPE_UNSPECIFIED",
                "profileNames": [
                  null
                ],
                "usecases": [
                  null
                ],
                "profileStates": {},
                "preferredProfile": "string",
                "authenticationFactors": [
                  null
                ],
                "requirePasswordReset": true,
                "migratedEntities": [
                  null
                ]
              }
            },
            "clusterMoments": [
              {
                "name": "string",
                "usecases": [
                  null
                ],
                "displayName": "string",
                "description": "string",
                "type": "TYPE_UNSPECIFIED",
                "detailedType": "DETAILED_TYPE_UNSPECIFIED",
                "taxonomy": "string",
                "taxonomyReferenceId": "string",
                "parentMomentTemplateId": "string",
                "taxonomyState": "STATE_UNSPECIFIED",
                "appTypes": [
                  null
                ],
                "momentData": {},
                "momentSource": "MOMENT_SOURCE_UNSPECIFIED",
                "displayOrder": 0,
                "labels": {
                  "labels": {}
                },
                "languageCode": "string",
                "deploymentStatus": "DEPLOYMENT_STATUS_UNSPECIFIED",
                "momentUsages": [
                  null
                ],
                "behaviorStatus": "BEHAVIOR_STATUS_UNSPECIFIED",
                "author": {
                  "roles": [],
                  "legacyRoles": [],
                  "agentProfiles": [],
                  "groupMemberships": [],
                  "platformProfiles": [],
                  "profileNames": [],
                  "usecases": [],
                  "profileStates": {},
                  "authenticationFactors": [],
                  "migratedEntities": []
                }
              }
            ],
            "previewConfig": "PREVIEW_CONFIG_UNSPECIFIED"
          }
        ],
        "actions": [
          {
            "name": "string",
            "usecases": [
              "string"
            ],
            "displayName": "string",
            "type": "TYPE_UNSPECIFIED",
            "detailedType": "DETAILED_TYPE_UNSPECIFIED",
            "taxonomy": "string",
            "taxonomyReferenceId": "string",
            "taxonomyState": "TAXONOMY_STATE_UNSPECIFIED",
            "actionData": {
              "hintAction": {
                "title": "string",
                "description": "string",
                "content": "string",
                "attachContent": true,
                "suggestion": "string",
                "linkUri": "string",
                "linkLabel": "string",
                "dynamicVariables": {
                  "usedMomentIds": [],
                  "nameMapping": {}
                },
                "fallbackHintConfig": {},
                "duration": "string"
              },
              "managerAlertAction": {
                "text": "string",
                "managers": [
                  null
                ],
                "targetManagers": [
                  null
                ],
                "specifiedAgents": [
                  null
                ],
                "monitoredAgents": [
                  null
                ],
                "monitoredGroups": [
                  null
                ],
                "allAgents": true,
                "behaviorConditions": [
                  null
                ]
              },
              "checklistHintAction": {
                "title": "string",
                "description": "string",
                "checklistHintItems": [
                  null
                ]
              },
              "checklistHintItemAction": {
                "checklistHintItemId": "string",
                "title": "string",
                "description": "string",
                "utterance": [
                  null
                ],
                "behavior": "string"
              },
              "documentReleaseHintAction": {
                "title": "string",
                "description": "string",
                "documentRelease": {},
                "duration": "string"
              },
              "webhookAction": {
                "webhook": "string",
                "allowMultiple": true
              },
              "checklistAction": {
                "title": "string",
                "description": "string",
                "checklistItems": [
                  null
                ]
              },
              "checklistItemAction": {
                "checklistItemId": "string",
                "title": "string",
                "description": "string",
                "utterance": [
                  null
                ],
                "behavior": "string"
              }
            },
            "languageCode": "string",
            "audienceConfig": {
              "allAgents": true,
              "targetAudience": {
                "targetUsers": [
                  null
                ],
                "targetGroups": [
                  null
                ],
                "directMembersOnly": true
              },
              "excludedAudience": {
                "excludedUsers": [
                  null
                ],
                "excludedGroups": [
                  null
                ],
                "directMembersOnly": true
              },
              "dynamicAudience": {
                "dynamicGroup": "string",
                "rules": [
                  null
                ],
                "state": "STATE_UNSPECIFIED"
              }
            },
            "policyData": {
              "name": "string",
              "displayName": "string"
            }
          }
        ],
        "actionGroups": [
          {
            "actionType": "TYPE_UNSPECIFIED",
            "actions": [
              {
                "action": {
                  "usecases": []
                },
                "engagement": "ENGAGEMENT_UNSPECIFIED"
              }
            ]
          }
        ],
        "conversations": [
          {
            "name": "string",
            "agent": "string",
            "agentInfo": {
              "displayName": "string",
              "platformSpeakerId": "string"
            },
            "visitor": {
              "platformVisitorId": "string",
              "displayName": "string"
            },
            "conversationCorrelationId": "string",
            "skill": "string",
            "platformInfo": {
              "platformConversationId": "string",
              "platformAccountId": "string",
              "originalEventData": {},
              "platformConversationUri": "string",
              "platformIntegration": "string"
            },
            "startTime": "2019-08-24T14:15:22Z",
            "audioPersistenceState": "AUDIO_PERSISTENCE_STATE_UNSPECIFIED",
            "audioAnalysis": {
              "agentAudioEnergy": [
                0.1
              ],
              "visitorAudioEnergy": [
                0.1
              ]
            },
            "persistedAudioDuration": "string",
            "state": "STATE_UNSPECIFIED",
            "raiseHandState": "RAISE_HAND_STATE_UNSPECIFIED",
            "languageCode": "string",
            "channel": "CHANNEL_UNSPECIFIED",
            "source": "SOURCE_UNSPECIFIED",
            "metadata": {
              "property1": {
                "values": [
                  null
                ],
                "source": "SOURCE_UNSPECIFIED"
              },
              "property2": {
                "values": [
                  null
                ],
                "source": "SOURCE_UNSPECIFIED"
              }
            },
            "displayName": "string",
            "sharingState": "SHARING_STATE_UNSPECIFIED",
            "policyOverride": {
              "policyIds": [
                "string"
              ],
              "respectConversationAgentFilter": true,
              "respectLanguageCodeFilter": true,
              "respectTimeRangeFilter": true,
              "policyHistoryIds": [
                "string"
              ]
            },
            "usecase": "string",
            "corruptionState": "CORRUPTION_STATE_UNSPECIFIED",
            "virtualAgent": "string",
            "ingestedByJob": "string",
            "transferInfo": {
              "previousConversation": "string",
              "participantInteractionType": "PARTICIPANT_INTERACTION_TYPE_UNSPECIFIED"
            },
            "persistenceState": "PERSISTENCE_STATE_UNSPECIFIED",
            "multiLanguageMode": "MULTI_LANGUAGE_MODE_UNSPECIFIED"
          }
        ],
        "conversationIdentifiers": [
          {
            "name": "string",
            "platformConversationId": "string"
          }
        ],
        "kbDocuments": [
          {
            "name": "string",
            "kbDocumentType": "KB_DOCUMENT_TYPE_UNSPECIFIED",
            "guidedWorkflow": {
              "name": "string",
              "title": "string",
              "branchingSteps": {
                "firstStepId": 0,
                "steps": {},
                "defaultIsInstruction": true
              },
              "linearSteps": {
                "steps": [
                  null
                ],
                "defaultIsInstruction": true
              },
              "viewport": {
                "x": 0.1,
                "y": 0.1,
                "zoom": 0.1
              },
              "type": "TYPE_UNSPECIFIED"
            },
            "kbArticle": {
              "kbArticleId": "string",
              "kbArticleSegments": [
                {}
              ]
            },
            "agentResponse": {
              "agentResponseId": "string",
              "agentResponseContent": {
                "blob": {
                  "placeholderLinkInfo": {}
                },
                "personalizationType": "PERSONALIZATION_TYPE_UNSPECIFIED",
                "suggestionStageType": "SUGGESTION_STAGE_TYPE_UNSPECIFIED",
                "agentId": 0,
                "skillId": "string"
              }
            },
            "kbDocumentSource": "KB_DOCUMENT_SOURCE_UNSPECIFIED",
            "state": "STATE_UNSPECIFIED",
            "fileFormat": "string",
            "url": "string",
            "title": "string",
            "creator": "string",
            "version": "string",
            "externalSource": "string",
            "externalId": "string",
            "kbDocumentProperty": "KB_DOCUMENT_PROPERTY_UNSPECIFIED",
            "keywordTags": [
              {
                "keyword": "string",
                "type": "TYPE_UNSPECIFIED"
              }
            ],
            "createTime": "2019-08-24T14:15:22Z",
            "updateTime": "2019-08-24T14:15:22Z",
            "externalUpdateTime": "2019-08-24T14:15:22Z",
            "metadata": {},
            "indexState": "INDEX_STATE_UNSPECIFIED"
          }
        ],
        "conversationCriterions": [
          "CONVERSATION_CRITERION_UNSPECIFIED"
        ],
        "languageCodes": [
          "string"
        ],
        "comments": "COMMENTS_UNSPECIFIED",
        "includeDevUsers": true,
        "includeDeactivatedUsers": true,
        "excludeDeactivatedUsers": true,
        "includeCrestaBot": true,
        "scorecardStatus": "SCORECARD_STATUS_UNSPECIFIED",
        "scorecardStatuses": [
          "SCORECARD_STATUS_UNSPECIFIED"
        ],
        "liveAssist": "LIVE_ASSIST_UNSPECIFIED",
        "liveAssists": [
          "LIVE_ASSIST_UNSPECIFIED"
        ],
        "summaryUsages": [
          "SUMMARY_USAGE_UNSPECIFIED"
        ],
        "noteTakingUsages": [
          "NOTE_TAKING_USAGE_UNSPECIFIED"
        ],
        "suggestionUsages": [
          "SUGGESTION_USAGE_UNSPECIFIED"
        ],
        "scorecardTemplateNames": [
          "string"
        ],
        "usecaseNames": [
          "string"
        ],
        "hintType": "HINT_TYPE_UNSPECIFIED",
        "languageTransferEvents": [
          {
            "newLanguageCode": "string",
            "oldLanguageCode": "string"
          }
        ],
        "behaviors": [
          {
            "name": "string",
            "displayName": "string",
            "moment": {
              "name": "string",
              "usecases": [
                "string"
              ],
              "displayName": "string",
              "description": "string",
              "type": "TYPE_UNSPECIFIED",
              "detailedType": "DETAILED_TYPE_UNSPECIFIED",
              "taxonomy": "string",
              "taxonomyReferenceId": "string",
              "parentMomentTemplateId": "string",
              "taxonomyState": "STATE_UNSPECIFIED",
              "appTypes": [
                "APP_TYPE_UNSPECIFIED"
              ],
              "momentData": {
                "keywordMomentData": {
                  "messageTypes": []
                },
                "compositeMomentData": {
                  "operands": [],
                  "moments": [],
                  "messageTypes": []
                },
                "timeBasedMomentData": {},
                "customIntentMomentData": {
                  "exampleUtterance": []
                },
                "silenceMomentData": {},
                "ivrMomentData": {},
                "cannedSuggestionMomentData": {},
                "conversationMetadataMomentData": {
                  "allowedValues": [],
                  "numericBins": [],
                  "outcomeStatsTypes": [],
                  "applicableAreas": []
                },
                "chainedCompositeMomentData": {},
                "metadataMatchesMomentData": {
                  "isPresent": {},
                  "isNotPresent": {}
                },
                "intentV2MomentData": {
                  "testSetSessionLogNames": []
                },
                "conversationOutcomeMomentData": {
                  "outcomeValues": [],
                  "outcomeStatsTypes": []
                },
                "finetunedOobIntentMomentData": {},
                "entityMomentData": {
                  "blockList": [],
                  "requiredKeywords": [],
                  "intentsInScope": [],
                  "regexes": [],
                  "channels": []
                },
                "conversationHoldMatchesMomentData": {},
                "discoveredIntentMomentData": {
                  "positiveExamples": [],
                  "negativeExamples": [],
                  "extraPositiveExamples": [],
                  "extraNegativeExamples": []
                },
                "matchAnyMessageMomentData": {
                  "speakerRoles": []
                },
                "summarizationMomentData": {
                  "keywordReplacements": []
                },
                "summarizationTopicMomentData": {
                  "keywordReplacements": []
                },
                "metadata": {}
              },
              "momentSource": "MOMENT_SOURCE_UNSPECIFIED",
              "displayOrder": 0,
              "labels": {
                "labels": {}
              },
              "languageCode": "string",
              "deploymentStatus": "DEPLOYMENT_STATUS_UNSPECIFIED",
              "momentUsages": [
                {}
              ],
              "behaviorStatus": "BEHAVIOR_STATUS_UNSPECIFIED",
              "author": {
                "name": "string",
                "userId": "string",
                "username": "string",
                "email": "string",
                "displayName": "string",
                "fullName": "string",
                "isDevUser": true,
                "roles": [
                  null
                ],
                "legacyRoles": [
                  null
                ],
                "agentProfiles": [
                  null
                ],
                "team": "string",
                "state": "ACTIVE_STATE_UNSPECIFIED",
                "loginStatus": {
                  "applicationStatus": []
                },
                "manager": "string",
                "externalIdmId": "string",
                "platformProfiles": [
                  null
                ],
                "isGuestUser": true,
                "type": "USER_TYPE_UNSPECIFIED",
                "profileNames": [
                  null
                ],
                "usecases": [
                  null
                ],
                "profileStates": {},
                "preferredProfile": "string",
                "authenticationFactors": [
                  null
                ],
                "requirePasswordReset": true,
                "migratedEntities": [
                  null
                ]
              }
            },
            "behaviorStatus": "BEHAVIOR_STATUS_UNSPECIFIED",
            "behaviorConfig": {
              "sdxReminderWindow": {
                "numberTurns": 0,
                "numberAgentTurns": 0,
                "numberVisitorTurns": 0,
                "duration": "string"
              },
              "sdxAdherenceWindow": {
                "numberTurns": 0,
                "numberAgentTurns": 0,
                "numberVisitorTurns": 0,
                "duration": "string"
              },
              "sdxAdherenceCutoffMoment": {
                "name": "string",
                "usecases": [
                  null
                ],
                "displayName": "string",
                "description": "string",
                "type": "TYPE_UNSPECIFIED",
                "detailedType": "DETAILED_TYPE_UNSPECIFIED",
                "taxonomy": "string",
                "taxonomyReferenceId": "string",
                "parentMomentTemplateId": "string",
                "taxonomyState": "STATE_UNSPECIFIED",
                "appTypes": [
                  null
                ],
                "momentData": {},
                "momentSource": "MOMENT_SOURCE_UNSPECIFIED",
                "displayOrder": 0,
                "labels": {
                  "labels": {}
                },
                "languageCode": "string",
                "deploymentStatus": "DEPLOYMENT_STATUS_UNSPECIFIED",
                "momentUsages": [
                  null
                ],
                "behaviorStatus": "BEHAVIOR_STATUS_UNSPECIFIED",
                "author": {
                  "roles": [],
                  "legacyRoles": [],
                  "agentProfiles": [],
                  "groupMemberships": [],
                  "platformProfiles": [],
                  "profileNames": [],
                  "usecases": [],
                  "profileStates": {},
                  "authenticationFactors": [],
                  "migratedEntities": []
                }
              },
              "negativeAdherenceConfig": {
                "recordNegativeAdherenceOnce": true
              },
              "targetAgents": [
                {
                  "roles": [],
                  "legacyRoles": [],
                  "agentProfiles": [],
                  "groupMemberships": [],
                  "platformProfiles": [],
                  "profileNames": [],
                  "usecases": [],
                  "profileStates": {},
                  "authenticationFactors": [],
                  "migratedEntities": []
                }
              ],
              "targetGroups": [
                {
                  "members": [],
                  "parents": [],
                  "profileNames": []
                }
              ],
              "directMembersOnly": true,
              "conversationCloseOption": "POLICY_CONVERSATION_CLOSE_OPTION_UNSPECIFIED",
              "allowMultipleSdx": true,
              "allowMultiplePositiveAdherence": true
            },
            "audienceConfig": {
              "allAgents": true,
              "targetAudience": {
                "targetUsers": [
                  null
                ],
                "targetGroups": [
                  null
                ],
                "directMembersOnly": true
              },
              "excludedAudience": {
                "excludedUsers": [
                  null
                ],
                "excludedGroups": [
                  null
                ],
                "directMembersOnly": true
              },
              "dynamicAudience": {
                "dynamicGroup": "string",
                "rules": [
                  null
                ],
                "state": "STATE_UNSPECIFIED"
              }
            }
          }
        ],
        "conversationSources": [
          "SOURCE_UNSPECIFIED"
        ],
        "tags": [
          {
            "name": "string",
            "usecase": "string",
            "displayName": "string",
            "description": "string",
            "color": "string",
            "icon": {
              "name": "string",
              "iconType": "ICON_TYPE_UNSPECIFIED"
            },
            "isPublic": true,
            "visibility": {
              "roles": [
                "ROLE_UNSPECIFIED"
              ]
            },
            "tagType": "TAG_TYPE_UNSPECIFIED"
          }
        ],
        "hasScreenRecordings": true,
        "conversationHoldsCriterion": {
          "holdsCountRange": {
            "lowerBound": {
              "value": 0,
              "isExclusive": true
            },
            "upperBound": {
              "value": 0,
              "isExclusive": true
            }
          }
        },
        "screenRecording": "SCREEN_RECORDING_UNSPECIFIED",
        "knowledgeMomentFilter": {
          "knowledgeMoments": [
            {
              "autoDetected": {
                "status": "STATUS_UNSPECIFIED"
              },
              "agentInitiated": {
                "status": "STATUS_UNSPECIFIED"
              }
            }
          ],
          "matchType": "MATCH_TYPE_UNSPECIFIED"
        },
        "scorecardSubmitterUserNames": [
          "string"
        ],
        "calibrationStatuses": [
          "SCORECARD_STATUS_UNSPECIFIED"
        ],
        "conversationPlatformVisitorId": [
          "string"
        ],
        "transferInfoFilter": {
          "umbrellaConversationTransferTypes": [
            "UMBRELLA_CONVERSATION_TRANSFER_TYPE_UNSPECIFIED"
          ],
          "participantInteractionTypes": [
            "PARTICIPANT_INTERACTION_TYPE_UNSPECIFIED"
          ]
        },
        "agentAssistFilters": [
          {
            "agentAssistUsed": "AGENT_ASSIST_STATE_TYPE_UNSPECIFIED"
          }
        ],
        "groupMembershipFilter": {
          "type": "GROUP_MEMBERSHIP_TYPE_UNSPECIFIED"
        },
        "criterionIdentifiers": [
          "string"
        ],
        "coachingSessionNames": [
          "string"
        ],
        "scorecardSubmissionSources": [
          "SCORECARD_SUBMISSION_SOURCE_UNSPECIFIED"
        ]
      }
    }
  }'

Responses

A successful response.

Bodyapplication/json
scorecardTemplateobject(Coaching Scorecard Template Next ID: 16)
Response
application/json
{ "scorecardTemplate": { "name": "string", "title": "string", "template": {}, "audience": {}, "resolvedAudience": {}, "createTime": "2019-08-24T14:15:22Z", "deactivateTime": "2019-08-24T14:15:22Z", "deleteTime": "2019-08-24T14:15:22Z", "usecaseNames": [], "qaTaskConfig": {}, "lastUpdatedBy": {}, "permissions": {}, "type": "SCORECARD_TEMPLATE_TYPE_UNSPECIFIED", "status": "SCORECARD_TEMPLATE_STATUS_UNSPECIFIED", "qaScoreConfig": {} } }