I need to provide a turn latency report to my clients. I used to be able to obtain that using the loggingControllerCallLogsQuery SDK method (GET /logs API endpoint), but that has been deprecated and never returns any data anymore.
How can I obtain this information now, and satisfy my reporting requirements with my clients?
Thanks!
k
Kings_big💫
06/29/2025, 7:41 AM
Use the updated client.logs.get() API to retrieve request timestamps and durations, or extract them via your vapi dashboard or telemetry tools like Langfuse for detailed metrics like STT/LLM/TTS latency and p50/p95 stats..
p
Praveen Nair
06/30/2025, 6:57 AM
Hey Ricardo, the Logs API is still working. Can you share with me the CURL request, and I'll take a look at why it is not returning any data to you? Also, please include your org_id.
r
Ricardo Basto
06/30/2025, 1:42 PM
Sorry, you are right, the endpoint still works. I was expecting a different format of the "Turn latency:" log lines and that string probably changed at some point and I needed to update my code. I will close this ticket. Thanks!