Vapi · Schema

AIEdgeCondition

AIVoiceAgentsRealtimeCPaaS

Properties

Name Type Description
type string
prompt string This is the prompt for the AI edge condition. It should evaluate to a boolean.
View JSON Schema on GitHub

JSON Schema

vapi-aiedgecondition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AIEdgeCondition",
  "title": "AIEdgeCondition",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "ai"
      ]
    },
    "prompt": {
      "type": "string",
      "description": "This is the prompt for the AI edge condition. It should evaluate to a boolean.",
      "maxLength": 1000
    }
  },
  "required": [
    "type",
    "prompt"
  ]
}