Vapi · Schema

TranscriberCost

AIVoiceAgentsRealtimeCPaaS

Properties

Name Type Description
type string This is the type of cost, always 'transcriber' for this class.
transcriber object This is the transcriber that was used during the call. This matches one of the below: - `call.assistant.transcriber`, - `call.assistantId->transcriber`, - `call.squad[n].assistant.transcriber`, - `cal
minutes number This is the minutes of `transcriber` usage. This should match `call.endedAt` - `call.startedAt` for single assistant calls, while squad calls will have multiple transcriber costs one for each assistan
cost number This is the cost of the component in USD.
View JSON Schema on GitHub

JSON Schema

vapi-transcribercost-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TranscriberCost",
  "title": "TranscriberCost",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "This is the type of cost, always 'transcriber' for this class.",
      "enum": [
        "transcriber"
      ]
    },
    "transcriber": {
      "type": "object",
      "description": "This is the transcriber that was used during the call.\n\nThis matches one of the below:\n- `call.assistant.transcriber`,\n- `call.assistantId->transcriber`,\n- `call.squad[n].assistant.transcriber`,\n- `call.squad[n].assistantId->transcriber`,\n- `call.squadId->[n].assistant.transcriber`,\n- `call.squadId->[n].assistantId->transcriber`."
    },
    "minutes": {
      "type": "number",
      "description": "This is the minutes of `transcriber` usage. This should match `call.endedAt` - `call.startedAt` for single assistant calls, while squad calls will have multiple transcriber costs one for each assistant that was used."
    },
    "cost": {
      "type": "number",
      "description": "This is the cost of the component in USD."
    }
  },
  "required": [
    "type",
    "transcriber",
    "minutes",
    "cost"
  ]
}