yookywooky
11/26/2025, 6:40 PMVapi Support Bot
11/26/2025, 6:41 PMjson
{
"type": "object",
"properties": {
"customer": {
"type": "object",
"properties": {
"name": { "type": "string" },
"email": { "type": "string", "format": "email" }
},
"required": ["name"]
},
"issue": {
"type": "object",
"properties": {
"description": { "type": "string" },
"priority": { "type": "string", "enum": ["low", "medium", "high"] }
}
}
},
"required": ["customer", "issue"]
}
Just define your nested structure in the properties field as shown above.
For more details, see the [Vapi structured outputs documentation](https://docs.vapi.ai/assistants/structured-outputs).
Source:
- [Structured outputs documentation](https://docs.vapi.ai/assistants/structured-outputs)yookywooky
11/26/2025, 7:12 PMyookywooky
11/26/2025, 7:55 PMVapi Support Bot
11/26/2025, 7:56 PM{{transcript}} in your prompt. For example, to extract a summary:
json
{
"type": "object",
"properties": {
"callSummary": { "type": "string", "description": "Summary of the call" }
},
"required": ["callSummary"]
}
In your prompt, instruct the model to summarize the conversation using {{transcript}}.
See more: [Structured outputs documentation](https://docs.vapi.ai/assistants/structured-outputs)
Source:
- [Structured outputs documentation](https://docs.vapi.ai/assistants/structured-outputs)yookywooky
11/26/2025, 7:58 PMStructured Output prompt? @Vapi Support BotVapi Support Bot
11/26/2025, 7:59 PM{{analysis.structuredData}} as an available variable for Structured Output prompts—only variables like {{transcript}} and {{messages}} are mentioned.
Could you clarify if you are trying to reference data already extracted by the assistant’s analysis, or are you looking to extract similar data within your own Structured Output schema? This will help me provide the most accurate guidance for your use case.
Source:
- [Structured outputs documentation](https://docs.vapi.ai/assistants/structured-outputs)yookywooky
11/26/2025, 8:01 PMVapi Support Bot
11/26/2025, 8:02 PM{{analysis.structuredData}}) in your Structured Output prompt.
Only these variables are available for Structured Output prompts:
- {{transcript}}
- {{messages}}
- {{callEndedReason}}
- {{structuredOutput.name}}
- {{structuredOutput.description}}
- {{structuredOutput.schema}}
To extract similar information, define your own schema and use {{transcript}} in your prompt to instruct the model accordingly.
See: [Structured outputs documentation](https://docs.vapi.ai/assistants/structured-outputs)
Source:
- [Structured outputs documentation](https://docs.vapi.ai/assistants/structured-outputs)yookywooky
11/26/2025, 8:12 PMVapi Support Bot
11/26/2025, 8:13 PM{{transcript}}
- {{messages}}
- {{callEndedReason}}
- {{structuredOutput.name}}
- {{structuredOutput.description}}
- {{structuredOutput.schema}}
Each Structured Output operates independently and cannot access results from other extractions.
See the [Structured outputs documentation](https://docs.vapi.ai/assistants/structured-outputs) for details.
Source:
- [Structured outputs documentation](https://docs.vapi.ai/assistants/structured-outputs)yookywooky
11/26/2025, 8:16 PMstructuredData, but support structuredOutput in the future? @Vapi Support Botyookywooky
11/26/2025, 8:30 PMChiranjeet Mishra
12/09/2025, 10:10 AM