{
  "id": "4921e359-0ec1-45c0-b09d-656109079760",
  "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
  "number": "+381603022591",
  "direction": "inbound",
  "room": "phone-_+381603022591_87Y7APUtqhfd",
  "status": "failed",
  "sipCallId": "SCL_HSGuiGQFF5a9",
  "sipStatus": "active",
  "createdAt": "2026-10-07T14:04:03.938Z",
  "updatedAt": "2026-10-07T14:04:17.431Z",
  "answeredAt": "2026-10-07T14:04:05.396Z",
  "endedAt": "2026-10-07T14:04:17.428Z",
  "endedReason": "Agent execution failed",
  "dialog": {
    "id": "4f164013-20f8-42df-b36e-dad211334e64",
    "createdAt": "2026-10-07T14:04:03.938Z",
    "initialState": {
      "id": "4f164013-20f8-42df-b36e-dad211334e64",
      "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": "agent:Aki",
            "name": "Aki",
            "audios": {
              "filler": {
                "text": "Samo trenutak.",
                "format": "pcm_s16le",
                "sha256": "f0b3482c348b12998a5d4aad7df53bdb540d73db126e1066e63724be98e4139a",
                "channels": 1,
                "byteLength": 60480,
                "durationMs": 1260,
                "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": "9462f3557f8584982a7da9605cadf3deeda850587ee5c1ff51946d75ced8af74",
                "channels": 1,
                "byteLength": 426240,
                "durationMs": 8880,
                "sampleRate": 24000
              }
            },
            "prompts": {
              "system": "Ајик банка. Provera raspoloživog stanja na kreditnoj kartici."
            },
            "latencyCovers": [
              {
                "audioId": "filler",
                "delayMs": 900
              }
            ]
          },
          "definition": {
            "kind": "code",
            "options": {},
            "voicePack": {
              "id": "elevenlabs:oICC5xEEbDGIZC1LVOOM",
              "label": "Aki",
              "model": "eleven_v4",
              "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": 52,
    "historyStartedAt": "2026-10-07T14:04:03.938Z",
    "events": [
      {
        "id": "d652cee5-05f8-4ef6-8f67-ef461d5f6089",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 1,
        "layer": "CALL",
        "type": "call.created",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:03.812Z",
        "recordedAt": "2026-10-07T14:04:03.938Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "room": "phone-_+381603022591_87Y7APUtqhfd",
          "type": "call.created",
          "callId": "4921e359-0ec1-45c0-b09d-656109079760",
          "number": "+381603022591",
          "direction": "inbound"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "42b71392-e20f-43b9-b62f-bc2ecdc28fd1",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 2,
        "layer": "CALL",
        "type": "call.connecting",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:03.812Z",
        "recordedAt": "2026-10-07T14:04:03.938Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.connecting",
          "callId": "4921e359-0ec1-45c0-b09d-656109079760"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "bdc62d54-9b6e-40d0-b3d6-18678c92abdf",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 3,
        "layer": "DIALOG",
        "type": "dialog.started",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:03.812Z",
        "recordedAt": "2026-10-07T14:04:03.938Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.started",
          "callId": "4921e359-0ec1-45c0-b09d-656109079760",
          "dialogId": "4f164013-20f8-42df-b36e-dad211334e64"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "718c4963-e2aa-4db4-a238-94de8eeea9f0",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 4,
        "layer": "CALL",
        "type": "call.participant_joined",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:03.983Z",
        "recordedAt": "2026-10-07T14:04:03.999Z",
        "operationId": null,
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "call.participant_joined",
          "callId": "4921e359-0ec1-45c0-b09d-656109079760",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "74d578d6-cb63-4bb1-bef3-09bceca1184b",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 5,
        "layer": "CALL",
        "type": "call.sip_status",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:03.983Z",
        "recordedAt": "2026-10-07T14:04:04.006Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.sip_status",
          "callId": "4921e359-0ec1-45c0-b09d-656109079760",
          "sipCallId": "SCL_HSGuiGQFF5a9",
          "sipStatus": "ringing"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "faf78f16-91d1-45ca-b717-511b31292dd4",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 6,
        "layer": "CALL",
        "type": "call.sip_status",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:05.396Z",
        "recordedAt": "2026-10-07T14:04:05.405Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.sip_status",
          "callId": "4921e359-0ec1-45c0-b09d-656109079760",
          "sipCallId": "SCL_HSGuiGQFF5a9",
          "sipStatus": "active"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "6ddf35fc-e772-45ba-8258-43bc2c85283e",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 7,
        "layer": "CALL",
        "type": "call.connected",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:05.396Z",
        "recordedAt": "2026-10-07T14:04:05.408Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.connected",
          "callId": "4921e359-0ec1-45c0-b09d-656109079760"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "935d26ab-553e-4752-b7e2-1b500bf0d4a6",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 8,
        "layer": "L1",
        "type": "vtt.started",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:05.412Z",
        "recordedAt": "2026-10-07T14:04:05.432Z",
        "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "mode": "live",
          "type": "vtt.started",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "1a7d0a62-4cb3-4f6a-974b-43d443a0cdda",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 9,
        "layer": "DIALOG",
        "type": "dialog.ready",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:05.440Z",
        "recordedAt": "2026-10-07T14:04:05.447Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.ready",
          "callId": "4921e359-0ec1-45c0-b09d-656109079760",
          "behavior": {
            "turns": "assertive",
            "greeting": {
              "initiative": "submissive",
              "interruptible": false
            }
          },
          "dialogId": "4f164013-20f8-42df-b36e-dad211334e64"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "06e57972-d17f-4d48-8f5d-0c6515d13ebb",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 10,
        "layer": "L1",
        "type": "silence.soft",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:05.771Z",
        "recordedAt": "2026-10-07T14:04:05.786Z",
        "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "atMs": 662.4062789999998,
          "type": "silence.soft",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "silenceId": "33383e09-787c-489c-b5cb-77b3fbe2b863",
          "durationMs": 352,
          "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "e27d30c6-9b21-4744-b1a4-2fd035f4e313",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 11,
        "layer": "L1",
        "type": "silence.committed",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:06.539Z",
        "recordedAt": "2026-10-07T14:04:06.566Z",
        "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "atMs": 1430.4062789999998,
          "type": "silence.committed",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "silenceId": "33383e09-787c-489c-b5cb-77b3fbe2b863",
          "durationMs": 1120,
          "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "6a1bd9ae-6a27-46ef-8994-e205f94c935c",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 12,
        "layer": "L1",
        "type": "silence.opening",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:06.635Z",
        "recordedAt": "2026-10-07T14:04:06.645Z",
        "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "atMs": 1526.4062789999998,
          "type": "silence.opening",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "silenceId": "33383e09-787c-489c-b5cb-77b3fbe2b863",
          "durationMs": 1216,
          "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "573e6d69-db50-4a59-b9f7-ffbbc08fe31b",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 13,
        "layer": "DIALOG",
        "type": "dialog.turn.started",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:06.640Z",
        "recordedAt": "2026-10-07T14:04:06.652Z",
        "operationId": null,
        "turnId": "f242b4d3-eedb-4d53-b429-24807f813dc8",
        "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": "4921e359-0ec1-45c0-b09d-656109079760",
          "turnId": "f242b4d3-eedb-4d53-b429-24807f813dc8",
          "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "097a911d-a00a-4d7e-9ba1-15bcad57c3c6",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 14,
        "layer": "L1",
        "type": "audio.playback.started",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:06.656Z",
        "recordedAt": "2026-10-07T14:04:06.660Z",
        "operationId": "cd5b8e05-fc1d-42c6-b8e3-4296ede48881",
        "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": "9462f3557f8584982a7da9605cadf3deeda850587ee5c1ff51946d75ced8af74",
            "channels": 1,
            "byteLength": 426240,
            "durationMs": 8880,
            "sampleRate": 24000
          },
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "operationId": "cd5b8e05-fc1d-42c6-b8e3-4296ede48881",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "4b186eea-b4c2-47ad-89ba-b11c0c81d8cd",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 15,
        "layer": "L1",
        "type": "audio.playback.first_frame",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:06.666Z",
        "recordedAt": "2026-10-07T14:04:06.674Z",
        "operationId": "cd5b8e05-fc1d-42c6-b8e3-4296ede48881",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.playback.first_frame",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "operationId": "cd5b8e05-fc1d-42c6-b8e3-4296ede48881",
          "firstFrameAt": "2026-10-07T14:04:06.664Z",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "cf4fa658-b43c-402d-bf0b-3ac76b39c3ba",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 16,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:07.489Z",
        "recordedAt": "2026-10-07T14:04:07.497Z",
        "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "670ca6f5-8d90-4cad-8244-4585075cec95",
              "key": "recordings/4921e359-0ec1-45c0-b09d-656109079760/audio/caller/670ca6f5-8d90-4cad-8244-4585075cec95.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "fa757e6bc6dfe773625ef078834c52e30ea5814dbf3b2ecd9802be9a0fad4f8c"
            },
            "format": "pcm_s16le",
            "sha256": "59418e41dbe1aa45c9682c2afea36c9fa87c834b197377b5a73e842c10bb4e7b",
            "channels": 1,
            "byteLength": 96000,
            "durationMs": 2000,
            "sampleRate": 24000
          },
          "speaker": "caller",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "startedAt": "2026-10-07T14:04:05.419Z",
          "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
          "participantId": "callee"
        },
        "audioId": "670ca6f5-8d90-4cad-8244-4585075cec95",
        "audio": {
          "id": "670ca6f5-8d90-4cad-8244-4585075cec95",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "59418e41dbe1aa45c9682c2afea36c9fa87c834b197377b5a73e842c10bb4e7b",
          "byteLength": 96000,
          "durationMs": 2000,
          "bucket": "livekit-node-stage",
          "key": "recordings/4921e359-0ec1-45c0-b09d-656109079760/audio/caller/670ca6f5-8d90-4cad-8244-4585075cec95.wav",
          "objectSha256": "fa757e6bc6dfe773625ef078834c52e30ea5814dbf3b2ecd9802be9a0fad4f8c",
          "objectByteLength": 96044,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:04:07.420Z"
        }
      },
      {
        "id": "4d8d2854-5807-4536-86ab-c477990e798c",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 17,
        "layer": "L1",
        "type": "speech.started",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:07.596Z",
        "recordedAt": "2026-10-07T14:04:07.689Z",
        "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "atMs": 2487.8925520000003,
          "type": "speech.started",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "57564879-daef-4e87-ba45-fdf8cc1af1b5",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 18,
        "layer": "L1",
        "type": "speech.stopped",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:07.724Z",
        "recordedAt": "2026-10-07T14:04:07.845Z",
        "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "atMs": 2615.8925520000003,
          "type": "speech.stopped",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "silenceId": "b95f0d8e-4b82-48d1-bae3-a05d460c9afd",
          "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "a1881174-1794-4eb0-8855-dc19c62eb5e7",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 19,
        "layer": "L1",
        "type": "silence.soft",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:08.076Z",
        "recordedAt": "2026-10-07T14:04:08.088Z",
        "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "atMs": 2967.8925520000003,
          "type": "silence.soft",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "silenceId": "b95f0d8e-4b82-48d1-bae3-a05d460c9afd",
          "durationMs": 352,
          "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "28a9682a-c69c-42ac-bcf8-4fe56dd5547f",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 20,
        "layer": "L1",
        "type": "vtt.transcript.delta",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:08.247Z",
        "recordedAt": "2026-10-07T14:04:08.253Z",
        "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
        "turnId": "4c332a37-7794-4b77-889e-da4add920a55",
        "participantId": "callee",
        "payload": {
          "text": "Dobro.",
          "type": "vtt.transcript.delta",
          "turnId": "4c332a37-7794-4b77-889e-da4add920a55",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "2edb661b-f059-43bf-b7f0-55ba8c72d70e",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 21,
        "layer": "L1",
        "type": "vtt.transcript.completed",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:08.255Z",
        "recordedAt": "2026-10-07T14:04:08.258Z",
        "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
        "turnId": "4c332a37-7794-4b77-889e-da4add920a55",
        "participantId": "callee",
        "payload": {
          "text": "Dobro.",
          "type": "vtt.transcript.completed",
          "turnId": "4c332a37-7794-4b77-889e-da4add920a55",
          "endedAt": "2026-10-07T14:04:07.724Z",
          "segmentId": "d0d1a515-a4ff-4e93-bab6-88e2e2b1cc93",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "startedAt": "2026-10-07T14:04:07.596Z",
          "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "ad7c2fe8-6ff3-466e-ad45-d7301c8f8fec",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 22,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:08.722Z",
        "recordedAt": "2026-10-07T14:04:08.728Z",
        "operationId": "cd5b8e05-fc1d-42c6-b8e3-4296ede48881",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "ba2040bc-9083-4447-ac8e-6f1936516427",
              "key": "recordings/4921e359-0ec1-45c0-b09d-656109079760/audio/agent/ba2040bc-9083-4447-ac8e-6f1936516427.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "f2edeef5377d901daac1966c30dd5602fe9a8823c96484f081a4a1cee2e64e75"
            },
            "format": "pcm_s16le",
            "sha256": "6b166b125a085c07da72c51e090279a640cc1e9243848ea6e52043f9ce4ad242",
            "channels": 1,
            "byteLength": 96000,
            "durationMs": 2000,
            "sampleRate": 24000
          },
          "speaker": "agent",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "startedAt": "2026-10-07T14:04:06.664Z",
          "operationId": "cd5b8e05-fc1d-42c6-b8e3-4296ede48881",
          "participantId": "agent"
        },
        "audioId": "ba2040bc-9083-4447-ac8e-6f1936516427",
        "audio": {
          "id": "ba2040bc-9083-4447-ac8e-6f1936516427",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "6b166b125a085c07da72c51e090279a640cc1e9243848ea6e52043f9ce4ad242",
          "byteLength": 96000,
          "durationMs": 2000,
          "bucket": "livekit-node-stage",
          "key": "recordings/4921e359-0ec1-45c0-b09d-656109079760/audio/agent/ba2040bc-9083-4447-ac8e-6f1936516427.wav",
          "objectSha256": "f2edeef5377d901daac1966c30dd5602fe9a8823c96484f081a4a1cee2e64e75",
          "objectByteLength": 96044,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:04:08.702Z"
        }
      },
      {
        "id": "130681b9-70b0-4c5e-91a0-3d362a030648",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 23,
        "layer": "L1",
        "type": "silence.committed",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:08.844Z",
        "recordedAt": "2026-10-07T14:04:08.866Z",
        "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "atMs": 3735.8925520000003,
          "type": "silence.committed",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "silenceId": "b95f0d8e-4b82-48d1-bae3-a05d460c9afd",
          "durationMs": 1120,
          "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "da943be9-9bf7-485c-bbb3-366d7c07cbb3",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 24,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:09.437Z",
        "recordedAt": "2026-10-07T14:04:09.445Z",
        "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "ac81d9d6-3715-4090-a494-8a5205dc7c45",
              "key": "recordings/4921e359-0ec1-45c0-b09d-656109079760/audio/caller/ac81d9d6-3715-4090-a494-8a5205dc7c45.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "301bf097d3bdd594630293118c9ff6a74100b6e28da8c1995478dcc8dcc3b4a0"
            },
            "format": "pcm_s16le",
            "sha256": "c6084d8c8e6f7d74df3c3e2326a8e039f9834b42862cf3425dd971529d80c3b3",
            "channels": 1,
            "byteLength": 96000,
            "durationMs": 2000,
            "sampleRate": 24000
          },
          "speaker": "caller",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "startedAt": "2026-10-07T14:04:07.420Z",
          "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
          "participantId": "callee"
        },
        "audioId": "ac81d9d6-3715-4090-a494-8a5205dc7c45",
        "audio": {
          "id": "ac81d9d6-3715-4090-a494-8a5205dc7c45",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "c6084d8c8e6f7d74df3c3e2326a8e039f9834b42862cf3425dd971529d80c3b3",
          "byteLength": 96000,
          "durationMs": 2000,
          "bucket": "livekit-node-stage",
          "key": "recordings/4921e359-0ec1-45c0-b09d-656109079760/audio/caller/ac81d9d6-3715-4090-a494-8a5205dc7c45.wav",
          "objectSha256": "301bf097d3bdd594630293118c9ff6a74100b6e28da8c1995478dcc8dcc3b4a0",
          "objectByteLength": 96044,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:04:09.419Z"
        }
      },
      {
        "id": "0951b61a-409b-4f20-b2d3-bea02bbbf840",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 25,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:10.718Z",
        "recordedAt": "2026-10-07T14:04:10.725Z",
        "operationId": "cd5b8e05-fc1d-42c6-b8e3-4296ede48881",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "51c9ba2d-c507-42f0-9e33-462a91451f5f",
              "key": "recordings/4921e359-0ec1-45c0-b09d-656109079760/audio/agent/51c9ba2d-c507-42f0-9e33-462a91451f5f.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "e7049959bc8d3af069b4e8073ed9e3a30b12215141953d1b428ed17a8ee5da99"
            },
            "format": "pcm_s16le",
            "sha256": "66e642850cc91386d9fadd71b7a87922ab5acaacb585e24397159c3444570c1d",
            "channels": 1,
            "byteLength": 96000,
            "durationMs": 2000,
            "sampleRate": 24000
          },
          "speaker": "agent",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "startedAt": "2026-10-07T14:04:08.664Z",
          "operationId": "cd5b8e05-fc1d-42c6-b8e3-4296ede48881",
          "participantId": "agent"
        },
        "audioId": "51c9ba2d-c507-42f0-9e33-462a91451f5f",
        "audio": {
          "id": "51c9ba2d-c507-42f0-9e33-462a91451f5f",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "66e642850cc91386d9fadd71b7a87922ab5acaacb585e24397159c3444570c1d",
          "byteLength": 96000,
          "durationMs": 2000,
          "bucket": "livekit-node-stage",
          "key": "recordings/4921e359-0ec1-45c0-b09d-656109079760/audio/agent/51c9ba2d-c507-42f0-9e33-462a91451f5f.wav",
          "objectSha256": "e7049959bc8d3af069b4e8073ed9e3a30b12215141953d1b428ed17a8ee5da99",
          "objectByteLength": 96044,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:04:10.701Z"
        }
      },
      {
        "id": "ee045e92-ed44-490e-8d04-26a675785c4e",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 26,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:11.441Z",
        "recordedAt": "2026-10-07T14:04:11.446Z",
        "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "039dad2d-f7e8-499e-aed1-3c764039cec1",
              "key": "recordings/4921e359-0ec1-45c0-b09d-656109079760/audio/caller/039dad2d-f7e8-499e-aed1-3c764039cec1.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "71aa70b3dd827377727691995c051a3ca719c2e1435ec6c2cbe96883dd0ecb3c"
            },
            "format": "pcm_s16le",
            "sha256": "48681af318f3a06384a719e7d050be08709f023a6ca76b16f537cafb3a204e81",
            "channels": 1,
            "byteLength": 96000,
            "durationMs": 2000,
            "sampleRate": 24000
          },
          "speaker": "caller",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "startedAt": "2026-10-07T14:04:09.420Z",
          "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
          "participantId": "callee"
        },
        "audioId": "039dad2d-f7e8-499e-aed1-3c764039cec1",
        "audio": {
          "id": "039dad2d-f7e8-499e-aed1-3c764039cec1",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "48681af318f3a06384a719e7d050be08709f023a6ca76b16f537cafb3a204e81",
          "byteLength": 96000,
          "durationMs": 2000,
          "bucket": "livekit-node-stage",
          "key": "recordings/4921e359-0ec1-45c0-b09d-656109079760/audio/caller/039dad2d-f7e8-499e-aed1-3c764039cec1.wav",
          "objectSha256": "71aa70b3dd827377727691995c051a3ca719c2e1435ec6c2cbe96883dd0ecb3c",
          "objectByteLength": 96044,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:04:11.420Z"
        }
      },
      {
        "id": "39d58f50-e16b-4535-bece-27ac71834a88",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 27,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:12.716Z",
        "recordedAt": "2026-10-07T14:04:12.723Z",
        "operationId": "cd5b8e05-fc1d-42c6-b8e3-4296ede48881",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "ea6e1e76-9098-4078-8297-e0f9254908b4",
              "key": "recordings/4921e359-0ec1-45c0-b09d-656109079760/audio/agent/ea6e1e76-9098-4078-8297-e0f9254908b4.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "30493781268c2547da27371b121c1fe7b81521004510ab5fb9e373e25f60dbd3"
            },
            "format": "pcm_s16le",
            "sha256": "9e8c63dbf54723a5b5c37ef547e0c4e466a109360428f26b3273555a86aea69b",
            "channels": 1,
            "byteLength": 96000,
            "durationMs": 2000,
            "sampleRate": 24000
          },
          "speaker": "agent",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "startedAt": "2026-10-07T14:04:10.664Z",
          "operationId": "cd5b8e05-fc1d-42c6-b8e3-4296ede48881",
          "participantId": "agent"
        },
        "audioId": "ea6e1e76-9098-4078-8297-e0f9254908b4",
        "audio": {
          "id": "ea6e1e76-9098-4078-8297-e0f9254908b4",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "9e8c63dbf54723a5b5c37ef547e0c4e466a109360428f26b3273555a86aea69b",
          "byteLength": 96000,
          "durationMs": 2000,
          "bucket": "livekit-node-stage",
          "key": "recordings/4921e359-0ec1-45c0-b09d-656109079760/audio/agent/ea6e1e76-9098-4078-8297-e0f9254908b4.wav",
          "objectSha256": "30493781268c2547da27371b121c1fe7b81521004510ab5fb9e373e25f60dbd3",
          "objectByteLength": 96044,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:04:12.702Z"
        }
      },
      {
        "id": "ba813440-3c5e-4ade-8cf9-099f2129203d",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 28,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:13.435Z",
        "recordedAt": "2026-10-07T14:04:13.442Z",
        "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "24c66333-f130-4647-a135-8237aa8c0162",
              "key": "recordings/4921e359-0ec1-45c0-b09d-656109079760/audio/caller/24c66333-f130-4647-a135-8237aa8c0162.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "770700e36d1d02c992a814aa162567235ba2e7130eff08dc2b1caabed879c25e"
            },
            "format": "pcm_s16le",
            "sha256": "f058e6fa8a4622fdd672a7d6a615e56390e34c1f03a60fb5edf16604189c97ca",
            "channels": 1,
            "byteLength": 96000,
            "durationMs": 2000,
            "sampleRate": 24000
          },
          "speaker": "caller",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "startedAt": "2026-10-07T14:04:11.420Z",
          "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
          "participantId": "callee"
        },
        "audioId": "24c66333-f130-4647-a135-8237aa8c0162",
        "audio": {
          "id": "24c66333-f130-4647-a135-8237aa8c0162",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "f058e6fa8a4622fdd672a7d6a615e56390e34c1f03a60fb5edf16604189c97ca",
          "byteLength": 96000,
          "durationMs": 2000,
          "bucket": "livekit-node-stage",
          "key": "recordings/4921e359-0ec1-45c0-b09d-656109079760/audio/caller/24c66333-f130-4647-a135-8237aa8c0162.wav",
          "objectSha256": "770700e36d1d02c992a814aa162567235ba2e7130eff08dc2b1caabed879c25e",
          "objectByteLength": 96044,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:04:13.420Z"
        }
      },
      {
        "id": "b254c622-6c04-4c3c-ba14-1f0967922bfe",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 29,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:14.721Z",
        "recordedAt": "2026-10-07T14:04:14.728Z",
        "operationId": "cd5b8e05-fc1d-42c6-b8e3-4296ede48881",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "0b95af12-3361-47a2-801a-bf0c5db8e10a",
              "key": "recordings/4921e359-0ec1-45c0-b09d-656109079760/audio/agent/0b95af12-3361-47a2-801a-bf0c5db8e10a.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "15925d8692e6bdc59e02599273f7484c5dd1381ae253bdc68b5348b38aa2a242"
            },
            "format": "pcm_s16le",
            "sha256": "bd7eb364be99dc656bec4d80c7d25ddf7ae684c953af6265e605964be5d4de26",
            "channels": 1,
            "byteLength": 96000,
            "durationMs": 2000,
            "sampleRate": 24000
          },
          "speaker": "agent",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "startedAt": "2026-10-07T14:04:12.664Z",
          "operationId": "cd5b8e05-fc1d-42c6-b8e3-4296ede48881",
          "participantId": "agent"
        },
        "audioId": "0b95af12-3361-47a2-801a-bf0c5db8e10a",
        "audio": {
          "id": "0b95af12-3361-47a2-801a-bf0c5db8e10a",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "bd7eb364be99dc656bec4d80c7d25ddf7ae684c953af6265e605964be5d4de26",
          "byteLength": 96000,
          "durationMs": 2000,
          "bucket": "livekit-node-stage",
          "key": "recordings/4921e359-0ec1-45c0-b09d-656109079760/audio/agent/0b95af12-3361-47a2-801a-bf0c5db8e10a.wav",
          "objectSha256": "15925d8692e6bdc59e02599273f7484c5dd1381ae253bdc68b5348b38aa2a242",
          "objectByteLength": 96044,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:04:14.702Z"
        }
      },
      {
        "id": "766673a3-ba5c-4029-93fd-aef34ad41641",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 30,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:15.433Z",
        "recordedAt": "2026-10-07T14:04:15.440Z",
        "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "f872228a-fdd6-46bb-8606-1272bbdc7901",
              "key": "recordings/4921e359-0ec1-45c0-b09d-656109079760/audio/caller/f872228a-fdd6-46bb-8606-1272bbdc7901.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "eac331d0dd1bec76e39e349179641c9c4003cd23d628c815e9d87931dda53702"
            },
            "format": "pcm_s16le",
            "sha256": "006a4d38268f12dac12efce6edb3f766527c15baf1dab42111f3408023c599b9",
            "channels": 1,
            "byteLength": 96000,
            "durationMs": 2000,
            "sampleRate": 24000
          },
          "speaker": "caller",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "startedAt": "2026-10-07T14:04:13.420Z",
          "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
          "participantId": "callee"
        },
        "audioId": "f872228a-fdd6-46bb-8606-1272bbdc7901",
        "audio": {
          "id": "f872228a-fdd6-46bb-8606-1272bbdc7901",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "006a4d38268f12dac12efce6edb3f766527c15baf1dab42111f3408023c599b9",
          "byteLength": 96000,
          "durationMs": 2000,
          "bucket": "livekit-node-stage",
          "key": "recordings/4921e359-0ec1-45c0-b09d-656109079760/audio/caller/f872228a-fdd6-46bb-8606-1272bbdc7901.wav",
          "objectSha256": "eac331d0dd1bec76e39e349179641c9c4003cd23d628c815e9d87931dda53702",
          "objectByteLength": 96044,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:04:15.419Z"
        }
      },
      {
        "id": "02119339-d330-40ee-9ef0-7f2550270cf4",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 31,
        "layer": "L1",
        "type": "audio.playback.finished",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:15.845Z",
        "recordedAt": "2026-10-07T14:04:15.850Z",
        "operationId": "cd5b8e05-fc1d-42c6-b8e3-4296ede48881",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.playback.finished",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "operationId": "cd5b8e05-fc1d-42c6-b8e3-4296ede48881",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "d4bd0456-1b8b-4ced-912f-793c06e9c73a",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 32,
        "layer": "DIALOG",
        "type": "dialog.turn.completed",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:15.856Z",
        "recordedAt": "2026-10-07T14:04:15.867Z",
        "operationId": null,
        "turnId": "f242b4d3-eedb-4d53-b429-24807f813dc8",
        "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.completed",
          "callId": "4921e359-0ec1-45c0-b09d-656109079760",
          "turnId": "f242b4d3-eedb-4d53-b429-24807f813dc8",
          "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "204bb3fe-45ee-4b1a-b850-74d59096d1c9",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 33,
        "layer": "DIALOG",
        "type": "dialog.awaiting_answer",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:15.872Z",
        "recordedAt": "2026-10-07T14:04:15.880Z",
        "operationId": null,
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "dialog.awaiting_answer",
          "callId": "4921e359-0ec1-45c0-b09d-656109079760",
          "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "3989415a-07c9-46ad-a69c-be0d84eac02b",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 34,
        "layer": "DIALOG",
        "type": "dialog.goal.started",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:15.883Z",
        "recordedAt": "2026-10-07T14:04:15.888Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "name": "Credit card balance",
          "type": "dialog.goal.started",
          "callId": "4921e359-0ec1-45c0-b09d-656109079760",
          "goalId": "aki.balance",
          "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
          "goalIndex": 0
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "388df963-4591-4689-b36d-1cd657876248",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 35,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:15.886Z",
        "recordedAt": "2026-10-07T14:04:15.896Z",
        "operationId": "cd5b8e05-fc1d-42c6-b8e3-4296ede48881",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "19b7d1fc-33a8-45f5-849b-060c95cf31b4",
              "key": "recordings/4921e359-0ec1-45c0-b09d-656109079760/audio/agent/19b7d1fc-33a8-45f5-849b-060c95cf31b4.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "606f18e9906cc4449d03d5d5c92a2e098e78f25453e7849a765143273cc84bde"
            },
            "format": "pcm_s16le",
            "sha256": "49439c9e9fa4ed085f6377098d7ff7200945833a11d66a6e9732e3fd04cda8af",
            "channels": 1,
            "byteLength": 56640,
            "durationMs": 1180,
            "sampleRate": 24000
          },
          "speaker": "agent",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "startedAt": "2026-10-07T14:04:14.664Z",
          "operationId": "cd5b8e05-fc1d-42c6-b8e3-4296ede48881",
          "participantId": "agent"
        },
        "audioId": "19b7d1fc-33a8-45f5-849b-060c95cf31b4",
        "audio": {
          "id": "19b7d1fc-33a8-45f5-849b-060c95cf31b4",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "49439c9e9fa4ed085f6377098d7ff7200945833a11d66a6e9732e3fd04cda8af",
          "byteLength": 56640,
          "durationMs": 1180,
          "bucket": "livekit-node-stage",
          "key": "recordings/4921e359-0ec1-45c0-b09d-656109079760/audio/agent/19b7d1fc-33a8-45f5-849b-060c95cf31b4.wav",
          "objectSha256": "606f18e9906cc4449d03d5d5c92a2e098e78f25453e7849a765143273cc84bde",
          "objectByteLength": 56684,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:04:15.856Z"
        }
      },
      {
        "id": "239dbf37-3f87-43f1-9c83-d776e988874c",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 36,
        "layer": "DIALOG",
        "type": "dialog.agent.state",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:15.890Z",
        "recordedAt": "2026-10-07T14:04:15.904Z",
        "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": false
          },
          "callId": "4921e359-0ec1-45c0-b09d-656109079760",
          "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
          "implementation": "aki@1"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "3d949bef-856e-4f0a-888d-73a9f59ea98d",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 37,
        "layer": "DIALOG",
        "type": "dialog.response.preparing",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:15.913Z",
        "recordedAt": "2026-10-07T14:04:15.918Z",
        "operationId": null,
        "turnId": "aa463b72-c389-482a-a54e-10274851a63c",
        "participantId": null,
        "payload": {
          "text": "Dobro.",
          "type": "dialog.response.preparing",
          "callId": "4921e359-0ec1-45c0-b09d-656109079760",
          "turnId": "aa463b72-c389-482a-a54e-10274851a63c",
          "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
          "segmentIds": [
            "d0d1a515-a4ff-4e93-bab6-88e2e2b1cc93"
          ]
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "43f348a9-908b-40ae-afab-fdab6acb3fa9",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 38,
        "layer": "L1",
        "type": "regression.started",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:15.925Z",
        "recordedAt": "2026-10-07T14:04:15.930Z",
        "operationId": "1791620a-4185-4c61-ba85-b362f6e5ea20",
        "turnId": "aa463b72-c389-482a-a54e-10274851a63c",
        "participantId": "agent",
        "payload": {
          "type": "regression.started",
          "goalId": "aki.balance",
          "turnId": "aa463b72-c389-482a-a54e-10274851a63c",
          "purpose": "goal_regression",
          "provider": "openai",
          "goalIndex": 0,
          "iteration": 1,
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "operationId": "1791620a-4185-4c61-ba85-b362f6e5ea20",
          "retryAllowed": true,
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "40c941ab-6392-46fa-8c53-a86c3cb70b2a",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 39,
        "layer": "DIALOG",
        "type": "dialog.turn.started",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:16.813Z",
        "recordedAt": "2026-10-07T14:04:16.818Z",
        "operationId": null,
        "turnId": "8e641635-83cb-4c2b-a26a-98fb334f0b19",
        "participantId": "agent",
        "payload": {
          "kind": "filler",
          "text": "Samo trenutak.",
          "type": "dialog.turn.started",
          "callId": "4921e359-0ec1-45c0-b09d-656109079760",
          "turnId": "8e641635-83cb-4c2b-a26a-98fb334f0b19",
          "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "1343ea4b-6a06-40ba-bb57-ee11a1f00e69",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 40,
        "layer": "L1",
        "type": "audio.playback.started",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:16.822Z",
        "recordedAt": "2026-10-07T14:04:16.825Z",
        "operationId": "139b945f-c020-49d4-8d86-05044ca457ea",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.playback.started",
          "audio": {
            "text": "Samo trenutak.",
            "format": "pcm_s16le",
            "sha256": "f0b3482c348b12998a5d4aad7df53bdb540d73db126e1066e63724be98e4139a",
            "channels": 1,
            "byteLength": 60480,
            "durationMs": 1260,
            "sampleRate": 24000
          },
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "operationId": "139b945f-c020-49d4-8d86-05044ca457ea",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "b8aea623-b79c-4eeb-b6b1-11dc0f54112f",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 41,
        "layer": "L1",
        "type": "audio.playback.first_frame",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:16.828Z",
        "recordedAt": "2026-10-07T14:04:16.835Z",
        "operationId": "139b945f-c020-49d4-8d86-05044ca457ea",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.playback.first_frame",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "operationId": "139b945f-c020-49d4-8d86-05044ca457ea",
          "firstFrameAt": "2026-10-07T14:04:16.827Z",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "a6909edb-b387-4ebf-bbea-81ef0578b868",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 42,
        "layer": "L1",
        "type": "regression.finished",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:17.145Z",
        "recordedAt": "2026-10-07T14:04:17.150Z",
        "operationId": "1791620a-4185-4c61-ba85-b362f6e5ea20",
        "turnId": "aa463b72-c389-482a-a54e-10274851a63c",
        "participantId": "agent",
        "payload": {
          "type": "regression.finished",
          "goalId": "aki.balance",
          "reason": "unknown",
          "turnId": "aa463b72-c389-482a-a54e-10274851a63c",
          "values": [],
          "purpose": "goal_regression",
          "nextTurn": null,
          "provider": "openai",
          "completed": false,
          "elapsedMs": 1219.5214530000012,
          "goalIndex": 0,
          "iteration": 1,
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "operationId": "1791620a-4185-4c61-ba85-b362f6e5ea20",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "04258e76-1071-4d7a-8784-457bd6e0ca8f",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 43,
        "layer": "L1",
        "type": "ttv.started",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:17.153Z",
        "recordedAt": "2026-10-07T14:04:17.158Z",
        "operationId": "d7a6059b-c90e-4680-8b25-9934c6bf5fc4",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "mode": "live",
          "text": "Kako mogu da Vam pomognem?",
          "type": "ttv.started",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "operationId": "d7a6059b-c90e-4680-8b25-9934c6bf5fc4",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "b4de9c8b-b46a-45e8-a99b-40a8bffb4427",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 44,
        "layer": "L1",
        "type": "audio.playback.failed",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:17.267Z",
        "recordedAt": "2026-10-07T14:04:17.279Z",
        "operationId": "139b945f-c020-49d4-8d86-05044ca457ea",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.playback.failed",
          "message": "Caller audio track ended.",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "operationId": "139b945f-c020-49d4-8d86-05044ca457ea",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "8b0a5690-8cf0-483d-817c-26c386441554",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 45,
        "layer": "L1",
        "type": "ttv.cancelled",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:17.270Z",
        "recordedAt": "2026-10-07T14:04:17.288Z",
        "operationId": "d7a6059b-c90e-4680-8b25-9934c6bf5fc4",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "ttv.cancelled",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "operationId": "d7a6059b-c90e-4680-8b25-9934c6bf5fc4",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "4f6d81a9-4ba9-4766-9768-077a2e9a1402",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 46,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:17.295Z",
        "recordedAt": "2026-10-07T14:04:17.299Z",
        "operationId": "139b945f-c020-49d4-8d86-05044ca457ea",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "994aa4b4-c38f-49ce-a8ee-8dd1c4cb19f1",
              "key": "recordings/4921e359-0ec1-45c0-b09d-656109079760/audio/agent/994aa4b4-c38f-49ce-a8ee-8dd1c4cb19f1.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "7ad389437623b87e637f0c39661eba00a37f4df84500cde8ed735cd9c42a31ee"
            },
            "format": "pcm_s16le",
            "sha256": "0f3a54806ee172919b8cc4a2f947a5224828e786b9b239a7767533462b18d8f3",
            "channels": 1,
            "byteLength": 21172,
            "durationMs": 441.0833333333333,
            "sampleRate": 24000
          },
          "speaker": "agent",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "startedAt": "2026-10-07T14:04:16.827Z",
          "operationId": "139b945f-c020-49d4-8d86-05044ca457ea",
          "participantId": "agent"
        },
        "audioId": "994aa4b4-c38f-49ce-a8ee-8dd1c4cb19f1",
        "audio": {
          "id": "994aa4b4-c38f-49ce-a8ee-8dd1c4cb19f1",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "0f3a54806ee172919b8cc4a2f947a5224828e786b9b239a7767533462b18d8f3",
          "byteLength": 21172,
          "durationMs": 441.0833333333333,
          "bucket": "livekit-node-stage",
          "key": "recordings/4921e359-0ec1-45c0-b09d-656109079760/audio/agent/994aa4b4-c38f-49ce-a8ee-8dd1c4cb19f1.wav",
          "objectSha256": "7ad389437623b87e637f0c39661eba00a37f4df84500cde8ed735cd9c42a31ee",
          "objectByteLength": 21216,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:04:17.281Z"
        }
      },
      {
        "id": "02c23bfd-c5c3-4b9a-b0ed-f92c7891e186",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 47,
        "layer": "L1",
        "type": "vtt.transcript.delta",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:17.387Z",
        "recordedAt": "2026-10-07T14:04:17.391Z",
        "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
        "turnId": "1d991e93-2bd1-4138-a80b-5b6bd996eda5",
        "participantId": "callee",
        "payload": {
          "text": " ",
          "type": "vtt.transcript.delta",
          "turnId": "1d991e93-2bd1-4138-a80b-5b6bd996eda5",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "501a5cea-c9cb-4058-a8d3-267ff7fc716c",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 48,
        "layer": "L1",
        "type": "vtt.finished",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:17.394Z",
        "recordedAt": "2026-10-07T14:04:17.397Z",
        "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "vtt.finished",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "f8e71837-cb07-49a8-b98f-14b8f8f899bb",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 49,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:17.415Z",
        "recordedAt": "2026-10-07T14:04:17.419Z",
        "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "60f6220a-bf22-4f2f-b118-97420d33f9ed",
              "key": "recordings/4921e359-0ec1-45c0-b09d-656109079760/audio/caller/60f6220a-bf22-4f2f-b118-97420d33f9ed.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "d76d3e3e587d4cf057fb1a02469ecb400310e2a751f4ca6a88ba76b07a10200d"
            },
            "format": "pcm_s16le",
            "sha256": "15b6ecc7c8f0aaf1b8c528f97110c09070c0d374b2297b462a215e9f391f5775",
            "channels": 1,
            "byteLength": 88320,
            "durationMs": 1840,
            "sampleRate": 24000
          },
          "speaker": "caller",
          "sessionId": "4f164013-20f8-42df-b36e-dad211334e64",
          "startedAt": "2026-10-07T14:04:15.422Z",
          "operationId": "ed6f4611-246d-4e82-9383-74b68dbc9eeb",
          "participantId": "callee"
        },
        "audioId": "60f6220a-bf22-4f2f-b118-97420d33f9ed",
        "audio": {
          "id": "60f6220a-bf22-4f2f-b118-97420d33f9ed",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "15b6ecc7c8f0aaf1b8c528f97110c09070c0d374b2297b462a215e9f391f5775",
          "byteLength": 88320,
          "durationMs": 1840,
          "bucket": "livekit-node-stage",
          "key": "recordings/4921e359-0ec1-45c0-b09d-656109079760/audio/caller/60f6220a-bf22-4f2f-b118-97420d33f9ed.wav",
          "objectSha256": "d76d3e3e587d4cf057fb1a02469ecb400310e2a751f4ca6a88ba76b07a10200d",
          "objectByteLength": 88364,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-07T14:04:17.400Z"
        }
      },
      {
        "id": "6cf3d957-e79e-4203-9dfd-175e39615b7d",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 50,
        "layer": "CALL",
        "type": "call.participant_left",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:17.429Z",
        "recordedAt": "2026-10-07T14:04:17.434Z",
        "operationId": null,
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "call.participant_left",
          "callId": "4921e359-0ec1-45c0-b09d-656109079760",
          "reason": "Agent execution failed",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "5a0cbd19-5907-48b7-bba1-0ad2065f0bb5",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 51,
        "layer": "CALL",
        "type": "call.failed",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:17.429Z",
        "recordedAt": "2026-10-07T14:04:17.436Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.failed",
          "callId": "4921e359-0ec1-45c0-b09d-656109079760",
          "message": "Agent execution failed"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "30c88d6b-d939-4ccf-a6cb-931c8b201ea6",
        "dialogId": "4f164013-20f8-42df-b36e-dad211334e64",
        "sequence": 52,
        "layer": "DIALOG",
        "type": "dialog.ended",
        "version": 1,
        "occurredAt": "2026-10-07T14:04:17.429Z",
        "recordedAt": "2026-10-07T14:04:17.438Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.ended",
          "callId": "4921e359-0ec1-45c0-b09d-656109079760",
          "reason": "Agent execution failed",
          "dialogId": "4f164013-20f8-42df-b36e-dad211334e64"
        },
        "audioId": null,
        "audio": null
      }
    ]
  }
}