dialpad_create_stats_export
Start a Dialpad analytics export as raw records or summary stats for calls, texts, voicemails, recordings, on-duty, CSAT, or dispositions, then poll with the returned request_id for the download link.
Instructions
Start a Dialpad analytics export (calls, texts, voicemails, recordings, on-duty, CSAT, dispositions) as raw records or summary stats, then poll dialpad_get_stats_export with the returned request_id for the download link. Starts a report job only; changes no Dialpad data. Dialpad allows about 200 per hour. Contains personal information - admin-gated.
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": {
"export_type": "<export_type>",
"stat_type": "<stat_type>"
},
"name": "dialpad_create_stats_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_by | No | Grouping for stats exports. | |
| is_today | No | Export today only. | |
| timezone | No | Time zone name, e.g. Australia/Sydney (default UTC). | |
| office_id | No | Limit to one office (ignored when a target is set). | |
| stat_type | Yes | What to export. csat and dispositions need target_id and target_type, and records only. | |
| target_id | No | Limit to one target. Needs target_type. | |
| export_type | Yes | records = one row per item; stats = summary. | |
| target_type | No | Type of target_id. | |
| days_ago_end | No | End of the range, in days ago (default 30). | |
| days_ago_start | No | Start of the range, in days ago (default 1). |