Vapi · Schema

ResponseOutputText

AIVoiceAgentsRealtimeCPaaS

Properties

Name Type Description
annotations array Annotations in the text output
text string The text output from the model
type string The type of the output text
View JSON Schema on GitHub

JSON Schema

vapi-responseoutputtext-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ResponseOutputText",
  "title": "ResponseOutputText",
  "type": "object",
  "properties": {
    "annotations": {
      "default": [],
      "description": "Annotations in the text output",
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "text": {
      "type": "string",
      "description": "The text output from the model"
    },
    "type": {
      "type": "string",
      "default": "output_text",
      "description": "The type of the output text",
      "enum": [
        "output_text"
      ]
    }
  },
  "required": [
    "annotations",
    "text",
    "type"
  ]
}