ghostdragon
05/19/2025, 11:12 PMVapi Support Bot
05/19/2025, 11:13 PManalysisPlan
to the default prompts and schema to rule out configuration issues.
For example, set your analysis plan like this:
json
{
"summaryPrompt": "",
"structuredDataPrompt": "",
"successEvaluationPrompt": ""
}
This will use the default analysis logic. If analysis still fails, check the call dashboard for error details or review your API logs for more information.
[See documentation for details](https://docs.vapi.ai/assistants/call-analysis)
Source:
- [Call analysis documentation](https://docs.vapi.ai/assistants/call-analysis)Kings_bigđź’«
05/20/2025, 12:03 PMzurpol
05/21/2025, 3:56 PMVinita
05/21/2025, 4:09 PMzurpol
05/21/2025, 6:23 PMShubham Bajaj
05/21/2025, 6:24 PMmessages
array of summary, successEval and structure data plan until this is fixed.Shubham Bajaj
05/21/2025, 6:24 PMjson
//template
{
"analysisPlan": {
"summaryPlan": {
"enabled": true,
"timeoutSeconds": 5,
"messages": [
{
"role": "system",
// replace with your instructions here if required
"content": "You are an expert note-taker. You will be given a transcript of a call. Summarize the call in 2-3 sentences. DO NOT return anything except the summary."
},
{
"role": "user",
"content": "Here is the transcript:\n\n{{transcript}}\n\n. Here is the ended reason of the call:\n\n{{endedReason}}\n\n"
}
],
"useAssistantLlm": false,
"customLlmUrl": null
},
"structuredDataPlan": {
"enabled": true,
"timeoutSeconds": 5,
"schema": {
// replace with your schema here if required
"type": "object",
"properties": {
"mainTopic": {
"type": "string",
"description": "The main topic discussed in the call"
},
"customerIntent": {
"type": "string",
"description": "The primary goal or intent of the customer during the call"
},
"actionItems": {
"type": "array",
"items": {
"type": "string"
},
"description": "Action items identified during the call"
},
"customerSentiment": {
"type": "string",
"enum": ["positive", "neutral", "negative"],
"description": "The overall sentiment of the customer during the call"
}
},
"required": ["mainTopic", "customerIntent", "actionItems", "customerSentiment"]
},
"messages": [
{
"role": "system",
"content": "You are an expert data extractor. You will be given a transcript of a call. Extract structured data per the JSON Schema. DO NOT return anything except the structured data.\n\nJson Schema:\n{{schema}}\n\nOnly respond with the JSON."
},
{
"role": "user",
"content": "Here is the transcript:\n\n{{transcript}}\n\n. Here is the ended reason of the call:\n\n{{endedReason}}\n\n"
}
],
"useAssistantLlm": false,
"customLlmUrl": null
},
"successEvaluationPlan": {
"enabled": true,
"timeoutSeconds": 5,
"rubric": "PassFail",
"messages": [
{
"role": "system",
"content": "You are an expert call evaluator. You will be given a transcript of a call and the system prompt of the AI participant. Determine if the call was successful based on the objectives inferred from the system prompt. DO NOT return anything except the result.\n\nRubric:\n{{rubric}}\n\nOnly respond with the result."
},
{
"role": "user",
"content": "Here is the transcript:\n\n{{transcript}}\n\n"
},
{
"role": "user",
// replace with your instructions here if required
"content": "Here was the system prompt of the call:\n\n{{systemPrompt}}\n\n. Here is the ended reason of the call:\n\n{{endedReason}}\n\n"
}
],
"useAssistantLlm": false,
"customLlmUrl": null
}
}
}
Shubham Bajaj
05/21/2025, 6:26 PMghostdragon
05/21/2025, 6:27 PMghostdragon
05/21/2025, 6:27 PMghostdragon
05/21/2025, 6:27 PMOLEYO
05/21/2025, 6:28 PMShubham Bajaj
05/21/2025, 6:28 PMShubham Bajaj
05/21/2025, 6:29 PMghostdragon
05/21/2025, 7:18 PMghostdragon
05/21/2025, 7:18 PMghostdragon
05/21/2025, 7:19 PMShubham Bajaj
05/22/2025, 4:54 AMzurpol
05/22/2025, 9:34 AMPraveen
05/23/2025, 12:28 AMghostdragon
05/26/2025, 9:04 PMPraveen
05/26/2025, 11:14 PMPraveen
05/26/2025, 11:14 PMghostdragon
05/26/2025, 11:27 PMPraveen
05/26/2025, 11:28 PMghostdragon
05/27/2025, 5:16 PMghostdragon
05/27/2025, 5:16 PMVapi Support Bot
05/27/2025, 5:17 PMVapi Support Bot
05/27/2025, 5:17 PMVapi Support Bot
05/27/2025, 5:18 PMVapi Support Bot
05/27/2025, 5:18 PMbash
curl -X GET "https://api.vapi.ai/test-suite/<testSuiteId>/run/<id>" \
-H "Authorization: Bearer <your_token>"
Replace <testSuiteId>
, <id>
, and <your_token>
with your actual values. This will help you see if there are any errors or issues with your test run. If problems persist, consider reaching out to [Vapi support](https://docs.vapi.ai/support) for further help.
Sources:
- [Get Test Suite Run](https://docs.vapi.ai/api-reference/test-suite-runs/test-suite-run-controller-find-one?explorer=true)
- [Vapi Support](https://docs.vapi.ai/support)Vapi Support Bot
05/27/2025, 5:18 PMVapi Support Bot
05/27/2025, 5:18 PManalysisPlan
includes a valid structured data prompt and schema.
If the issue persists, please share your assistant's configuration or contact support for urgent help.
Source:
- [Vapi Call Analysis Documentation](https://docs.vapi.ai/assistants/call-analysis)Vapi Support Bot
05/27/2025, 5:18 PMPraveen
05/28/2025, 3:21 AMghostdragon
05/28/2025, 6:32 PMVapi Support Bot
05/28/2025, 6:35 PMVapi Support Bot
05/28/2025, 6:35 PMghostdragon
05/28/2025, 6:36 PMVapi Support Bot
05/28/2025, 6:38 PMPraveen
05/29/2025, 2:01 AMghostdragon
06/04/2025, 10:40 PMghostdragon
06/04/2025, 10:41 PMghostdragon
06/04/2025, 10:42 PMPraveen
06/05/2025, 9:22 PMghostdragon
06/06/2025, 5:14 PMPraveen
06/06/2025, 6:20 PM