curl --request POST \
--url https://api.comm.com/api/v1/webhooks/calls/metrics/pipecat \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"call_id": "<string>",
"trace_id": "<string>",
"session_id": "<string>",
"stt_ttfb": "<string>",
"stt_total_time": "<string>",
"llm_ttft": "<string>",
"llm_total_time": "<string>",
"tts_ttfb": "<string>",
"tts_total_time": "<string>",
"voice_to_voice_latency": "<string>",
"stt_provider": "<string>",
"llm_provider": "<string>",
"llm_model": "<string>",
"tts_provider": "<string>",
"input_tokens": 0,
"output_tokens": 0,
"audio_tokens": 0,
"cached_tokens": 0,
"reasoning_tokens": 0,
"tts_characters": 0,
"stt_audio_seconds": 0,
"estimated_llm_cost": 0,
"estimated_stt_cost": 0,
"estimated_tts_cost": 0,
"interruption_count": 0,
"turn_switches": 0,
"stt_errors": 0,
"llm_errors": 0,
"tts_errors": 0,
"errors": "<string>",
"fallback_events": "<string>",
"fallback_count": 0
}
'