Vapi · Schema

LatencyMetrics

AIVoiceAgentsRealtimeCPaaS

Properties

Name Type Description
turnCount number This is the number of conversation turns.
avgTurn number This is the average total turn latency in milliseconds.
avgTranscriber number This is the average transcriber latency in milliseconds.
avgModel number This is the average LLM/model latency in milliseconds.
avgVoice number This is the average voice/TTS latency in milliseconds.
avgEndpointing number This is the average endpointing latency in milliseconds.
View JSON Schema on GitHub

JSON Schema

vapi-latencymetrics-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LatencyMetrics",
  "title": "LatencyMetrics",
  "type": "object",
  "properties": {
    "turnCount": {
      "type": "number",
      "description": "This is the number of conversation turns."
    },
    "avgTurn": {
      "type": "number",
      "description": "This is the average total turn latency in milliseconds."
    },
    "avgTranscriber": {
      "type": "number",
      "description": "This is the average transcriber latency in milliseconds."
    },
    "avgModel": {
      "type": "number",
      "description": "This is the average LLM/model latency in milliseconds."
    },
    "avgVoice": {
      "type": "number",
      "description": "This is the average voice/TTS latency in milliseconds."
    },
    "avgEndpointing": {
      "type": "number",
      "description": "This is the average endpointing latency in milliseconds."
    }
  },
  "required": [
    "turnCount"
  ]
}