See how fast an agent answers
Averages what the agent's recent calls measured, over the last 30 days: how long the caller waited from the end of their words to the first sound of the answer (endToEnd), and the parts of it: listening (noticing the caller stopped, and transcribing), thinking (the language model) and speaking (the voice's first audio). Whole milliseconds. avgMs is null until a call has been measured. When realtime is true most turns were answered by a speech-to-speech model, which folds listening and speaking into the model.
Requires an API key with the workspace:read scope.
apiKeyAuthorizationBearer <token>A secret API key from the dashboard (Developers → API keys): vl_live_…, or vl_test_… for test mode. Each operation says which scope the key needs.
id*stringThe agent id.
The agent's measured average answer times over the last 30 days
application/json- response
windowDays*3030calls*integerCalls in the window that have at least one measured turn
0 <= valueturns*integerAnswered turns measured across those calls
0 <= valueavgMs*|null while there are no measured turns
realtime*booleanMost turns were answered by a speech-to-speech model, which folds listening and speaking into the model
curl "https://api.vlayers.ai/v1/agents/$AGENT_ID/latency" \ -H "Authorization: Bearer $VOICELAYER_API_KEY"{ "windowDays": 30, "calls": 42, "turns": 311, "avgMs": { "endToEnd": 1320, "listening": 410, "thinking": 640, "speaking": 270 }, "realtime": false}