How do get other data in end-of-call-report?
Vapi's end-of-call-report is only sending the basic fields to my webhook.
How do I get costs.ModelCost.promptTokens etc?
Call ID:
1d9aae13-c937-452f-8876-741481619974
{
"message": {
"timestamp": 1757596207237,
"type": "end-of-call-report",
"analysis": {
"summary": "A string containing a human-readable, AI-generated summary of the call's events.",
"successEvaluation": "A string containing a transcript snippet or an evaluation of the interaction."
},
"artifact": {
"messages": [
{
"role": "system",
"message": "A very long string that acts as the AI's configuration prompt. It includes details on:\n- Persona and Qualities (<YOUR_QUALITIES>)\n- Fundamental Stance and Principles\n- Coaching Methodologies (## STAGES OF TRANSFORMATION)\n- Guiding Goals (<YOUR_NORTH_STARS>)\n- Knowledge Base (<TRANSFORMATIVE_PRACTICES>)\n- Conversation Flow (<PHASES_OF_COACHING>)\n- Detailed Client Profile (<CLIENT_PROFILE>)"
}
]
}
}
}{
"message": {
"timestamp": 1757596207237,
"type": "end-of-call-report",
"analysis": {
"summary": "A string containing a human-readable, AI-generated summary of the call's events.",
"successEvaluation": "A string containing a transcript snippet or an evaluation of the interaction."
},
"artifact": {
"messages": [
{
"role": "system",
"message": "A very long string that acts as the AI's configuration prompt. It includes details on:\n- Persona and Qualities (<YOUR_QUALITIES>)\n- Fundamental Stance and Principles\n- Coaching Methodologies (## STAGES OF TRANSFORMATION)\n- Guiding Goals (<YOUR_NORTH_STARS>)\n- Knowledge Base (<TRANSFORMATIVE_PRACTICES>)\n- Conversation Flow (<PHASES_OF_COACHING>)\n- Detailed Client Profile (<CLIENT_PROFILE>)"
}
]
}
}
}How do I get costs.ModelCost.promptTokens etc?
Call ID:
1d9aae13-c937-452f-8876-741481619974