Export CDRs as CSV
cdr_export_csvExport up to 10,000 call detail records for a date range as CSV text. Use for explicit CSV export; for browsing or analysis, use the paginated detail tool.
Instructions
Export up to 10,000 call detail records for a date range as CSV text. Use only when the user explicitly wants a CSV export; for browsing or analysis prefer cdr_get_details (paginated). Output over 40k characters is truncated — narrow the date range or filters if that happens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ani | No | Filter by ANI (calling number) | |
| dni | No | Filter by DNI (called number) | |
| end_date | No | End date (YYYY-MM-DD, inclusive) | |
| direction | No | Filter by call direction | |
| start_date | No | Start date (YYYY-MM-DD) | |
| disposition | No | Filter by call disposition (e.g. ANSWERED, NO ANSWER, BUSY, FAILED) | |
| tz_offset_minutes | No | Operator timezone offset in minutes, as returned by JS getTimezoneOffset() (e.g. 420 for US Mountain in summer) |