Agent Assist Call Detailed Records are not yet supported through the OCP® Export Service. Support is planned for a future version. The records described in this page are currently delivered via Kafka.
Overview
Agent Assist (AA) generates call detailed records that capture every significant event during an agent-assisted conversation. These records are published to Kafka and contain information about dialog interactions, Natural Language Understanding (NLU) results, business flow instances, and antifraud data.
Two event types are sent to two different Kafka topics:
-
agent_assist_summary— sent on call start and call end -
agent_assist_step— sent after each ASR final recognition event
All field names are serialized in snake_case in the JSON payload.
Event types
|
Message type |
Kafka topic |
Description |
|---|---|---|
|
|
|
Sent when the call starts. |
|
|
|
Sent after each ASR final recognition event during the call. |
|
|
|
Sent when the call ends. |
Field reference
Agent Assist configuration
|
Field |
Type |
Description |
|---|---|---|
|
|
string |
Agent Assist profile identifier. |
|
|
string |
Agent Assist profile name. |
|
|
string |
Type of the event. Possible values: |
|
|
string |
Active version of Agent Assist. |
|
|
string |
Region identifier. |
|
|
boolean |
Indicates whether the event was generated during a test session. |
OCP® fields
|
Field |
Type |
Description |
|---|---|---|
|
|
string |
OCP® group name. |
|
|
string |
OCP® organization identifier. |
CCaaS provider fields
|
Field |
Type |
Description |
|---|---|---|
|
|
string |
Unique identifier defined by the CCaaS provider. |
|
|
string |
IVR-side dialog identifier in the case of a transfer. Can be null. |
|
|
string |
Unique identifier of the agent. |
|
|
string |
Skill identifier assigned to the agent. |
|
|
string |
CCaaS provider identifier (for example, |
|
|
string |
Locale identifier (for example, |
|
|
string |
Tenant identifier. |
Dialog and stream information
|
Field |
Type |
Description |
|---|---|---|
|
|
string |
Concatenated identifier in the format |
|
|
integer (int64) |
Dialog start time in epoch milliseconds. |
|
|
integer (int64) |
Timestamp of the stream connection start. |
|
|
integer (int64) |
Timestamp of the stream end. Can be null. |
|
|
integer (int64) |
Duration of the stream in milliseconds. Calculated automatically when |
|
|
integer |
Step number for this stream. Sent only in |
|
|
integer (int64) |
Step start timestamp in epoch milliseconds. Sent only in |
|
|
string |
Step duration in milliseconds. Sent only in |
NLU and business flow fields
|
Field |
Type |
Description |
|---|---|---|
|
|
object |
NLU result containing detected intents and entities. Sent only in |
|
|
array of objects |
Business flow instances that fired or completed. Sent in |
Participant and ASR result fields
The following fields are sent only in agent_assist_step events.
|
Field |
Type |
Description |
|---|---|---|
|
|
string |
Type of conversation participant. Possible values: |
|
|
object |
ASR (Automatic Speech Recognition) result for the step. |
Origin fields
|
Field |
Type |
Default value |
Description |
|---|---|---|---|
|
|
boolean |
|
Indicates whether the origin is a bot. |
|
|
string |
|
Vendor identifier. |
Antifraud fields
The following fields are sent only in agent_assist_step events.
|
Field |
Type |
Description |
|---|---|---|
|
|
object |
Liveness detection data. Can be null. Contains |
|
|
object |
Blocklist match data. Can be null. Contains |
|
|
string |
ANI validation result. |
Other fields
|
Field |
Type |
Description |
|---|---|---|
|
|
string |
Call summary text. Sent only in |
Nested objects
NLU result object
|
Field |
Type |
Description |
|---|---|---|
|
|
array of strings |
List of detected intents. |
|
|
array of objects |
List of detected entities. Each entity contains |
Business flow instance object
|
Field |
Type |
Description |
|---|---|---|
|
|
string |
Unique identifier of the business flow instance. |
|
|
string |
Status of the instance. Possible values: |
|
|
string |
Intent that triggered the business flow. |
|
|
string |
Description of the business flow. |
|
|
string |
Message produced when the instance completes. |
|
|
string |
Participant that triggered the flow. Possible values: |
|
|
array of objects |
Required entities for the business flow and their current values. Each entry contains |
|
|
integer |
Latest sequence identifier for the instance. |
Example payloads
Call start
{
"message_type": "agent_assist_start",
"region": "aws-eu-west-1",
"version": "6.20.4",
"ocp_group_name": "macu_dev",
"ocp_organization_id": "15f7fbe2-9512-4c5b-ade5-0f4d792cae10",
"master_id": "718478520153206908",
"connection_id": "nic:4605741:718478520153206908",
"agent_id": "agentId",
"agent_skill": "vb_skill",
"ccaas_provider": "niceInContact",
"locale": "en-US",
"origin": {
"vendor": "omilia",
"is_bot": false
},
"tenant_id": "4605741",
"dialog_id": "AA.1762950497134.718478520153206908",
"stream_start_timestamp": 1762950501402,
"aa_profile_id": "8f1132ec-725d-485f-9c78-ebb83ad383ec",
"aa_profile_name": "example_profile",
"test_flag": true,
"dialog_time": 1762950497134
}
Step event
{
"message_type": "agent_assist_step",
"region": "aws-eu-west-1",
"version": "6.20.4",
"nlu_result": {
"intents": ["Verification"],
"entities": [
{ "name": "MetaAction", "value": "help" },
{ "name": "DIALOGACT", "value": "GREET" }
]
},
"businessflow_instances": [
{
"latest_seq_id": 1,
"intent": "Verification",
"flow_instance_id": "c9c28431-1577-4052-8762-04032e50bdab",
"flow_instance_status": "COMPLETED",
"instance_completion_message": "Verification completed.",
"triggering_participant": "AGENT"
}
],
"ocp_group_name": "macu_dev",
"ocp_organization_id": "15f7fbe2-9512-4c5b-ade5-0f4d792cae10",
"master_id": "718478520153206908",
"connection_id": "nic:4605741:718478520153206908",
"agent_id": "agentId",
"agent_skill": "vb_skill",
"ccaas_provider": "niceInContact",
"locale": "en-US",
"origin": { "vendor": "omilia", "is_bot": false },
"tenant_id": "4605741",
"dialog_id": "AA.1762950497134.718478520153206908",
"step": 1,
"stream_start_timestamp": 1762950501402,
"step_timestamp": 1762950502560,
"step_duration": "3862",
"antifraud": {},
"result": {
"confidence": 1.0,
"utterance": "hello how can I help you"
},
"aa_profile_id": "8f1132ec-725d-485f-9c78-ebb83ad383ec",
"aa_profile_name": "example_profile",
"test_flag": true,
"dialog_time": 1762950497134,
"participant_type": "AGENT"
}
Call end
{
"message_type": "agent_assist_end",
"region": "aws-eu-west-1",
"version": "6.20.4",
"businessflow_instances": [
{
"latest_seq_id": 1,
"intent": "Verification",
"flow_instance_id": "c9c28431-1577-4052-8762-04032e50bdab",
"flow_instance_status": "COMPLETED",
"instance_completion_message": "Verification completed.",
"triggering_participant": "AGENT"
}
],
"ocp_group_name": "macu_dev",
"ocp_organization_id": "15f7fbe2-9512-4c5b-ade5-0f4d792cae10",
"master_id": "718478520153206908",
"connection_id": "nic:4605741:718478520153206908",
"agent_id": "agentId",
"agent_skill": "vb_skill",
"ccaas_provider": "niceInContact",
"locale": "en-US",
"origin": { "vendor": "omilia", "is_bot": false },
"tenant_id": "4605741",
"dialog_id": "AA.1762950497134.718478520153206908",
"stream_start_timestamp": 1762950501402,
"stream_end_timestamp": 1762950606820,
"stream_duration": 105418,
"summary": "The caller requested information about their account. The agent completed the verification process and provided the requested details.",
"aa_profile_id": "8f1132ec-725d-485f-9c78-ebb83ad383ec",
"aa_profile_name": "example_profile",
"test_flag": true,
"dialog_time": 1762950497134
}