yes
12/19/2025, 8:04 AMyes
12/19/2025, 8:23 AM{
"statusCode": 500,
"message": "Internal server error. Contact support@vapi.ai for help."
}yes
12/19/2025, 8:36 AM"type": "ai" with the request for it to properly go through. Strangely this is not mentioned anywhere in the docs.
Here is a working example for anyone else that runs into this:
curl -X POST https://api.vapi.ai/structured-output \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"name": "test_object",
"type": "ai",
"schema": {
"type": "object",
"properties": {
"summary": {
"type": "string",
"description": "Summary of the call"
},
"success": {
"type": "boolean",
"description": "Was the call successful?"
}
},
"required": ["summary", "success"]
}
}'Chiranjeet Mishra
12/23/2025, 7:04 AM