{
  "id": "3dab378f-32a8-4cef-806f-50c4c805f5e7",
  "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
  "number": "+381603022591",
  "direction": "outbound",
  "room": "node-3dab378f-32a8-4cef-806f-50c4c805f5e7",
  "status": "failed",
  "sipCallId": "SCL_F2rf3rkqck2n",
  "sipStatus": "active",
  "createdAt": "2026-10-07T14:48:47.598Z",
  "updatedAt": "2026-10-07T14:49:03.134Z",
  "answeredAt": "2026-10-07T14:48:55.512Z",
  "endedAt": "2026-10-07T14:49:03.131Z",
  "endedReason": "Agent execution failed",
  "dialog": {
    "id": "53d86f39-b6de-47a4-867b-77db8c0f918a",
    "createdAt": "2026-10-07T14:48:47.598Z",
    "initialState": {
      "id": "53d86f39-b6de-47a4-867b-77db8c0f918a",
      "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": "Trenutak, molim.",
                "format": "pcm_s16le",
                "sha256": "dceef26c0337198e0999306a045b0a967ea7bcde697006dd5b2dd0511d4d2fd8",
                "channels": 1,
                "byteLength": 62400,
                "durationMs": 1300,
                "sampleRate": 24000
              },
              "greeting": {
                "text": "Dobar dan, dobro došli u Ајик банку. Ja sam Aki, virtuelna savetnica za proveru stanja na kreditnoj kartici. Kako mogu da Vam pomognem?",
                "format": "pcm_s16le",
                "sha256": "592b2fc9887d9aa23befcf86650ffd3a8d493b59f0fdc4fe5296ff55ac08e8f8",
                "channels": 1,
                "byteLength": 418560,
                "durationMs": 8720,
                "sampleRate": 24000
              }
            },
            "prompts": {
              "system": "Ајик банка. Provera raspoloživog stanja na kreditnoj kartici."
            },
            "latencyCovers": [
              {
                "audioId": "filler",
                "delayMs": 2000
              }
            ]
          },
          "definition": {
            "kind": "code",
            "options": {
              "latencyFiller": true,
              "speechProfile": {
                "speed": 1,
                "stability": 0.8,
                "similarityBoost": 0.8
              },
              "expectedReplyPool": true
            },
            "voicePack": {
              "id": "elevenlabs:oICC5xEEbDGIZC1LVOOM",
              "label": "Aki",
              "model": "eleven_v4_turbo",
              "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": "Ајик банка. Provera raspoloživog stanja na kreditnoj kartici."
            },
            "implementation": {
              "key": "aki",
              "version": "1"
            }
          }
        }
      ],
      "currentSpeakerId": null,
      "awaitingParticipantId": null
    },
    "lastSequence": 31,
    "historyStartedAt": "2026-10-07T14:48:47.598Z",
    "events": [
      {
        "id": "70cedb8a-a255-4889-a6cd-3751d4b12f6d",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 1,
        "layer": "CALL",
        "type": "call.created",
        "version": 1,
        "occurredAt": "2026-10-07T14:48:47.576Z",
        "recordedAt": "2026-10-07T14:48:47.598Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "room": "node-3dab378f-32a8-4cef-806f-50c4c805f5e7",
          "type": "call.created",
          "callId": "3dab378f-32a8-4cef-806f-50c4c805f5e7",
          "number": "+381603022591",
          "direction": "outbound"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "f71c9703-2272-48ca-a3a4-c3406d0ceed3",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 2,
        "layer": "CALL",
        "type": "call.connecting",
        "version": 1,
        "occurredAt": "2026-10-07T14:48:47.576Z",
        "recordedAt": "2026-10-07T14:48:47.598Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.connecting",
          "callId": "3dab378f-32a8-4cef-806f-50c4c805f5e7"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "f0fab32b-5248-42c4-b485-096b83a42fd1",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 3,
        "layer": "DIALOG",
        "type": "dialog.started",
        "version": 1,
        "occurredAt": "2026-10-07T14:48:47.576Z",
        "recordedAt": "2026-10-07T14:48:47.598Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.started",
          "callId": "3dab378f-32a8-4cef-806f-50c4c805f5e7",
          "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "9e787227-4c76-4dd8-8a1d-2a5655a8e0ec",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 4,
        "layer": "CALL",
        "type": "call.sip_status",
        "version": 1,
        "occurredAt": "2026-10-07T14:48:47.855Z",
        "recordedAt": "2026-10-07T14:48:47.866Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.sip_status",
          "callId": "3dab378f-32a8-4cef-806f-50c4c805f5e7",
          "sipCallId": "SCL_F2rf3rkqck2n"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "964d0884-0d71-4787-841e-c669f5d582ce",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 5,
        "layer": "CALL",
        "type": "call.participant_joined",
        "version": 1,
        "occurredAt": "2026-10-07T14:48:47.876Z",
        "recordedAt": "2026-10-07T14:48:47.887Z",
        "operationId": null,
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "call.participant_joined",
          "callId": "3dab378f-32a8-4cef-806f-50c4c805f5e7",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "1ddbbac3-9325-4fef-8e2c-3ca645985c73",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 6,
        "layer": "CALL",
        "type": "call.sip_status",
        "version": 1,
        "occurredAt": "2026-10-07T14:48:47.876Z",
        "recordedAt": "2026-10-07T14:48:47.890Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.sip_status",
          "callId": "3dab378f-32a8-4cef-806f-50c4c805f5e7",
          "sipCallId": "SCL_F2rf3rkqck2n",
          "sipStatus": "dialing"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "34938e48-7d8c-4d17-a4f6-8864379a96fe",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 7,
        "layer": "CALL",
        "type": "call.sip_status",
        "version": 1,
        "occurredAt": "2026-10-07T14:48:52.715Z",
        "recordedAt": "2026-10-07T14:48:52.721Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.sip_status",
          "callId": "3dab378f-32a8-4cef-806f-50c4c805f5e7",
          "sipCallId": "SCL_F2rf3rkqck2n",
          "sipStatus": "ringing"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "ef99f792-b6f2-4ae6-a19c-72930f1f16bb",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 8,
        "layer": "CALL",
        "type": "call.sip_status",
        "version": 1,
        "occurredAt": "2026-10-07T14:48:55.512Z",
        "recordedAt": "2026-10-07T14:48:55.519Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.sip_status",
          "callId": "3dab378f-32a8-4cef-806f-50c4c805f5e7",
          "sipCallId": "SCL_F2rf3rkqck2n",
          "sipStatus": "active"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "d3555ee4-5aa6-42e6-8470-421719e8cd03",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 9,
        "layer": "CALL",
        "type": "call.connected",
        "version": 1,
        "occurredAt": "2026-10-07T14:48:55.512Z",
        "recordedAt": "2026-10-07T14:48:55.522Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.connected",
          "callId": "3dab378f-32a8-4cef-806f-50c4c805f5e7"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "32ec1adb-bb1c-4c98-b749-afd79269b679",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 10,
        "layer": "L1",
        "type": "vtt.started",
        "version": 1,
        "occurredAt": "2026-10-07T14:48:55.815Z",
        "recordedAt": "2026-10-07T14:48:55.847Z",
        "operationId": "0037b87c-10b2-452a-9a66-cc32e7b0840a",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "mode": "live",
          "type": "vtt.started",
          "sessionId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
          "operationId": "0037b87c-10b2-452a-9a66-cc32e7b0840a",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "2659160b-4c7f-4ae0-8bfb-ab9f671d0dac",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 11,
        "layer": "DIALOG",
        "type": "dialog.ready",
        "version": 1,
        "occurredAt": "2026-10-07T14:48:55.846Z",
        "recordedAt": "2026-10-07T14:48:55.858Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.ready",
          "callId": "3dab378f-32a8-4cef-806f-50c4c805f5e7",
          "behavior": {
            "turns": "assertive",
            "greeting": {
              "initiative": "submissive",
              "interruptible": false
            }
          },
          "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "187713fd-c382-4792-ae2e-66780698f542",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 12,
        "layer": "L1",
        "type": "silence.soft",
        "version": 1,
        "occurredAt": "2026-10-07T14:48:56.177Z",
        "recordedAt": "2026-10-07T14:48:56.196Z",
        "operationId": "0037b87c-10b2-452a-9a66-cc32e7b0840a",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "atMs": 370.6425680000011,
          "type": "silence.soft",
          "sessionId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
          "silenceId": "d07522f0-75be-4c68-89c2-565c5ddc7109",
          "durationMs": 352,
          "operationId": "0037b87c-10b2-452a-9a66-cc32e7b0840a",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "a6fe6f2e-061d-4f5e-91ca-4744a658afa9",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 13,
        "layer": "L1",
        "type": "silence.committed",
        "version": 1,
        "occurredAt": "2026-10-07T14:48:56.945Z",
        "recordedAt": "2026-10-07T14:48:56.973Z",
        "operationId": "0037b87c-10b2-452a-9a66-cc32e7b0840a",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "atMs": 1138.6425680000011,
          "type": "silence.committed",
          "sessionId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
          "silenceId": "d07522f0-75be-4c68-89c2-565c5ddc7109",
          "durationMs": 1120,
          "operationId": "0037b87c-10b2-452a-9a66-cc32e7b0840a",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "bf2580cd-5205-40ef-8706-4e0c034f9483",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 14,
        "layer": "L1",
        "type": "silence.opening",
        "version": 1,
        "occurredAt": "2026-10-07T14:48:57.041Z",
        "recordedAt": "2026-10-07T14:48:57.051Z",
        "operationId": "0037b87c-10b2-452a-9a66-cc32e7b0840a",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "atMs": 1234.6425680000011,
          "type": "silence.opening",
          "sessionId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
          "silenceId": "d07522f0-75be-4c68-89c2-565c5ddc7109",
          "durationMs": 1216,
          "operationId": "0037b87c-10b2-452a-9a66-cc32e7b0840a",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "37f15042-043c-481c-9b97-f7c1b2aaa782",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 15,
        "layer": "DIALOG",
        "type": "dialog.turn.started",
        "version": 1,
        "occurredAt": "2026-10-07T14:48:57.045Z",
        "recordedAt": "2026-10-07T14:48:57.059Z",
        "operationId": null,
        "turnId": "c6a55d94-5996-4b7d-8d0e-622577d8acde",
        "participantId": "agent",
        "payload": {
          "kind": "greeting",
          "text": "Dobar dan, dobro došli u Ајик банку. Ja sam Aki, virtuelna savetnica za proveru stanja na kreditnoj kartici. Kako mogu da Vam pomognem?",
          "type": "dialog.turn.started",
          "callId": "3dab378f-32a8-4cef-806f-50c4c805f5e7",
          "turnId": "c6a55d94-5996-4b7d-8d0e-622577d8acde",
          "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "453c8ae2-99cd-48d9-8f74-3ccd491d13e6",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 16,
        "layer": "L1",
        "type": "audio.playback.started",
        "version": 1,
        "occurredAt": "2026-10-07T14:48:57.063Z",
        "recordedAt": "2026-10-07T14:48:57.067Z",
        "operationId": "74a72681-0a08-4514-8052-58bc6d723d3b",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.playback.started",
          "audio": {
            "text": "Dobar dan, dobro došli u Ајик банку. Ja sam Aki, virtuelna savetnica za proveru stanja na kreditnoj kartici. Kako mogu da Vam pomognem?",
            "format": "pcm_s16le",
            "sha256": "592b2fc9887d9aa23befcf86650ffd3a8d493b59f0fdc4fe5296ff55ac08e8f8",
            "channels": 1,
            "byteLength": 418560,
            "durationMs": 8720,
            "sampleRate": 24000
          },
          "sessionId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
          "operationId": "74a72681-0a08-4514-8052-58bc6d723d3b",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "4e033d47-8e4b-42fb-990e-4b4ecfc7b6e4",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 17,
        "layer": "L1",
        "type": "audio.playback.first_frame",
        "version": 1,
        "occurredAt": "2026-10-07T14:48:57.072Z",
        "recordedAt": "2026-10-07T14:48:57.079Z",
        "operationId": "74a72681-0a08-4514-8052-58bc6d723d3b",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.playback.first_frame",
          "sessionId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
          "operationId": "74a72681-0a08-4514-8052-58bc6d723d3b",
          "firstFrameAt": "2026-10-07T14:48:57.071Z",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "ec892990-c628-4641-874d-6dbc205bfd78",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 18,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:48:57.885Z",
        "recordedAt": "2026-10-07T14:48:57.893Z",
        "operationId": "0037b87c-10b2-452a-9a66-cc32e7b0840a",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "739229a5-b3fc-429f-8ef5-837d93623596",
              "key": "recordings/3dab378f-32a8-4cef-806f-50c4c805f5e7/audio/caller/739229a5-b3fc-429f-8ef5-837d93623596.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "aec90e565a437a7a4ccf5640301bae4685308d155fa02ca3cfb5349998d7c0f5"
            },
            "format": "pcm_s16le",
            "sha256": "c9b869575fae4cbcc791cd83f47199fde899c0a79d3f5c69153833d56f3c840d",
            "channels": 1,
            "byteLength": 96000,
            "durationMs": 2000,
            "sampleRate": 24000
          },
          "speaker": "caller",
          "sessionId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
          "startedAt": "2026-10-07T14:48:55.825Z",
          "operationId": "0037b87c-10b2-452a-9a66-cc32e7b0840a",
          "participantId": "callee"
        },
        "audioId": "739229a5-b3fc-429f-8ef5-837d93623596",
        "audio": {
          "id": "739229a5-b3fc-429f-8ef5-837d93623596",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "c9b869575fae4cbcc791cd83f47199fde899c0a79d3f5c69153833d56f3c840d",
          "byteLength": 96000,
          "durationMs": 2000,
          "bucket": "livekit-node-stage",
          "key": "recordings/3dab378f-32a8-4cef-806f-50c4c805f5e7/audio/caller/739229a5-b3fc-429f-8ef5-837d93623596.wav",
          "objectSha256": "aec90e565a437a7a4ccf5640301bae4685308d155fa02ca3cfb5349998d7c0f5",
          "objectByteLength": 96044,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:48:57.825Z"
        }
      },
      {
        "id": "35bcb00f-7463-4c6c-84c4-bb7e480b6534",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 19,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:48:59.126Z",
        "recordedAt": "2026-10-07T14:48:59.132Z",
        "operationId": "74a72681-0a08-4514-8052-58bc6d723d3b",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "c8015172-071c-4392-bc4c-4bbca0ae59a9",
              "key": "recordings/3dab378f-32a8-4cef-806f-50c4c805f5e7/audio/agent/c8015172-071c-4392-bc4c-4bbca0ae59a9.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "48914d4e11763dca520fbd900ebf964601626c3ddd31b8312904f1acb3ee81b8"
            },
            "format": "pcm_s16le",
            "sha256": "44c2cd69483c2616a9c9ba21877db3ecd861dcc673b1375d8d8b88fae734ff09",
            "channels": 1,
            "byteLength": 96000,
            "durationMs": 2000,
            "sampleRate": 24000
          },
          "speaker": "agent",
          "sessionId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
          "startedAt": "2026-10-07T14:48:57.071Z",
          "operationId": "74a72681-0a08-4514-8052-58bc6d723d3b",
          "participantId": "agent"
        },
        "audioId": "c8015172-071c-4392-bc4c-4bbca0ae59a9",
        "audio": {
          "id": "c8015172-071c-4392-bc4c-4bbca0ae59a9",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "44c2cd69483c2616a9c9ba21877db3ecd861dcc673b1375d8d8b88fae734ff09",
          "byteLength": 96000,
          "durationMs": 2000,
          "bucket": "livekit-node-stage",
          "key": "recordings/3dab378f-32a8-4cef-806f-50c4c805f5e7/audio/agent/c8015172-071c-4392-bc4c-4bbca0ae59a9.wav",
          "objectSha256": "48914d4e11763dca520fbd900ebf964601626c3ddd31b8312904f1acb3ee81b8",
          "objectByteLength": 96044,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:48:59.110Z"
        }
      },
      {
        "id": "94044dda-51c3-49c4-aac0-37b46d263ac5",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 20,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:48:59.840Z",
        "recordedAt": "2026-10-07T14:48:59.847Z",
        "operationId": "0037b87c-10b2-452a-9a66-cc32e7b0840a",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "fe155954-61c0-4432-b518-2f2f44d7f24d",
              "key": "recordings/3dab378f-32a8-4cef-806f-50c4c805f5e7/audio/caller/fe155954-61c0-4432-b518-2f2f44d7f24d.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "0329b41bbca2561c347801a28c5be0c6ae66878a5a8d7b18b52f929970ce4663"
            },
            "format": "pcm_s16le",
            "sha256": "877611841ce3b7c4ad461e6af6e17615560701f604b8fb428034be46025e026c",
            "channels": 1,
            "byteLength": 96000,
            "durationMs": 2000,
            "sampleRate": 24000
          },
          "speaker": "caller",
          "sessionId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
          "startedAt": "2026-10-07T14:48:57.841Z",
          "operationId": "0037b87c-10b2-452a-9a66-cc32e7b0840a",
          "participantId": "callee"
        },
        "audioId": "fe155954-61c0-4432-b518-2f2f44d7f24d",
        "audio": {
          "id": "fe155954-61c0-4432-b518-2f2f44d7f24d",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "877611841ce3b7c4ad461e6af6e17615560701f604b8fb428034be46025e026c",
          "byteLength": 96000,
          "durationMs": 2000,
          "bucket": "livekit-node-stage",
          "key": "recordings/3dab378f-32a8-4cef-806f-50c4c805f5e7/audio/caller/fe155954-61c0-4432-b518-2f2f44d7f24d.wav",
          "objectSha256": "0329b41bbca2561c347801a28c5be0c6ae66878a5a8d7b18b52f929970ce4663",
          "objectByteLength": 96044,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:48:59.824Z"
        }
      },
      {
        "id": "80ca9fe3-7129-4577-bbd8-acee99c3fa6d",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 21,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:49:01.131Z",
        "recordedAt": "2026-10-07T14:49:01.139Z",
        "operationId": "74a72681-0a08-4514-8052-58bc6d723d3b",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "097e6264-2297-4c4b-a5b8-f7b5681ebb88",
              "key": "recordings/3dab378f-32a8-4cef-806f-50c4c805f5e7/audio/agent/097e6264-2297-4c4b-a5b8-f7b5681ebb88.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "0a75382e24146766e7ff35f39dfba65a454f3ce27be6e055f0f53664df3de930"
            },
            "format": "pcm_s16le",
            "sha256": "da731b16fed49a9c13ac38ac399c1478d679aa17323aafb3f2778cad67f9e60a",
            "channels": 1,
            "byteLength": 96000,
            "durationMs": 2000,
            "sampleRate": 24000
          },
          "speaker": "agent",
          "sessionId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
          "startedAt": "2026-10-07T14:48:59.071Z",
          "operationId": "74a72681-0a08-4514-8052-58bc6d723d3b",
          "participantId": "agent"
        },
        "audioId": "097e6264-2297-4c4b-a5b8-f7b5681ebb88",
        "audio": {
          "id": "097e6264-2297-4c4b-a5b8-f7b5681ebb88",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "da731b16fed49a9c13ac38ac399c1478d679aa17323aafb3f2778cad67f9e60a",
          "byteLength": 96000,
          "durationMs": 2000,
          "bucket": "livekit-node-stage",
          "key": "recordings/3dab378f-32a8-4cef-806f-50c4c805f5e7/audio/agent/097e6264-2297-4c4b-a5b8-f7b5681ebb88.wav",
          "objectSha256": "0a75382e24146766e7ff35f39dfba65a454f3ce27be6e055f0f53664df3de930",
          "objectByteLength": 96044,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:49:01.110Z"
        }
      },
      {
        "id": "050c71b7-c50b-4622-83c1-08fe358d595a",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 22,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:49:01.840Z",
        "recordedAt": "2026-10-07T14:49:01.846Z",
        "operationId": "0037b87c-10b2-452a-9a66-cc32e7b0840a",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "81c56c20-086e-441d-b181-26e20f29ddbd",
              "key": "recordings/3dab378f-32a8-4cef-806f-50c4c805f5e7/audio/caller/81c56c20-086e-441d-b181-26e20f29ddbd.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "4f5342c7a9f20aa3eed225f6d4c6c92574c4c64d9bd0f3cc1ba9c1952d8fc362"
            },
            "format": "pcm_s16le",
            "sha256": "ec98d5d935d525cdfed9592cc457192491df9f59f4dac6495d6971dd074065b1",
            "channels": 1,
            "byteLength": 96000,
            "durationMs": 2000,
            "sampleRate": 24000
          },
          "speaker": "caller",
          "sessionId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
          "startedAt": "2026-10-07T14:48:59.841Z",
          "operationId": "0037b87c-10b2-452a-9a66-cc32e7b0840a",
          "participantId": "callee"
        },
        "audioId": "81c56c20-086e-441d-b181-26e20f29ddbd",
        "audio": {
          "id": "81c56c20-086e-441d-b181-26e20f29ddbd",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "ec98d5d935d525cdfed9592cc457192491df9f59f4dac6495d6971dd074065b1",
          "byteLength": 96000,
          "durationMs": 2000,
          "bucket": "livekit-node-stage",
          "key": "recordings/3dab378f-32a8-4cef-806f-50c4c805f5e7/audio/caller/81c56c20-086e-441d-b181-26e20f29ddbd.wav",
          "objectSha256": "4f5342c7a9f20aa3eed225f6d4c6c92574c4c64d9bd0f3cc1ba9c1952d8fc362",
          "objectByteLength": 96044,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:49:01.824Z"
        }
      },
      {
        "id": "eccbbfed-f614-46e8-a863-eb4568588c88",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 23,
        "layer": "L1",
        "type": "audio.playback.failed",
        "version": 1,
        "occurredAt": "2026-10-07T14:49:02.992Z",
        "recordedAt": "2026-10-07T14:49:03.002Z",
        "operationId": "74a72681-0a08-4514-8052-58bc6d723d3b",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.playback.failed",
          "message": "Caller audio track ended.",
          "sessionId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
          "operationId": "74a72681-0a08-4514-8052-58bc6d723d3b",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "c33ff641-4f22-40f7-b38f-e0f395883b74",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 24,
        "layer": "DIALOG",
        "type": "dialog.goal.started",
        "version": 1,
        "occurredAt": "2026-10-07T14:49:03.006Z",
        "recordedAt": "2026-10-07T14:49:03.012Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "name": "Credit card balance",
          "type": "dialog.goal.started",
          "callId": "3dab378f-32a8-4cef-806f-50c4c805f5e7",
          "goalId": "aki.balance",
          "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
          "goalIndex": 0
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "264026fe-7e19-4912-8faf-218bacd0e84e",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 25,
        "layer": "DIALOG",
        "type": "dialog.agent.state",
        "version": 1,
        "occurredAt": "2026-10-07T14:49:03.018Z",
        "recordedAt": "2026-10-07T14:49:03.027Z",
        "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": "3dab378f-32a8-4cef-806f-50c4c805f5e7",
          "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
          "implementation": "aki@1"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "3add4781-65fd-416c-893d-47b7e33f4a6c",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 26,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:49:03.043Z",
        "recordedAt": "2026-10-07T14:49:03.051Z",
        "operationId": "74a72681-0a08-4514-8052-58bc6d723d3b",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "ea438ffb-bf6e-4cdb-8cf5-6674f99196f7",
              "key": "recordings/3dab378f-32a8-4cef-806f-50c4c805f5e7/audio/agent/ea438ffb-bf6e-4cdb-8cf5-6674f99196f7.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "42c365c57019d39b441f7cd649c421097e248691f04e7229ec167c6526344783"
            },
            "format": "pcm_s16le",
            "sha256": "e8dd76334030754951d9487ceb6a282f335d56219bb12f849cf712ddcecf1d19",
            "channels": 1,
            "byteLength": 92286,
            "durationMs": 1922.625,
            "sampleRate": 24000
          },
          "speaker": "agent",
          "sessionId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
          "startedAt": "2026-10-07T14:49:01.071Z",
          "operationId": "74a72681-0a08-4514-8052-58bc6d723d3b",
          "participantId": "agent"
        },
        "audioId": "ea438ffb-bf6e-4cdb-8cf5-6674f99196f7",
        "audio": {
          "id": "ea438ffb-bf6e-4cdb-8cf5-6674f99196f7",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "e8dd76334030754951d9487ceb6a282f335d56219bb12f849cf712ddcecf1d19",
          "byteLength": 92286,
          "durationMs": 1922.625,
          "bucket": "livekit-node-stage",
          "key": "recordings/3dab378f-32a8-4cef-806f-50c4c805f5e7/audio/agent/ea438ffb-bf6e-4cdb-8cf5-6674f99196f7.wav",
          "objectSha256": "42c365c57019d39b441f7cd649c421097e248691f04e7229ec167c6526344783",
          "objectByteLength": 92330,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:49:03.005Z"
        }
      },
      {
        "id": "47f1fbf9-03bd-47cb-b4dc-0bf5b2829319",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 27,
        "layer": "L1",
        "type": "vtt.failed",
        "version": 1,
        "occurredAt": "2026-10-07T14:49:03.098Z",
        "recordedAt": "2026-10-07T14:49:03.103Z",
        "operationId": "0037b87c-10b2-452a-9a66-cc32e7b0840a",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "vtt.failed",
          "message": "No audio received.",
          "sessionId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
          "operationId": "0037b87c-10b2-452a-9a66-cc32e7b0840a",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "669c4be3-ad0a-461e-b3a7-a8e6c3bc9735",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 28,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:49:03.117Z",
        "recordedAt": "2026-10-07T14:49:03.122Z",
        "operationId": "0037b87c-10b2-452a-9a66-cc32e7b0840a",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "ad262441-1ff0-4bcc-8b6f-f0545ac96663",
              "key": "recordings/3dab378f-32a8-4cef-806f-50c4c805f5e7/audio/caller/ad262441-1ff0-4bcc-8b6f-f0545ac96663.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "c4d37e82b174e111598340d649bc95d66cee9b7fc8262a96ea151aa744b17e78"
            },
            "format": "pcm_s16le",
            "sha256": "95494418154d9400d15fd7350609db6fb7f2917a95f8df328358659efacf107d",
            "channels": 1,
            "byteLength": 55680,
            "durationMs": 1160,
            "sampleRate": 24000
          },
          "speaker": "caller",
          "sessionId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
          "startedAt": "2026-10-07T14:49:01.841Z",
          "operationId": "0037b87c-10b2-452a-9a66-cc32e7b0840a",
          "participantId": "callee"
        },
        "audioId": "ad262441-1ff0-4bcc-8b6f-f0545ac96663",
        "audio": {
          "id": "ad262441-1ff0-4bcc-8b6f-f0545ac96663",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "95494418154d9400d15fd7350609db6fb7f2917a95f8df328358659efacf107d",
          "byteLength": 55680,
          "durationMs": 1160,
          "bucket": "livekit-node-stage",
          "key": "recordings/3dab378f-32a8-4cef-806f-50c4c805f5e7/audio/caller/ad262441-1ff0-4bcc-8b6f-f0545ac96663.wav",
          "objectSha256": "c4d37e82b174e111598340d649bc95d66cee9b7fc8262a96ea151aa744b17e78",
          "objectByteLength": 55724,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:49:03.106Z"
        }
      },
      {
        "id": "fe55b5b0-a00d-43c7-94b6-aa6e6ce20ac1",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 29,
        "layer": "CALL",
        "type": "call.participant_left",
        "version": 1,
        "occurredAt": "2026-10-07T14:49:03.131Z",
        "recordedAt": "2026-10-07T14:49:03.137Z",
        "operationId": null,
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "call.participant_left",
          "callId": "3dab378f-32a8-4cef-806f-50c4c805f5e7",
          "reason": "Agent execution failed",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "fca1194c-5e21-486a-a1bf-4cde4a98c9a5",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 30,
        "layer": "CALL",
        "type": "call.failed",
        "version": 1,
        "occurredAt": "2026-10-07T14:49:03.131Z",
        "recordedAt": "2026-10-07T14:49:03.139Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.failed",
          "callId": "3dab378f-32a8-4cef-806f-50c4c805f5e7",
          "message": "Agent execution failed"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "23ccc5b5-3f27-4643-a290-60180e844298",
        "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a",
        "sequence": 31,
        "layer": "DIALOG",
        "type": "dialog.ended",
        "version": 1,
        "occurredAt": "2026-10-07T14:49:03.131Z",
        "recordedAt": "2026-10-07T14:49:03.142Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.ended",
          "callId": "3dab378f-32a8-4cef-806f-50c4c805f5e7",
          "reason": "Agent execution failed",
          "dialogId": "53d86f39-b6de-47a4-867b-77db8c0f918a"
        },
        "audioId": null,
        "audio": null
      }
    ]
  }
}