Vapi · Schema

VoicemailDetectionCost

AIVoiceAgentsRealtimeCPaaS

Properties

Name Type Description
type string This is the type of cost, always 'voicemail-detection' for this class.
model object This is the model that was used to perform the analysis.
provider string This is the provider that was used to detect the voicemail.
promptTextTokens number This is the number of prompt text tokens used in the voicemail detection.
promptAudioTokens number This is the number of prompt audio tokens used in the voicemail detection.
completionTextTokens number This is the number of completion text tokens used in the voicemail detection.
completionAudioTokens number This is the number of completion audio tokens used in the voicemail detection.
cost number This is the cost of the component in USD.
View JSON Schema on GitHub

JSON Schema

vapi-voicemaildetectioncost-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/VoicemailDetectionCost",
  "title": "VoicemailDetectionCost",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "This is the type of cost, always 'voicemail-detection' for this class.",
      "enum": [
        "voicemail-detection"
      ]
    },
    "model": {
      "type": "object",
      "description": "This is the model that was used to perform the analysis."
    },
    "provider": {
      "type": "string",
      "description": "This is the provider that was used to detect the voicemail.",
      "enum": [
        "twilio",
        "google",
        "openai",
        "vapi"
      ]
    },
    "promptTextTokens": {
      "type": "number",
      "description": "This is the number of prompt text tokens used in the voicemail detection."
    },
    "promptAudioTokens": {
      "type": "number",
      "description": "This is the number of prompt audio tokens used in the voicemail detection."
    },
    "completionTextTokens": {
      "type": "number",
      "description": "This is the number of completion text tokens used in the voicemail detection."
    },
    "completionAudioTokens": {
      "type": "number",
      "description": "This is the number of completion audio tokens used in the voicemail detection."
    },
    "cost": {
      "type": "number",
      "description": "This is the cost of the component in USD."
    }
  },
  "required": [
    "type",
    "model",
    "provider",
    "promptTextTokens",
    "promptAudioTokens",
    "completionTextTokens",
    "completionAudioTokens",
    "cost"
  ]
}