{
  "session_id": "081ab55c-99f7-4ea4-900e-856bf37b49cf",
  "tenant_id": "default",
  "agent_id": "restaurant-order",
  "turns": [
    {
      "role": "agent",
      "text": "Is this order for collection or for delivery?"
    },
    {
      "role": "caller",
      "text": "I have a nut allergy.\nIs the garlic bread safe, and do you have vegan cheese?"
    },
    {
      "role": "agent",
      "text": "The kitchen handles wheat, dairy and nuts, so we cannot guarantee anything is free of traces. The garlic bread is brushed with dairy butter, but we can use olive oil instead if you like. We do have vegan cheese available for any pizza."
    }
  ],
  "usage_by_turn": [
    {
      "turn": 1,
      "timing": {
        "user_speech_seconds": 0.0,
        "agent_speech_seconds": 2.63,
        "response_latency_ms": null,
        "ttfb_ms": {
          "DeepgramSTTService#2": 0,
          "OpenRouterLLMService#2": 394,
          "DeepgramTTSService#2": 97
        },
        "processing_ms": {
          "DeepgramSTTService#2": 0,
          "OpenRouterLLMService#2": 481,
          "DeepgramTTSService#2": 0
        }
      },
      "usage": {
        "llm": {
          "model": "google/gemini-2.5-flash-lite",
          "prompt_tokens": 1042,
          "completion_tokens": 9,
          "reasoning_tokens": 0,
          "cached_tokens": 0
        },
        "tts": {
          "model": "aura-2-phoebe-en",
          "characters": 45
        },
        "stt": {
          "model": "nova-3-general",
          "seconds": 1.31
        }
      },
      "cost_usd": {
        "llm": 0.000108,
        "tts": 0.00135,
        "stt": 0.000168,
        "telephony": 0.0,
        "total": 0.001626
      },
      "balance_usd": {
        "before": 4.985307,
        "after": 4.983681
      }
    },
    {
      "turn": 2,
      "timing": {
        "user_speech_seconds": 65.23,
        "agent_speech_seconds": 12.95,
        "response_latency_ms": 651,
        "ttfb_ms": {
          "DeepgramSTTService#2": 516,
          "OpenRouterLLMService#2": 488,
          "DeepgramTTSService#2": 117
        },
        "processing_ms": {
          "DeepgramSTTService#2": 2,
          "OpenRouterLLMService#2": 904,
          "DeepgramTTSService#2": 1
        }
      },
      "usage": {
        "llm": {
          "model": "google/gemini-2.5-flash-lite",
          "prompt_tokens": 1071,
          "completion_tokens": 49,
          "reasoning_tokens": 0,
          "cached_tokens": 0
        },
        "tts": {
          "model": "aura-2-phoebe-en",
          "characters": 233
        },
        "stt": {
          "model": "nova-3-general",
          "seconds": 38.82
        }
      },
      "cost_usd": {
        "llm": 0.000127,
        "tts": 0.00699,
        "stt": 0.004982,
        "telephony": 0.0,
        "total": 0.012099
      },
      "balance_usd": {
        "before": 4.983681,
        "after": 4.971583
      }
    }
  ]
}