Get voice campaign report
get_voice_campaign_reportPer-agent results of one voice campaign: contacts handled, calls left without a disposition (timeout) and the average handle time in seconds, plus the campaign-wide average. An AI voice campaign (handler_type voice_ai) also has ai: calls placed and answered, AI minutes, transfers to people, voicemails, opt-outs, hot leads, call backs still due, the contacts per disposition and by_decided_by (who decided each outcome: ai_agent, jev = an AI check during the call, post_call = the summary, human, system). ai.dial_causes counts the calls that reached nobody by cause (voicemail_detected, busy, declined, unavailable, no_answer, number_not_found, no_route, carrier_rejected, timeout, platform_error, unknown) and ai.unreached splits the contacts not reached into failed, no_answer, voicemail, no_conversation (the call broke off during the opening, or its summary was undetermined) and other. ai.undecided counts the calls that ended with no disposition (neither the AI agent nor the summary chose one) by reason: undetermined, missing, unknown (a key the campaign does not have), failed (no summary). A campaign that chains people per group (for example a company whose authorized people are called one after another) also has fallback_groups: groups reached and at which person (reached_by_order), still open, not reached, and with no valid number. interest.counts counts the contacts by interest (interested, undecided, not_interested, not_presented) and interest.interested_groups the groups with someone interested (null without groups). ai.answered_by_person counts the calls a person picked up, while ai.answered also counts voicemail, call screeners and carrier announcements.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"campaign_id": "<campaign_id>"
},
"name": "get_voice_campaign_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Optional: return only these fields of each record. | |
| campaign_id | Yes | Campaign id as returned by list_voice_campaigns. |