Repository navigation
VAP15-76 docs: define each per-turn latency field and link it from sims, Traffic and logs - #1381
scott-lowe-vapi wants to merge 1 commit into
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
🌿 Preview your docs: https://vapi-preview-01a18faf-f77a-732b-99cf-2fcd054ac1f5.docs.buildwithfern.com |
d0f156b to
e575ca7
Compare
|
🌿 Preview your docs: https://vapi-preview-01a18fb5-830f-713f-9a8a-f33ac0d958a2.docs.buildwithfern.com |
e575ca7 to
267f5e3
Compare
|
🌿 Preview your docs: https://vapi-preview-01a18fd2-acf1-7299-8906-651bf86f3ce8.docs.buildwithfern.com |
267f5e3 to
eacdb83
Compare
|
🌿 Preview your docs: https://vapi-preview-01a18fda-7eba-772b-9b72-dddf0a53a2ea.docs.buildwithfern.com |
stephenvapiai
left a comment
There was a problem hiding this comment.
Edit pass on the changed passages. Small wording and style suggestions only; technical content not reviewed.
understanding-latency.mdx line 4 is outside the diff, so a note here: the page now covers the per-turn fields too, so the description (which feeds llms.txt) should mention them. Suggested:
description: Understand voice-to-voice latency, the per-turn latency fields each call records, Vapi performance metrics, and how model capability, endpointing, and transport affect it.
…ms, Traffic and logs Add a "Per-turn latency on a call" section to Understanding latency that says where each turnLatencies field starts and ends, and fix the stage order (transcription runs before endpointing). Link it from the simulation latency limits, Traffic tab, performance metrics, call logs and glossary pages, and note why the stages don't add up to the turn total. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
eacdb83 to
f95a238
Compare
|
Front-matter description updated in f95a238. I kept 'affect response time' at the end instead of 'affect it', which read oddly after a list: 'Understand voice-to-voice latency, the per-turn latency fields each call records, Vapi performance metrics, and how model capability, endpointing, and transport affect response time.' |
|
🌿 Preview your docs: https://vapi-preview-01a1af67-9899-75f7-b73b-96fd21e640be.docs.buildwithfern.com |

Linear: VAP15-76 Assess whether turn latency definitions belong in public docs. The matching API reference change is VapiAI/vapi#25247.
Description
transcriberLatency,endpointingLatency,modelLatency,voiceLatencyandturnLatencystart and end, and a short list covers what trips people up: the fields don't add up toturnLatency, voice latency includes thevoice.chunkPlanwait, everything is measured on Vapi's servers, turns the assistant didn't answer have no entry, and the first message is recorded only when the assistant waits for the caller,0can mean "not measured" (for example, a static tool message), and per-call averages include those zeros while simulation limits skip them.turnLatency. It's a sum of component medians across calls, and it leaves out endpointing.modelandvoicesit insideturnand that the synthetic tester can read faster than real callers. The Traffic tab says why its stages don't add up to the total. Performance metrics, call logs and the glossary link to it too.Lasensorin VapiAI/vapi (libs/core/src/util/lasensorUtil/Lasensor.ts) and the simulation evaluator (libs/core/src/functions/simulationFunctions/latencyExpectationsEvaluate.ts).Testing Steps
git diff --checkpasses.#per-turn-latency-on-a-callanchor.🤖 Generated with Claude Code