Operations📟
12/24/2025, 2:17 PMVapi Support Bot
12/24/2025, 2:18 PMitems property that defines the type of each array element. For example, to create an array of product names, use:
json
{
"type": "array",
"items": { "type": "string" },
"description": "List of product names mentioned"
}
You can apply this schema directly in the dashboard or via the API to avoid the error. For more details, see the [structured outputs documentation](https://docs.vapi.ai/assistants/structured-outputs-examples).
Source:
- [Structured outputs examples](https://docs.vapi.ai/assistants/structured-outputs-examples)Chiranjeet Mishra
12/26/2025, 12:34 PMJimmy
01/08/2026, 5:57 AMChiranjeet Mishra
01/10/2026, 12:51 AM