{
  "id": "af87683d-8c48-4aea-a4f0-a8b43d8fe639",
  "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
  "number": "+381603022591",
  "direction": "outbound",
  "room": "node-af87683d-8c48-4aea-a4f0-a8b43d8fe639",
  "status": "failed",
  "sipCallId": "SCL_sETZ8FDpRf9c",
  "sipStatus": "active",
  "createdAt": "2026-10-07T14:00:31.445Z",
  "updatedAt": "2026-10-07T14:00:47.875Z",
  "answeredAt": "2026-10-07T14:00:39.868Z",
  "endedAt": "2026-10-07T14:00:47.873Z",
  "endedReason": "Agent execution failed",
  "dialog": {
    "id": "7de18ddb-028e-45e7-afc5-dba370389511",
    "createdAt": "2026-10-07T14:00:31.445Z",
    "initialState": {
      "id": "7de18ddb-028e-45e7-afc5-dba370389511",
      "turns": [],
      "inputs": {},
      "status": "created",
      "version": 2,
      "collected": {},
      "agentState": null,
      "participants": [
        {
          "id": "callee",
          "kind": "human",
          "name": "+381603022591",
          "status": "disconnected"
        },
        {
          "id": "agent",
          "kind": "agent",
          "name": "AKI",
          "status": "disconnected",
          "behavior": {
            "turns": "assertive",
            "greeting": {
              "initiative": "submissive",
              "interruptible": false
            }
          },
          "template": {
            "id": "c8387d21-1991-4c9e-b773-fe4c51724802@2",
            "name": "AKI",
            "audios": {
              "filler": {
                "text": "Samo trenutak.",
                "format": "pcm_s16le",
                "sha256": "f3bccae24620dbc63bbd189f588f0656f70e50961c4bfbce2fb9ecebedcd85f2",
                "channels": 1,
                "byteLength": 49920,
                "durationMs": 1040,
                "sampleRate": 24000
              },
              "greeting": {
                "text": "Dobar dan, ja sam Aki, virtuelna asistentkinja Ајик банке za proveru stanja na kreditnoj kartici.\n\nKako mogu da Vam pomognem?",
                "format": "pcm_s16le",
                "sha256": "61e15bb263b8509d0ef16d04c65dc6ba2c4b624b92168b50b0fdfb64ced085fc",
                "channels": 1,
                "byteLength": 360960,
                "durationMs": 7520,
                "sampleRate": 24000
              }
            },
            "prompts": {
              "system": "Ti si Aki, virtuelna asistentkinja AIK Banke. O sebi uvek govori u ženskom rodu. Prikupi ime i prezime, pretraži samo po JMBG-u, zatim uporedi ime i prezime iz odgovora pre saopštavanja stanja."
            },
            "latencyCovers": [
              {
                "audioId": "filler",
                "delayMs": 900
              }
            ]
          },
          "definition": {
            "kind": "code",
            "options": {},
            "voicePack": {
              "id": "elevenlabs:oICC5xEEbDGIZC1LVOOM",
              "label": "AKI",
              "model": "eleven_v3",
              "voiceId": "oICC5xEEbDGIZC1LVOOM",
              "language": "sr",
              "provider": "elevenlabs"
            },
            "configuration": {
              "name": "AKI",
              "timing": {
                "softMs": 350,
                "openingMs": 1200,
                "committedMs": 1100
              },
              "behavior": {
                "turns": "assertive",
                "greeting": {
                  "initiative": "submissive",
                  "interruptible": false
                }
              },
              "providers": {
                "ttv": "elevenlabs",
                "vtt": "soniox",
                "reply": "openai"
              },
              "voicePackId": "elevenlabs:oICC5xEEbDGIZC1LVOOM",
              "systemPrompt": "Ti si Aki, virtuelna asistentkinja AIK Banke. O sebi uvek govori u ženskom rodu. Prikupi ime i prezime, pretraži samo po JMBG-u, zatim uporedi ime i prezime iz odgovora pre saopštavanja stanja."
            },
            "implementation": {
              "key": "aki",
              "version": "1"
            }
          }
        }
      ],
      "currentSpeakerId": null,
      "awaitingParticipantId": null
    },
    "lastSequence": 31,
    "historyStartedAt": "2026-10-07T14:00:31.445Z",
    "events": [
      {
        "id": "2774e248-b7e5-4434-81a5-de0dce8af82b",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 1,
        "layer": "CALL",
        "type": "call.created",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:31.422Z",
        "recordedAt": "2026-10-07T14:00:31.445Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "room": "node-af87683d-8c48-4aea-a4f0-a8b43d8fe639",
          "type": "call.created",
          "callId": "af87683d-8c48-4aea-a4f0-a8b43d8fe639",
          "number": "+381603022591",
          "direction": "outbound"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "2a08033e-6815-4648-b6d4-9c89d2406dca",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 2,
        "layer": "CALL",
        "type": "call.connecting",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:31.422Z",
        "recordedAt": "2026-10-07T14:00:31.445Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.connecting",
          "callId": "af87683d-8c48-4aea-a4f0-a8b43d8fe639"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "694fcba2-d230-4f9f-8ab0-9b4d604fdce1",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 3,
        "layer": "DIALOG",
        "type": "dialog.started",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:31.422Z",
        "recordedAt": "2026-10-07T14:00:31.445Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.started",
          "callId": "af87683d-8c48-4aea-a4f0-a8b43d8fe639",
          "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "d43deecf-b1c8-44d5-8237-affb1fb2e8ce",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 4,
        "layer": "CALL",
        "type": "call.sip_status",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:31.702Z",
        "recordedAt": "2026-10-07T14:00:31.719Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.sip_status",
          "callId": "af87683d-8c48-4aea-a4f0-a8b43d8fe639",
          "sipCallId": "SCL_sETZ8FDpRf9c"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "346e9477-d8e7-4fcf-a15c-24e618c36820",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 5,
        "layer": "CALL",
        "type": "call.participant_joined",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:31.732Z",
        "recordedAt": "2026-10-07T14:00:31.740Z",
        "operationId": null,
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "call.participant_joined",
          "callId": "af87683d-8c48-4aea-a4f0-a8b43d8fe639",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "f5677ee3-dbbd-4d15-9f65-49a49a29d68f",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 6,
        "layer": "CALL",
        "type": "call.sip_status",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:31.732Z",
        "recordedAt": "2026-10-07T14:00:31.743Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.sip_status",
          "callId": "af87683d-8c48-4aea-a4f0-a8b43d8fe639",
          "sipCallId": "SCL_sETZ8FDpRf9c",
          "sipStatus": "dialing"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "94ec33ea-2726-4151-8db9-db30bd5e199d",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 7,
        "layer": "CALL",
        "type": "call.sip_status",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:36.814Z",
        "recordedAt": "2026-10-07T14:00:36.820Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.sip_status",
          "callId": "af87683d-8c48-4aea-a4f0-a8b43d8fe639",
          "sipCallId": "SCL_sETZ8FDpRf9c",
          "sipStatus": "ringing"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "0393ea47-5e12-4f70-b898-63f84be5bb95",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 8,
        "layer": "CALL",
        "type": "call.sip_status",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:39.868Z",
        "recordedAt": "2026-10-07T14:00:39.875Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.sip_status",
          "callId": "af87683d-8c48-4aea-a4f0-a8b43d8fe639",
          "sipCallId": "SCL_sETZ8FDpRf9c",
          "sipStatus": "active"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "3d463854-eb8c-420b-9fa7-d34621c92f61",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 9,
        "layer": "CALL",
        "type": "call.connected",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:39.868Z",
        "recordedAt": "2026-10-07T14:00:39.877Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.connected",
          "callId": "af87683d-8c48-4aea-a4f0-a8b43d8fe639"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "96812649-d1c7-42bf-a153-19da81135af6",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 10,
        "layer": "L1",
        "type": "vtt.started",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:40.990Z",
        "recordedAt": "2026-10-07T14:00:41.032Z",
        "operationId": "1e59d776-cafe-41d0-b07b-0727994df1b6",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "mode": "live",
          "type": "vtt.started",
          "sessionId": "7de18ddb-028e-45e7-afc5-dba370389511",
          "operationId": "1e59d776-cafe-41d0-b07b-0727994df1b6",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "ff0abdc0-6dfd-426c-8fec-d255c92b1f0c",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 11,
        "layer": "DIALOG",
        "type": "dialog.ready",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:41.029Z",
        "recordedAt": "2026-10-07T14:00:41.044Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.ready",
          "callId": "af87683d-8c48-4aea-a4f0-a8b43d8fe639",
          "behavior": {
            "turns": "assertive",
            "greeting": {
              "initiative": "submissive",
              "interruptible": false
            }
          },
          "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "07a4005f-80b9-4e5d-a2f8-bc6a17cd9e0d",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 12,
        "layer": "L1",
        "type": "silence.soft",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:41.360Z",
        "recordedAt": "2026-10-07T14:00:41.375Z",
        "operationId": "1e59d776-cafe-41d0-b07b-0727994df1b6",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "atMs": 377.67508200000157,
          "type": "silence.soft",
          "sessionId": "7de18ddb-028e-45e7-afc5-dba370389511",
          "silenceId": "bf0de0c6-79ff-49b6-836a-c346dd3e031d",
          "durationMs": 352,
          "operationId": "1e59d776-cafe-41d0-b07b-0727994df1b6",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "f80afc4b-eade-42c9-a72a-c064956dfa03",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 13,
        "layer": "L1",
        "type": "silence.committed",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:42.129Z",
        "recordedAt": "2026-10-07T14:00:42.154Z",
        "operationId": "1e59d776-cafe-41d0-b07b-0727994df1b6",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "atMs": 1146.5249300000014,
          "type": "silence.committed",
          "sessionId": "7de18ddb-028e-45e7-afc5-dba370389511",
          "silenceId": "bf0de0c6-79ff-49b6-836a-c346dd3e031d",
          "durationMs": 1120,
          "operationId": "1e59d776-cafe-41d0-b07b-0727994df1b6",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "0bb3ded2-3a82-4f09-a74a-d448f70e46e1",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 14,
        "layer": "L1",
        "type": "silence.opening",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:42.225Z",
        "recordedAt": "2026-10-07T14:00:42.234Z",
        "operationId": "1e59d776-cafe-41d0-b07b-0727994df1b6",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "atMs": 1242.5249300000014,
          "type": "silence.opening",
          "sessionId": "7de18ddb-028e-45e7-afc5-dba370389511",
          "silenceId": "bf0de0c6-79ff-49b6-836a-c346dd3e031d",
          "durationMs": 1216,
          "operationId": "1e59d776-cafe-41d0-b07b-0727994df1b6",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "a3572a3a-6788-4e43-a2d0-750a8c54e162",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 15,
        "layer": "DIALOG",
        "type": "dialog.turn.started",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:42.229Z",
        "recordedAt": "2026-10-07T14:00:42.243Z",
        "operationId": null,
        "turnId": "02930bce-80de-4069-b4c9-9127932e5c04",
        "participantId": "agent",
        "payload": {
          "kind": "greeting",
          "text": "Dobar dan, ja sam Aki, virtuelna asistentkinja Ајик банке za proveru stanja na kreditnoj kartici.\n\nKako mogu da Vam pomognem?",
          "type": "dialog.turn.started",
          "callId": "af87683d-8c48-4aea-a4f0-a8b43d8fe639",
          "turnId": "02930bce-80de-4069-b4c9-9127932e5c04",
          "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "7b4749ee-ce2f-457b-b521-3399a6048ea5",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 16,
        "layer": "L1",
        "type": "audio.playback.started",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:42.247Z",
        "recordedAt": "2026-10-07T14:00:42.251Z",
        "operationId": "c4a50704-940e-4d0b-99bb-132af640a629",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.playback.started",
          "audio": {
            "text": "Dobar dan, ja sam Aki, virtuelna asistentkinja Ајик банке za proveru stanja na kreditnoj kartici.\n\nKako mogu da Vam pomognem?",
            "format": "pcm_s16le",
            "sha256": "61e15bb263b8509d0ef16d04c65dc6ba2c4b624b92168b50b0fdfb64ced085fc",
            "channels": 1,
            "byteLength": 360960,
            "durationMs": 7520,
            "sampleRate": 24000
          },
          "sessionId": "7de18ddb-028e-45e7-afc5-dba370389511",
          "operationId": "c4a50704-940e-4d0b-99bb-132af640a629",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "7f36cfc4-d6c9-4d3d-8808-b59bccca3826",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 17,
        "layer": "L1",
        "type": "audio.playback.first_frame",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:42.255Z",
        "recordedAt": "2026-10-07T14:00:42.262Z",
        "operationId": "c4a50704-940e-4d0b-99bb-132af640a629",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.playback.first_frame",
          "sessionId": "7de18ddb-028e-45e7-afc5-dba370389511",
          "operationId": "c4a50704-940e-4d0b-99bb-132af640a629",
          "firstFrameAt": "2026-10-07T14:00:42.254Z",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "fe4ae401-031c-44c4-8cc5-7f7990e6d67b",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 18,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:43.069Z",
        "recordedAt": "2026-10-07T14:00:43.079Z",
        "operationId": "1e59d776-cafe-41d0-b07b-0727994df1b6",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "e7e0d2c4-c247-4712-8fe8-484ee9f65f90",
              "key": "recordings/af87683d-8c48-4aea-a4f0-a8b43d8fe639/audio/caller/e7e0d2c4-c247-4712-8fe8-484ee9f65f90.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "7fef7104004e2f33f154dd25c8f7b374fd41eeafd3a90f9d0b8cff7494a70c8f"
            },
            "format": "pcm_s16le",
            "sha256": "00fa44358665139d47db51c627ba2e186fbde2ffa1fa8c9d7d6802116a99a99b",
            "channels": 1,
            "byteLength": 96000,
            "durationMs": 2000,
            "sampleRate": 24000
          },
          "speaker": "caller",
          "sessionId": "7de18ddb-028e-45e7-afc5-dba370389511",
          "startedAt": "2026-10-07T14:00:41.008Z",
          "operationId": "1e59d776-cafe-41d0-b07b-0727994df1b6",
          "participantId": "callee"
        },
        "audioId": "e7e0d2c4-c247-4712-8fe8-484ee9f65f90",
        "audio": {
          "id": "e7e0d2c4-c247-4712-8fe8-484ee9f65f90",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "00fa44358665139d47db51c627ba2e186fbde2ffa1fa8c9d7d6802116a99a99b",
          "byteLength": 96000,
          "durationMs": 2000,
          "bucket": "livekit-node-stage",
          "key": "recordings/af87683d-8c48-4aea-a4f0-a8b43d8fe639/audio/caller/e7e0d2c4-c247-4712-8fe8-484ee9f65f90.wav",
          "objectSha256": "7fef7104004e2f33f154dd25c8f7b374fd41eeafd3a90f9d0b8cff7494a70c8f",
          "objectByteLength": 96044,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:00:43.009Z"
        }
      },
      {
        "id": "f06e1675-f82b-4e4c-843d-9b127cb11d5b",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 19,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:44.311Z",
        "recordedAt": "2026-10-07T14:00:44.317Z",
        "operationId": "c4a50704-940e-4d0b-99bb-132af640a629",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "516347c0-1183-4171-98ef-6f36ef46c493",
              "key": "recordings/af87683d-8c48-4aea-a4f0-a8b43d8fe639/audio/agent/516347c0-1183-4171-98ef-6f36ef46c493.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "911fefd3662666f587262388ae4c2cc977fd1c85c8cc6a3bfeb79f27f42b7307"
            },
            "format": "pcm_s16le",
            "sha256": "493dc143da54232fdbf9a8fef52c48e5638df3c8408ebd9d73b7d46e08075488",
            "channels": 1,
            "byteLength": 96000,
            "durationMs": 2000,
            "sampleRate": 24000
          },
          "speaker": "agent",
          "sessionId": "7de18ddb-028e-45e7-afc5-dba370389511",
          "startedAt": "2026-10-07T14:00:42.254Z",
          "operationId": "c4a50704-940e-4d0b-99bb-132af640a629",
          "participantId": "agent"
        },
        "audioId": "516347c0-1183-4171-98ef-6f36ef46c493",
        "audio": {
          "id": "516347c0-1183-4171-98ef-6f36ef46c493",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "493dc143da54232fdbf9a8fef52c48e5638df3c8408ebd9d73b7d46e08075488",
          "byteLength": 96000,
          "durationMs": 2000,
          "bucket": "livekit-node-stage",
          "key": "recordings/af87683d-8c48-4aea-a4f0-a8b43d8fe639/audio/agent/516347c0-1183-4171-98ef-6f36ef46c493.wav",
          "objectSha256": "911fefd3662666f587262388ae4c2cc977fd1c85c8cc6a3bfeb79f27f42b7307",
          "objectByteLength": 96044,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:00:44.295Z"
        }
      },
      {
        "id": "e20cdbce-6652-4855-9321-43f88f7769ba",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 20,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:45.024Z",
        "recordedAt": "2026-10-07T14:00:45.031Z",
        "operationId": "1e59d776-cafe-41d0-b07b-0727994df1b6",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "91d2a0ee-a859-4990-82ba-022f9163d547",
              "key": "recordings/af87683d-8c48-4aea-a4f0-a8b43d8fe639/audio/caller/91d2a0ee-a859-4990-82ba-022f9163d547.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "6722d50e9d3dfcf3cb955d8be47802bb377b1ab213b7aea4859d8952012ce008"
            },
            "format": "pcm_s16le",
            "sha256": "8c0f194b38a1fb6475ac189547709fc052d9e655abb3b4e07094fac4127ee40f",
            "channels": 1,
            "byteLength": 96000,
            "durationMs": 2000,
            "sampleRate": 24000
          },
          "speaker": "caller",
          "sessionId": "7de18ddb-028e-45e7-afc5-dba370389511",
          "startedAt": "2026-10-07T14:00:43.023Z",
          "operationId": "1e59d776-cafe-41d0-b07b-0727994df1b6",
          "participantId": "callee"
        },
        "audioId": "91d2a0ee-a859-4990-82ba-022f9163d547",
        "audio": {
          "id": "91d2a0ee-a859-4990-82ba-022f9163d547",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "8c0f194b38a1fb6475ac189547709fc052d9e655abb3b4e07094fac4127ee40f",
          "byteLength": 96000,
          "durationMs": 2000,
          "bucket": "livekit-node-stage",
          "key": "recordings/af87683d-8c48-4aea-a4f0-a8b43d8fe639/audio/caller/91d2a0ee-a859-4990-82ba-022f9163d547.wav",
          "objectSha256": "6722d50e9d3dfcf3cb955d8be47802bb377b1ab213b7aea4859d8952012ce008",
          "objectByteLength": 96044,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:00:45.008Z"
        }
      },
      {
        "id": "7a60c72a-ee38-47f2-9054-8eabf5f73ca0",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 21,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:46.313Z",
        "recordedAt": "2026-10-07T14:00:46.319Z",
        "operationId": "c4a50704-940e-4d0b-99bb-132af640a629",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "95757ff0-a31e-48ef-aaf4-170f4c510e39",
              "key": "recordings/af87683d-8c48-4aea-a4f0-a8b43d8fe639/audio/agent/95757ff0-a31e-48ef-aaf4-170f4c510e39.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "3230c265a5e7bc353b28b0cac16088431901b36b27bf015442485090f29dac65"
            },
            "format": "pcm_s16le",
            "sha256": "c18c2aa6689ff859d3a039603421841e6d2ebb0c42ffc7ec8fb39969d8270ff4",
            "channels": 1,
            "byteLength": 96000,
            "durationMs": 2000,
            "sampleRate": 24000
          },
          "speaker": "agent",
          "sessionId": "7de18ddb-028e-45e7-afc5-dba370389511",
          "startedAt": "2026-10-07T14:00:44.254Z",
          "operationId": "c4a50704-940e-4d0b-99bb-132af640a629",
          "participantId": "agent"
        },
        "audioId": "95757ff0-a31e-48ef-aaf4-170f4c510e39",
        "audio": {
          "id": "95757ff0-a31e-48ef-aaf4-170f4c510e39",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "c18c2aa6689ff859d3a039603421841e6d2ebb0c42ffc7ec8fb39969d8270ff4",
          "byteLength": 96000,
          "durationMs": 2000,
          "bucket": "livekit-node-stage",
          "key": "recordings/af87683d-8c48-4aea-a4f0-a8b43d8fe639/audio/agent/95757ff0-a31e-48ef-aaf4-170f4c510e39.wav",
          "objectSha256": "3230c265a5e7bc353b28b0cac16088431901b36b27bf015442485090f29dac65",
          "objectByteLength": 96044,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:00:46.295Z"
        }
      },
      {
        "id": "ba3af7ee-0ad7-449f-823e-e52b9511b172",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 22,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:47.027Z",
        "recordedAt": "2026-10-07T14:00:47.034Z",
        "operationId": "1e59d776-cafe-41d0-b07b-0727994df1b6",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "0c85eb75-77ca-488e-a1d0-14d80b7d8f2d",
              "key": "recordings/af87683d-8c48-4aea-a4f0-a8b43d8fe639/audio/caller/0c85eb75-77ca-488e-a1d0-14d80b7d8f2d.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "7b3179fe176fdb327a64555df33d625d97611b169160b42bf53c5faab7934292"
            },
            "format": "pcm_s16le",
            "sha256": "3d18317146bc7e5f1f4e5b5959df78747785f34a5f69022eba96a73d7b5210af",
            "channels": 1,
            "byteLength": 96000,
            "durationMs": 2000,
            "sampleRate": 24000
          },
          "speaker": "caller",
          "sessionId": "7de18ddb-028e-45e7-afc5-dba370389511",
          "startedAt": "2026-10-07T14:00:45.023Z",
          "operationId": "1e59d776-cafe-41d0-b07b-0727994df1b6",
          "participantId": "callee"
        },
        "audioId": "0c85eb75-77ca-488e-a1d0-14d80b7d8f2d",
        "audio": {
          "id": "0c85eb75-77ca-488e-a1d0-14d80b7d8f2d",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "3d18317146bc7e5f1f4e5b5959df78747785f34a5f69022eba96a73d7b5210af",
          "byteLength": 96000,
          "durationMs": 2000,
          "bucket": "livekit-node-stage",
          "key": "recordings/af87683d-8c48-4aea-a4f0-a8b43d8fe639/audio/caller/0c85eb75-77ca-488e-a1d0-14d80b7d8f2d.wav",
          "objectSha256": "7b3179fe176fdb327a64555df33d625d97611b169160b42bf53c5faab7934292",
          "objectByteLength": 96044,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:00:47.008Z"
        }
      },
      {
        "id": "7e039f32-6ed0-479b-ad08-84674b701fac",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 23,
        "layer": "L1",
        "type": "audio.playback.failed",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:47.738Z",
        "recordedAt": "2026-10-07T14:00:47.750Z",
        "operationId": "c4a50704-940e-4d0b-99bb-132af640a629",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.playback.failed",
          "message": "Caller audio track ended.",
          "sessionId": "7de18ddb-028e-45e7-afc5-dba370389511",
          "operationId": "c4a50704-940e-4d0b-99bb-132af640a629",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "546f90da-dc39-4508-873b-156d0f1a8840",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 24,
        "layer": "DIALOG",
        "type": "dialog.goal.started",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:47.753Z",
        "recordedAt": "2026-10-07T14:00:47.761Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "name": "Credit card balance",
          "type": "dialog.goal.started",
          "callId": "af87683d-8c48-4aea-a4f0-a8b43d8fe639",
          "goalId": "aki.balance",
          "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
          "goalIndex": 0
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "ad7af389-d5b4-4612-876c-0016f6df5b0e",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 25,
        "layer": "DIALOG",
        "type": "dialog.agent.state",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:47.763Z",
        "recordedAt": "2026-10-07T14:00:47.770Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.agent.state",
          "state": {
            "phase": "opening",
            "fragments": [],
            "jmbgAttempts": 0,
            "lastQuestion": "help",
            "nameAttempts": 0,
            "offerDelivered": false,
            "clarifyAttempts": 0,
            "serviceFailures": 0,
            "mismatchAttempts": 0,
            "greetingInterrupted": true
          },
          "callId": "af87683d-8c48-4aea-a4f0-a8b43d8fe639",
          "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
          "implementation": "aki@1"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "6da9aa8b-70b0-405a-9710-97ddeed9ba14",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 26,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:47.784Z",
        "recordedAt": "2026-10-07T14:00:47.793Z",
        "operationId": "c4a50704-940e-4d0b-99bb-132af640a629",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "88303505-4d0f-424d-8912-14e6806e486e",
              "key": "recordings/af87683d-8c48-4aea-a4f0-a8b43d8fe639/audio/agent/88303505-4d0f-424d-8912-14e6806e486e.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "c5607ca3a4af1bf8d023b4cbc23910992641b9e295d0e032171cb676d38403e8"
            },
            "format": "pcm_s16le",
            "sha256": "452e4bf3ee27132b8c6705106d93393f25dd96c4143386a52291fa18ffed7e2b",
            "channels": 1,
            "byteLength": 71300,
            "durationMs": 1485.4166666666665,
            "sampleRate": 24000
          },
          "speaker": "agent",
          "sessionId": "7de18ddb-028e-45e7-afc5-dba370389511",
          "startedAt": "2026-10-07T14:00:46.254Z",
          "operationId": "c4a50704-940e-4d0b-99bb-132af640a629",
          "participantId": "agent"
        },
        "audioId": "88303505-4d0f-424d-8912-14e6806e486e",
        "audio": {
          "id": "88303505-4d0f-424d-8912-14e6806e486e",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "452e4bf3ee27132b8c6705106d93393f25dd96c4143386a52291fa18ffed7e2b",
          "byteLength": 71300,
          "durationMs": 1485.4166666666665,
          "bucket": "livekit-node-stage",
          "key": "recordings/af87683d-8c48-4aea-a4f0-a8b43d8fe639/audio/agent/88303505-4d0f-424d-8912-14e6806e486e.wav",
          "objectSha256": "c5607ca3a4af1bf8d023b4cbc23910992641b9e295d0e032171cb676d38403e8",
          "objectByteLength": 71344,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:00:47.753Z"
        }
      },
      {
        "id": "7210aa1c-8207-4c48-b685-29e00a9756b8",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 27,
        "layer": "L1",
        "type": "vtt.failed",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:47.839Z",
        "recordedAt": "2026-10-07T14:00:47.842Z",
        "operationId": "1e59d776-cafe-41d0-b07b-0727994df1b6",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "vtt.failed",
          "message": "No audio received.",
          "sessionId": "7de18ddb-028e-45e7-afc5-dba370389511",
          "operationId": "1e59d776-cafe-41d0-b07b-0727994df1b6",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "a4e78ec0-4b8e-439b-b62b-035042374f9e",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 28,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:47.858Z",
        "recordedAt": "2026-10-07T14:00:47.863Z",
        "operationId": "1e59d776-cafe-41d0-b07b-0727994df1b6",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "2c831347-8d7d-4e1b-ab83-9421528e0a2b",
              "key": "recordings/af87683d-8c48-4aea-a4f0-a8b43d8fe639/audio/caller/2c831347-8d7d-4e1b-ab83-9421528e0a2b.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "13cfb915fe51d7b8ec32db1945ceeaa1ec99b83220cb94d63d8a84beb9a802c3"
            },
            "format": "pcm_s16le",
            "sha256": "eeab3e9657f7eabc8f47e5ad41d377e67f06fa055d28bffab162dded029b1f0b",
            "channels": 1,
            "byteLength": 34560,
            "durationMs": 720,
            "sampleRate": 24000
          },
          "speaker": "caller",
          "sessionId": "7de18ddb-028e-45e7-afc5-dba370389511",
          "startedAt": "2026-10-07T14:00:47.023Z",
          "operationId": "1e59d776-cafe-41d0-b07b-0727994df1b6",
          "participantId": "callee"
        },
        "audioId": "2c831347-8d7d-4e1b-ab83-9421528e0a2b",
        "audio": {
          "id": "2c831347-8d7d-4e1b-ab83-9421528e0a2b",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "eeab3e9657f7eabc8f47e5ad41d377e67f06fa055d28bffab162dded029b1f0b",
          "byteLength": 34560,
          "durationMs": 720,
          "bucket": "livekit-node-stage",
          "key": "recordings/af87683d-8c48-4aea-a4f0-a8b43d8fe639/audio/caller/2c831347-8d7d-4e1b-ab83-9421528e0a2b.wav",
          "objectSha256": "13cfb915fe51d7b8ec32db1945ceeaa1ec99b83220cb94d63d8a84beb9a802c3",
          "objectByteLength": 34604,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:00:47.845Z"
        }
      },
      {
        "id": "0296a222-af82-46eb-926a-658738261812",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 29,
        "layer": "CALL",
        "type": "call.participant_left",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:47.873Z",
        "recordedAt": "2026-10-07T14:00:47.878Z",
        "operationId": null,
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "call.participant_left",
          "callId": "af87683d-8c48-4aea-a4f0-a8b43d8fe639",
          "reason": "Agent execution failed",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "e3b7444b-61a0-4233-8cad-d922f216d244",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 30,
        "layer": "CALL",
        "type": "call.failed",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:47.873Z",
        "recordedAt": "2026-10-07T14:00:47.881Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.failed",
          "callId": "af87683d-8c48-4aea-a4f0-a8b43d8fe639",
          "message": "Agent execution failed"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "a88edc9f-3cfe-4a33-8c1b-67da63a963ce",
        "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511",
        "sequence": 31,
        "layer": "DIALOG",
        "type": "dialog.ended",
        "version": 1,
        "occurredAt": "2026-10-07T14:00:47.873Z",
        "recordedAt": "2026-10-07T14:00:47.883Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.ended",
          "callId": "af87683d-8c48-4aea-a4f0-a8b43d8fe639",
          "reason": "Agent execution failed",
          "dialogId": "7de18ddb-028e-45e7-afc5-dba370389511"
        },
        "audioId": null,
        "audio": null
      }
    ]
  }
}